Title: [Bug]: About drawing 3D picture content title display incomplete problem · Issue #28515 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: About drawing 3D picture content title display incomplete problem · Issue #28515 · matplotlib/matplotlib
X Title: [Bug]: About drawing 3D picture content title display incomplete problem · Issue #28515 · matplotlib/matplotlib
Description: Bug summary I had this problem while drawing 3D drawings. When I used the older version, I could fully display the Z-axis headings. When I use the latest version, the Z-axis title is not displayed. I tried everything. I couldn't work it ...
Open Graph Description: Bug summary I had this problem while drawing 3D drawings. When I used the older version, I could fully display the Z-axis headings. When I use the latest version, the Z-axis title is not displayed....
X Description: Bug summary I had this problem while drawing 3D drawings. When I used the older version, I could fully display the Z-axis headings. When I use the latest version, the Z-axis title is not displayed....
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/28515
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: About drawing 3D picture content title display incomplete problem","articleBody":"### Bug summary\n\nI had this problem while drawing 3D drawings. When I used the older version, I could fully display the Z-axis headings. When I use the latest version, the Z-axis title is not displayed. I tried everything. I couldn't work it out. Help, thank you.\n\n### Code for reproduction\n\n```Python\nfrom mpl_toolkits.mplot3d import axes3d\r\nimport matplotlib.pyplot as plt\r\nfrom matplotlib import cm\r\nplt.rcParams['savefig.bbox'] = 'tight'\r\nax = plt.figure().add_subplot(projection='3d')\r\nX, Y, Z = axes3d.get_test_data(0.05)\r\n# Plot the 3D surface\r\nax.plot_surface(X, Y, Z, rstride=8, cstride=8, alpha=0.3)\r\n# Plot projections of the contours for each dimension. By choosing offsets\r\n# that match the appropriate axes limits, the projected contours will sit on\r\n# the 'walls' of the graph\r\nax.contourf(X, Y, Z, zdir='z', offset=-100, cmap=cm.coolwarm)\r\nax.contourf(X, Y, Z, zdir='x', offset=-40, cmap=cm.coolwarm)\r\nax.contourf(X, Y, Z, zdir='y', offset=40, cmap=cm.coolwarm)\r\nax.set(xlim=(-40, 40), ylim=(-40, 40), zlim=(-100, 100),\r\n xlabel='X', ylabel='Y', zlabel='Z')\r\n# plt.gcf().subplots_adjust(left=0,top=1,bottom=0, right=1)\r\nplt.show()\n```\n\n\n### Actual outcome\n\n\r\nMatplotlib Version==3.9.1\r\n\r\n\r\n# compare\r\n\r\nMatplotlib Version==3.4.3\r\n\r\n\n\n### Expected outcome\n\n\r\nThe latest version of the code solution\r\n\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nWindows\n\n### Matplotlib Version\n\n3.9.1\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\npip","author":{"url":"https://github.com/MoonCapture","@type":"Person","name":"MoonCapture"},"datePublished":"2024-07-06T10:43:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/28515/matplotlib/issues/28515"}
| 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:2a32d9fa-fcce-f4a3-3c40-9e314178e70f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAA4:2C9FC7:C04813:FE672E:6A5321A3 |
| html-safe-nonce | 4e954afe8c66abae4420687414355d25be422ce3bd6915dc06f13ea1cbe2f7bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUE0OjJDOUZDNzpDMDQ4MTM6RkU2NzJFOjZBNTMyMUEzIiwidmlzaXRvcl9pZCI6IjU3ODY4MjcyMTE3MDY0MDkzNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ca400e5b6e3da9dbc4bc3e977c929a5e49aa17fc18217b3170dcfebfba54f1df |
| hovercard-subject-tag | issue:2393513750 |
| 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/28515/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af8718c6072dd27621d689c1699818d1eea445037c3226359e8b12da502ba287/matplotlib/matplotlib/issues/28515 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af8718c6072dd27621d689c1699818d1eea445037c3226359e8b12da502ba287/matplotlib/matplotlib/issues/28515 |
| og:image:alt | Bug summary I had this problem while drawing 3D drawings. When I used the older version, I could fully display the Z-axis headings. When I use the latest version, the Z-axis title is not displayed.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MoonCapture |
| 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