Title: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "facecolor" which is no longer supported as of 3.3 and will become an error two minor releases later · Issue #456 · proplot-dev/proplot · GitHub
Open Graph Title: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "facecolor" which is no longer supported as of 3.3 and will become an error two minor releases later · Issue #456 · proplot-dev/proplot
X Title: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "facecolor" which is no longer supported as of 3.3 and will become an error two minor releases later · Issue #456 · proplot-dev/proplot
Description: Description A deprecation warning with savefig() has been displayed for a long time and has not been solved. /Users/yk/anaconda3/lib/python3.11/site-packages/proplot/figure.py:469: MatplotlibDeprecationWarning: savefig() got unexpected k...
Open Graph Description: Description A deprecation warning with savefig() has been displayed for a long time and has not been solved. /Users/yk/anaconda3/lib/python3.11/site-packages/proplot/figure.py:469: MatplotlibDeprec...
X Description: Description A deprecation warning with savefig() has been displayed for a long time and has not been solved. /Users/yk/anaconda3/lib/python3.11/site-packages/proplot/figure.py:469: MatplotlibDeprec...
Opengraph URL: https://github.com/proplot-dev/proplot/issues/456
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MatplotlibDeprecationWarning: savefig() got unexpected keyword argument \"facecolor\" which is no longer supported as of 3.3 and will become an error two minor releases later","articleBody":"\r\n### Description\r\n\r\nA deprecation warning with savefig() has been displayed for a long time and has not been solved.\r\n\r\n/Users/yk/anaconda3/lib/python3.11/site-packages/proplot/figure.py:469: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument \"facecolor\" which is no longer supported as of 3.3 and will become an error two minor releases later\r\n return func(self, *args, **kwargs)\r\n\r\n### Steps to reproduce\r\n\r\n```python\r\nimport proplot as pplt\r\nimport numpy as np\r\n\r\nx = np.linspace(0, 10, 100) \r\ny = np.sin(x)\r\n\r\nfig, ax = pplt.subplots()\r\nax.plot(x,y)\r\nax.format(xlabel='x axis', ylabel='y axis')\r\nfig.savefig('test.pdf')\r\n```\r\n\r\n**Expected behavior**: No warning\r\n\r\n**Actual behavior**: \r\n\r\n/Users/yk/anaconda3/lib/python3.11/site-packages/proplot/figure.py:469: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument \"facecolor\" which is no longer supported as of 3.3 and will become an error two minor releases later\r\n return func(self, *args, **kwargs)\r\n/Users/yk/anaconda3/lib/python3.11/site-packages/proplot/figure.py:469: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument \"edgecolor\" which is no longer supported as of 3.3 and will become an error two minor releases later\r\n return func(self, *args, **kwargs)\r\n/Users/yk/anaconda3/lib/python3.11/site-packages/proplot/figure.py:469: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument \"orientation\" which is no longer supported as of 3.3 and will become an error two minor releases later\r\n return func(self, *args, **kwargs)\r\n\r\n### Proplot version\r\nmatplotlib: 3.4.3\r\nproplot: 0.9.7\r\npython: 3.11\r\nComputer: macbook pro, m2pro","author":{"url":"https://github.com/yykphy","@type":"Person","name":"yykphy"},"datePublished":"2024-05-21T07:01:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/456/proplot/issues/456"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:25adfff2-31da-9144-355c-152ea738b5af |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB18:357A8A:A7E5EB:D9C6B3:696B2196 |
| html-safe-nonce | 59a48515bd840e58d4d13b1d3a0e54477a205c11b4e5aab6574fea02fb765646 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjE4OjM1N0E4QTpBN0U1RUI6RDlDNkIzOjY5NkIyMTk2IiwidmlzaXRvcl9pZCI6IjczNDYwMDQ4NzUzNDgyMjIzNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d7ceb3c01ab96737eb88d953fcbfbba315f5deb82d2c2cb8ec5f1bb61d233329 |
| hovercard-subject-tag | issue:2307488575 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/proplot-dev/proplot/456/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b716f6ab0750aeb6c855b68aacf16462ae60c60e2ef0edf71c258566346bd28/proplot-dev/proplot/issues/456 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b716f6ab0750aeb6c855b68aacf16462ae60c60e2ef0edf71c258566346bd28/proplot-dev/proplot/issues/456 |
| og:image:alt | Description A deprecation warning with savefig() has been displayed for a long time and has not been solved. /Users/yk/anaconda3/lib/python3.11/site-packages/proplot/figure.py:469: MatplotlibDeprec... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yykphy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/proplot-dev/proplot git https://github.com/proplot-dev/proplot.git |
| octolytics-dimension-user_id | 108025793 |
| octolytics-dimension-user_login | proplot-dev |
| octolytics-dimension-repository_id | 113293661 |
| octolytics-dimension-repository_nwo | proplot-dev/proplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 113293661 |
| octolytics-dimension-repository_network_root_nwo | proplot-dev/proplot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width