-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set deterministic to True for vector graphics and warn about change to True in future for PNG #197
Set deterministic to True for vector graphics and warn about change to True in future for PNG #197
Conversation
Most people will want it enabled/disabled for all or none, so the CLI/ini option makes sense. I think also having the kwarg would be useful to some people. You also have #181 which is similar. |
I see the changes in this PR are already in the documentation (https://pytest-mpl.readthedocs.io/en/latest/configuration.html#whether-to-make-metadata-deterministic) so we should merge this before releasing |
@ConorMacBride - I don't have time to work on the CLI and ini options now but if you do, feel free to push to this PR. Otherwise we could just merge without as you said. |
…o True in future for PNG
2e81f56
to
79b8fe5
Compare
1d4e83c
to
efc9f33
Compare
@astrofrog I've added the CLI and INI options here: https://pytest-mpl--197.org.readthedocs.build/en/197/configuration.html#whether-to-make-metadata-deterministic If this looks okay, feel free to merge. I'll then go ahead and release |
Hi @astrofrog, can you please take a quick look through this PR. I'd like to get it merged and publish |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
While working on this I started to wonder if this should be a kwarg at all for mpl_image_compare or just a CLI/ini option. Any opinions?