X Tutup
Skip to content

TST: reset rcparams in animation smoke test#6767

Merged
efiring merged 1 commit intomatplotlib:v2.xfrom
tacaswell:tst_win_reg_fix
Sep 5, 2016
Merged

TST: reset rcparams in animation smoke test#6767
efiring merged 1 commit intomatplotlib:v2.xfrom
tacaswell:tst_win_reg_fix

Conversation

@tacaswell
Copy link
Copy Markdown
Member

Closes #6523

attn @cgohlke

@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Jul 16, 2016
@QuLogic
Copy link
Copy Markdown
Member

QuLogic commented Jul 16, 2016

An explanatory comment would not be unwelcome.

@tacaswell
Copy link
Copy Markdown
Member Author

@QuLogic fixed.

def check_save_animation(writer, extension='mp4'):
try:
# for ImageMagick the rcparams must be patched to account for
# 'concvert' being a built in MS tool, not the imagemagick
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

convert

@QuLogic
Copy link
Copy Markdown
Member

QuLogic commented Jul 17, 2016

I'd also mention that it's because cleanup reset the rcparams; sometimes people read the tests for ideas, and maybe we don't want them assuming this is necessary.

@tacaswell
Copy link
Copy Markdown
Member Author

This maybe revealing a much larger problem that this fix is sweeping under the rug. Some one needs to look into if mpl.style.use is also resetting this. I suspect in the animation module we need to reach in and touch the defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup