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: patch-diff.githubusercontent.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:61201120-06c9-0cac-38a3-cca18228f226 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8B8:27FCBF:BD9D44:10EE8CD:697A297D |
| html-safe-nonce | 9984569252a777c3ba4d0374ad35cb79a18a2dcb9dd8b89385b065e266ea4720 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEI4OjI3RkNCRjpCRDlENDQ6MTBFRThDRDo2OTdBMjk3RCIsInZpc2l0b3JfaWQiOiI1NDI4MzE4ODM1NDMxODQ0MjIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1f65120271decb2db270e7cc9f3714bd07dad0240a602cb45d3601526a3124a5 |
| 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 | e45f4a1aa1d2f5e476694a8ca3079eb927f0ea276035a2d5e78665f09121ff98 |
| 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 | 8a5f67754bd81296f454ff3fa910631e09e4052c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width