Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix savefig.extension == "auto"#1537

Merged
mdboom merged 1 commit intomatplotlib:v1.2.xfrom
mdboom:savefig.extension-fix
Dec 3, 2012
Merged

Fix savefig.extension == "auto"#1537
mdboom merged 1 commit intomatplotlib:v1.2.xfrom
mdboom:savefig.extension-fix

Conversation

@mdboom
Copy link
Copy Markdown
Member

@mdboom mdboom commented Nov 27, 2012

savefig.extension was deprecated and replaced with savefig.format. However, savefig.extension supported "auto" as a value, which the user may still have in their matplotlibrc. When converting it over to savefig.format, the "auto" value should be converted to "png".

@mdboom
Copy link
Copy Markdown
Member Author

mdboom commented Nov 27, 2012

Discovered in #1530, though this doesn't fix the main bug in that report.

@dmcdougall
Copy link
Copy Markdown
Member

@mdboom Cheers!

@dmcdougall
Copy link
Copy Markdown
Member

@mdboom Are you happy for this to be merged or do you want to rebase to trigger a re-build?

@mdboom
Copy link
Copy Markdown
Member Author

mdboom commented Dec 3, 2012

I'm going to rebase and let Travis (hopefully) check this. Assuming that passes, I think this is good to go.

…) matplotlibrc, it will be copied into "savefig.format", where "auto" is not a supported choice. This will fix it so it becomes "png" if it's currently set to "auto". This bug discovered as part of matplotlib#1530, though it doesn't fix it.
mdboom added a commit that referenced this pull request Dec 3, 2012
@mdboom mdboom merged commit f79562c into matplotlib:v1.2.x Dec 3, 2012
@mdboom mdboom deleted the savefig.extension-fix branch August 7, 2014 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants