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

Fix FigureCanvasAgg.print_raw(...) #6519

Merged
merged 1 commit into from Jun 1, 2016

Conversation

paulromano
Copy link
Contributor

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.

@mdboom
Copy link
Member

mdboom commented Jun 1, 2016

Thanks.

@mdboom mdboom merged commit 75a35ef into matplotlib:master Jun 1, 2016
@paulromano paulromano deleted the writeraw-fix branch June 1, 2016 12:14
mdboom added a commit that referenced this pull request Jun 1, 2016
Fix FigureCanvasAgg.print_raw(...)
@mdboom
Copy link
Member

mdboom commented Jun 1, 2016

Backported to v1.5.x as 5fbabdf

@QuLogic QuLogic added this to the 1.5.2 (Critical bug fix release) milestone Jun 1, 2016
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.

None yet

3 participants