Title: ordering issues between `set_xmargin` and `set_xscale` · Issue #7093 · matplotlib/matplotlib · GitHub
Open Graph Title: ordering issues between `set_xmargin` and `set_xscale` · Issue #7093 · matplotlib/matplotlib
X Title: ordering issues between `set_xmargin` and `set_xscale` · Issue #7093 · matplotlib/matplotlib
Description: As of 2.0b4, the order in which calls to set(xmargin=...) and set(xscale=...) are made result in different plots: from matplotlib import pyplot as plt fig, axs = plt.subplots(2) axs[0].plot([1, 2], [1, 2]) axs[1].plot([1, 2], [1, 2]) axs...
Open Graph Description: As of 2.0b4, the order in which calls to set(xmargin=...) and set(xscale=...) are made result in different plots: from matplotlib import pyplot as plt fig, axs = plt.subplots(2) axs[0].plot([1, 2],...
X Description: As of 2.0b4, the order in which calls to set(xmargin=...) and set(xscale=...) are made result in different plots: from matplotlib import pyplot as plt fig, axs = plt.subplots(2) axs[0].plot([1, 2],...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/7093
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ordering issues between `set_xmargin` and `set_xscale`","articleBody":"As of 2.0b4, the order in which calls to `set(xmargin=...)` and `set(xscale=...)` are made result in different plots:\n\n```\nfrom matplotlib import pyplot as plt\nfig, axs = plt.subplots(2)\naxs[0].plot([1, 2], [1, 2])\naxs[1].plot([1, 2], [1, 2])\naxs[0].set(xscale=\"log\"); axs[0].set(xmargin=0)\naxs[1].set(xmargin=0); axs[1].set(xscale=\"log\")\nplt.show()\n```\n\n\n\nThe ordering did not matter in 1.5, but that was because the setting of `xmargin` was effectively ignored :-)\n\n\nI'm suggesting to milestone this to 2.0, but I'll let someone else make that call.\n","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2016-09-12T07:00:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/7093/matplotlib/issues/7093"}
| 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:ddd369bf-2227-2825-fece-07d4c53b4bd2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA4E:2D74E4:FAB5D0:154A1C9:6A570CC0 |
| html-safe-nonce | 6bd0af28b841d6f934b2dc65d43f91da9ea71fbc15df572b4a34f87e52ec217b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTRFOjJENzRFNDpGQUI1RDA6MTU0QTFDOTo2QTU3MENDMCIsInZpc2l0b3JfaWQiOiIzOTM4ODI1MzE5NjU0ODIxMDU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 244eec79d6708cfc6314879eb3d9da7a807043fdde291fe73094267eae831dc4 |
| hovercard-subject-tag | issue:176306652 |
| 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/7093/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5769313151b1bd4ecb2d8e0a92ede3a3fc4484a5bbf30937afc71181123fadce/matplotlib/matplotlib/issues/7093 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5769313151b1bd4ecb2d8e0a92ede3a3fc4484a5bbf30937afc71181123fadce/matplotlib/matplotlib/issues/7093 |
| og:image:alt | As of 2.0b4, the order in which calls to set(xmargin=...) and set(xscale=...) are made result in different plots: from matplotlib import pyplot as plt fig, axs = plt.subplots(2) axs[0].plot([1, 2],... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width