Skip to content

Fix bug in imsave related to format auto-detect - #10109

Closed
pauldmccarthy wants to merge 1 commit into
matplotlib:masterfrom
pauldmccarthy:fix-imsave-autodetect-format
Closed

pauldmccarthy wants to merge 1 commit into
matplotlib:masterfrom
pauldmccarthy:fix-imsave-autodetect-format

Conversation

@pauldmccarthy

Copy link
Copy Markdown

PR Summary

This PR fixes a small bug in the matplotlib.image.imsave function which causes it to always output png images when format is None, regardless of the file name.

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@QuLogic

QuLogic commented Dec 27, 2017

Copy link
Copy Markdown
Member

This looks similar to #10048.

@pauldmccarthy

Copy link
Copy Markdown
Author

@QuLogic Aah true - sorry, consider this PR closed :)

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