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

Add ability to output to buffer #41

Merged
merged 2 commits into from
Mar 4, 2020
Merged

Conversation

coffincw
Copy link
Collaborator

@coffincw coffincw commented Mar 3, 2020

Add io.ByteIO object to savefig validator and add 'io.ByteIO' object to the list of possible values of 'savefig' in the notebook

Also added 'io.ByteIO' object to the list of possible values of 'savefig' in the notebook
@DanielGoldfarb DanielGoldfarb self-requested a review March 3, 2020 18:22
@DanielGoldfarb
Copy link
Collaborator

@coffincw
Caleb,
Thanks. Not sure if I will get to this today, but should be able to sometime this week. At first glance it looks fine. I just want to test it myself, and perhaps provide an example/demonstration in savefig.ipynb
--Daniel

@tacaswell
Copy link
Member

👍 people have found this functionality super useful when putting mpl behind a web server (so you never have to touch disk to service a request for a png).

@DanielGoldfarb DanielGoldfarb merged commit ca71ea8 into matplotlib:master Mar 4, 2020
@coffincw coffincw mentioned this pull request Mar 4, 2020
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.

3 participants