Title: Matplotlib savefig() closes BytesIO object when saving in postscript format by mdboom · Pull Request #1862 · matplotlib/matplotlib · GitHub
Open Graph Title: Matplotlib savefig() closes BytesIO object when saving in postscript format by mdboom · Pull Request #1862 · matplotlib/matplotlib
X Title: Matplotlib savefig() closes BytesIO object when saving in postscript format by mdboom · Pull Request #1862 · matplotlib/matplotlib
Description: In Python 3, I am seeing the following bug:
In [1]: from io import BytesIO
In [2]: import matplotlib.pyplot as plt
In [3]: b = BytesIO()
In [4]: fig = plt.figure()
In [5]: ax = fig.add_subplot(1,1,1)
In [6]: ax.plot([1,2,3])
Out[6]: [
Open Graph Description: In Python 3, I am seeing the following bug: In [1]: from io import BytesIO In [2]: import matplotlib.pyplot as plt In [3]: b = BytesIO() In [4]: fig = plt.figure() In [5]: ax = fig.add_subplot(...
X Description: In Python 3, I am seeing the following bug: In [1]: from io import BytesIO In [2]: import matplotlib.pyplot as plt In [3]: b = BytesIO() In [4]: fig = plt.figure() In [5]: ax = fig.add_subplot(...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/1862
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c1d42afc-2f50-9693-3e07-cd184c607213 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D3B2:29B748:2B320A9:3B31EA0:6A545652 |
| html-safe-nonce | 57633bd1c756045861b26ae7ecf9671c7c14c56ccd9732bb783004d6f2482c6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0IyOjI5Qjc0ODoyQjMyMEE5OjNCMzFFQTA6NkE1NDU2NTIiLCJ2aXNpdG9yX2lkIjoiMTM5MzY3NzM5NzExMTYyNTI5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8f8f31de6e4199967543dda0ba95f8de31b287f7a586679a3b25c0e3d1709804 |
| hovercard-subject-tag | pull_request:4845207 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/1862/files |
| twitter:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| og:image:alt | In Python 3, I am seeing the following bug: In [1]: from io import BytesIO In [2]: import matplotlib.pyplot as plt In [3]: b = BytesIO() In [4]: fig = plt.figure() In [5]: ax = fig.add_subplot(... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width