Title: [Bug]: Pyplot can no longer set axes properties · Issue #27953 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Pyplot can no longer set axes properties · Issue #27953 · matplotlib/matplotlib
X Title: [Bug]: Pyplot can no longer set axes properties · Issue #27953 · matplotlib/matplotlib
Description: Bug summary Since Matplotlib 3.8.1, it no longer is possible to set axes properties, neither using Pyplot free functions nor Axis object methods. This persists in the current latest release 3.8.3, and is not observed in 3.8.0. Code for r...
Open Graph Description: Bug summary Since Matplotlib 3.8.1, it no longer is possible to set axes properties, neither using Pyplot free functions nor Axis object methods. This persists in the current latest release 3.8.3, ...
X Description: Bug summary Since Matplotlib 3.8.1, it no longer is possible to set axes properties, neither using Pyplot free functions nor Axis object methods. This persists in the current latest release 3.8.3, ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/27953
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Pyplot can no longer set axes properties","articleBody":"### Bug summary\r\n\r\nSince Matplotlib 3.8.1, it no longer is possible to set axes properties, neither using Pyplot free functions nor Axis object methods.\r\n\r\nThis persists in the current latest release 3.8.3, and is not observed in 3.8.0.\r\n\r\n### Code for reproduction\r\n\r\n```Python\r\nimport matplotlib.pyplot as plt\r\nimport numpy as np\r\nplt.plot(np.random.randn(100))\r\nplt.xlabel(\"x label\")\r\nplt.show()\r\n```\r\n\r\n\r\n### Actual outcome\r\n\r\nThe \"x label\" text is not shown. The result is identical to just calling `plt.plot(...)` and `plt.show()`.\r\n\r\n### Expected outcome\r\n\r\nThe \"x label\" text is shown.\r\n\r\n### Additional information\r\n\r\nThe above example applies to all functions that set axes properties.\r\n\r\nI have tried in many different ways to create a figure with axes, none of them resulted in me being able to set properties.\r\n\r\n\r\n### Operating system\r\n\r\nmacOS 14.3.1 (aarch64)\r\n\r\n### Matplotlib Version\r\n\r\n3.8.1\r\n\r\n### Matplotlib Backend\r\n\r\nMacOSX\r\n\r\n### Python version\r\n\r\n3.11.8\r\n\r\n### Jupyter version\r\n\r\n_No response_\r\n\r\n### Installation\r\n\r\npip","author":{"url":"https://github.com/crisluengo","@type":"Person","name":"crisluengo"},"datePublished":"2024-03-20T16:04:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/27953/matplotlib/issues/27953"}
| 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:3c3ca92f-0fe7-3a36-5592-53486310df9d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF2A:2B0738:1CC683D:2786BDE:6A538008 |
| html-safe-nonce | 3f7989671dcf323953aecd90229696d18779e8fe3bc17f1575020bde5a6e96da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjJBOjJCMDczODoxQ0M2ODNEOjI3ODZCREU6NkE1MzgwMDgiLCJ2aXNpdG9yX2lkIjoiODA3MzY3MDgxMDMxNjAxMzU3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c6906e4b76fa5016b0021936eabd9d35d5d9ae9b094f518dffb50621d8e1d5c2 |
| hovercard-subject-tag | issue:2197920592 |
| 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/matplotlib/matplotlib/27953/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3866700f45565b6a9b9e5225e68ef1df43d6bd5f2513b9241809bfeaa6c916a2/matplotlib/matplotlib/issues/27953 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3866700f45565b6a9b9e5225e68ef1df43d6bd5f2513b9241809bfeaa6c916a2/matplotlib/matplotlib/issues/27953 |
| og:image:alt | Bug summary Since Matplotlib 3.8.1, it no longer is possible to set axes properties, neither using Pyplot free functions nor Axis object methods. This persists in the current latest release 3.8.3, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | crisluengo |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 | false |
| 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