Skip to content
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

Plot style should not set interactive #4030

Merged
merged 3 commits into from Aug 4, 2015
Merged

Conversation

mdboom
Copy link
Contributor

@mdboom mdboom commented Aug 3, 2015

A style should not tinker with the interactive mode. Importantly, this means if you use it in a non-interactive context, such as building Sphinx docs or in a web server the plots take on the order of 10-20x longer to render.

This is somewhat a matplotlib bug that this even works in the first place (see matplotlib/matplotlib#4855).

However, in the meantime, I think we should just remove this from astropy_mpl_style.

Not exactly sure how to milestone this -- it probably belongs as a bugfix, but's it could trip someone up who was inadvertently depending on this behavior.

@mdboom
Copy link
Contributor Author

mdboom commented Aug 3, 2015

Cc: @hamogu

@embray
Copy link
Member

embray commented Aug 3, 2015

I think we should put this in v1.0.4. I think the fact that that was there in the first place should be a bug.

@mdboom mdboom modified the milestones: v1.0.4, v1.1.0 Aug 3, 2015
@mdboom
Copy link
Contributor Author

mdboom commented Aug 3, 2015

Ok -- I think I agree. I've moved the CHANGES entry to 1.0.4.

@embray
Copy link
Member

embray commented Aug 3, 2015

Thanks!

embray added a commit that referenced this pull request Aug 4, 2015
Plot style should not set interactive
@embray embray merged commit 4f75c15 into astropy:master Aug 4, 2015
embray added a commit that referenced this pull request Aug 5, 2015
Plot style should not set interactive
embray added a commit that referenced this pull request Aug 7, 2015
Plot style should not set interactive
embray added a commit that referenced this pull request Aug 11, 2015
Plot style should not set interactive
embray added a commit that referenced this pull request Aug 11, 2015
Plot style should not set interactive
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.

None yet

2 participants