8000 TST: reset rcparams in animation smoke test by tacaswell · Pull Request #6767 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Conversation

tacaswell
Copy link
Member

Closes #6523

attn @cgohlke

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

An explanatory comment would not be unwelcome.

@tacaswell
Copy link
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
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
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
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
0