Fix FigureCanvasAgg.print_raw(...) #6519

Merged
merged 1 commit into from Jun 1, 2016

Conversation

Projects
None yet
3 participants
Contributor

paulromano commented Jun 1, 2016

The finally block in FigureCanvasAgg.print_raw() attempts to close a string instead of a file. This appears to cause any attempts to write .rgb or .rgba files to fail.

@paulromano paulromano Fix FigureCanvasAgg.print_raw(...)
4fd5889

mdboom added the needs_review label Jun 1, 2016

Owner

mdboom commented Jun 1, 2016

Thanks.

@mdboom mdboom merged commit 75a35ef into matplotlib:master Jun 1, 2016

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.002%) to 69.627%
Details

mdboom removed the needs_review label Jun 1, 2016

paulromano deleted the paulromano:writeraw-fix branch Jun 1, 2016

@mdboom mdboom added a commit that referenced this pull request Jun 1, 2016

@mdboom mdboom Merge pull request #6519 from paulromano/writeraw-fix
Fix FigureCanvasAgg.print_raw(...)
5fbabdf
Owner

mdboom commented Jun 1, 2016

Backported to v1.5.x as 5fbabdf

paulromano referenced this pull request in mit-crpg/openmc Jun 1, 2016

Merged

Various changes in Python API #667

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