Title: Regression in add_subplot.. · Issue #17343 · matplotlib/matplotlib · GitHub
Open Graph Title: Regression in add_subplot.. · Issue #17343 · matplotlib/matplotlib
X Title: Regression in add_subplot.. · Issue #17343 · matplotlib/matplotlib
Description: #16527 419fafe added checks for add_subplot that break: import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(3, 4, 1) ax2 = fig.add_subplot(3, 2, (3, 5)) plt.show() Old behaviour New behaviour: ax2 = fig.add_subplot(3,...
Open Graph Description: #16527 419fafe added checks for add_subplot that break: import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(3, 4, 1) ax2 = fig.add_subplot(3, 2, (3, 5)) plt.show() Old behaviour...
X Description: #16527 419fafe added checks for add_subplot that break: import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(3, 4, 1) ax2 = fig.add_subplot(3, 2, (3, 5)) plt.show() Old behaviour...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/17343
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression in add_subplot..","articleBody":"https://github.com/matplotlib/matplotlib/pull/16527 419fafeac34c added checks for `add_subplot` that break:\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\n\r\nfig = plt.figure()\r\n\r\nax = fig.add_subplot(3, 4, 1)\r\nax2 = fig.add_subplot(3, 2, (3, 5))\r\nplt.show()\r\n```\r\n\r\n### Old behaviour\r\n\r\n\r\n\r\n\r\n### New behaviour:\r\n\r\n```\r\n ax2 = fig.add_subplot(3, 2, (3, 5))\r\nTraceback (most recent call last):\r\n File \"testPlots.py\", line 6, in \u003cmodule\u003e\r\n ax2 = fig.add_subplot(3, 2, (3, 5))\r\n File \"/Users/jklymak/matplotlib/lib/matplotlib/figure.py\", line 1376, in add_subplot\r\n args = tuple(map(int, args))\r\nTypeError: int() argument must be a string, a bytes-like object or a number, not 'tuple'\r\n```\r\n","author":{"url":"https://github.com/jklymak","@type":"Person","name":"jklymak"},"datePublished":"2020-05-06T20:29:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/17343/matplotlib/issues/17343"}
| 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:77bab6ae-aff6-37ab-107b-1d9541fd668f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB1A:23D81D:2E4DEA3:3EC4196:6A53D440 |
| html-safe-nonce | b8b72e3d422b8a35f7725f04d21c7c6c0bc9fb67007acb34095049373233f849 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjFBOjIzRDgxRDoyRTRERUEzOjNFQzQxOTY6NkE1M0Q0NDAiLCJ2aXNpdG9yX2lkIjoiODg1OTE4Njg5MjQzNDAzNTc3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ac83c73a482f739238fd4d0cb16eb9bfa6272965875f4a13b14684f468b91c01 |
| hovercard-subject-tag | issue:613592878 |
| 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/17343/issue_layout |
| twitter:image | https://opengraph.githubassets.com/85cfcadda81b875b08c9561a2ade0866e0ebf3c2089073e6eb066328c548bed6/matplotlib/matplotlib/issues/17343 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85cfcadda81b875b08c9561a2ade0866e0ebf3c2089073e6eb066328c548bed6/matplotlib/matplotlib/issues/17343 |
| og:image:alt | #16527 419fafe added checks for add_subplot that break: import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(3, 4, 1) ax2 = fig.add_subplot(3, 2, (3, 5)) plt.show() Old behaviour... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jklymak |
| 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