Title: Latest proplot version incompatible with matplotlib 3.5 · Issue #309 · proplot-dev/proplot · GitHub
Open Graph Title: Latest proplot version incompatible with matplotlib 3.5 · Issue #309 · proplot-dev/proplot
X Title: Latest proplot version incompatible with matplotlib 3.5 · Issue #309 · proplot-dev/proplot
Description: Description I think v0.9.5 might be incompatible with matplotlib 3.5.0. I installed from conda-forge so we can repin. Steps to reproduce A "Minimal, Complete and Verifiable Example" will make it much easier for maintainers to help you. #...
Open Graph Description: Description I think v0.9.5 might be incompatible with matplotlib 3.5.0. I installed from conda-forge so we can repin. Steps to reproduce A "Minimal, Complete and Verifiable Example" will make it mu...
X Description: Description I think v0.9.5 might be incompatible with matplotlib 3.5.0. I installed from conda-forge so we can repin. Steps to reproduce A "Minimal, Complete and Verifiable Example" will ...
Opengraph URL: https://github.com/proplot-dev/proplot/issues/309
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Latest proplot version incompatible with matplotlib 3.5","articleBody":"\u003c!-- Thanks for helping us make proplot a better package! If this is a bug report, please use the template provided below. If this is a feature request, you can delete the template text (just try to be descriptive with your request). --\u003e\r\n\r\n### Description\r\n\r\nI think v0.9.5 might be incompatible with matplotlib 3.5.0. I installed from conda-forge so we can repin.\r\n\r\n### Steps to reproduce\r\n\r\nA \"[Minimal, Complete and Verifiable Example](http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports)\" will make it much easier for maintainers to help you.\r\n\r\n```python\r\n# your code here\r\n# we should be able to copy-paste this into python and exactly reproduce your bug\r\n\r\nfig, axs = pplt.subplots(nrows=3, ncols=3)\r\n```\r\n\r\n**Expected behavior**: [What you expected to happen]\r\n\r\nA plot without a traceback?\r\n\r\n**Actual behavior**: [What actually happened]\r\n\r\nAn error.\r\n\r\n```\r\n\u003e\u003e\u003e import proplot as pplt\r\n/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/__init__.py:71: ProplotWarning: Rebuilding font cache. This usually happens after installing or updating proplot.\r\n register_fonts(default=True)\r\n\u003e\u003e\u003e fig, axs = pplt.subplots(nrows=3, ncols=3)\r\nTraceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/ui.py\", line 192, in subplots\r\n axs = fig.add_subplots(*args, **kwsubs)\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/figure.py\", line 1362, in add_subplots\r\n axs[idx] = self.add_subplot(ss, **kw)\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/figure.py\", line 1248, in add_subplot\r\n ax = super().add_subplot(ss, _subplot_spec=ss, **kwargs)\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/matplotlib/figure.py\", line 772, in add_subplot\r\n ax = subplot_class_factory(projection_class)(self, *args, **pkw)\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/matplotlib/axes/_subplots.py\", line 34, in __init__\r\n self._axes_class.__init__(self, fig, [0, 0, 1, 1], **kwargs)\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/axes/cartesian.py\", line 338, in __init__\r\n super().__init__(*args, **kwargs)\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/axes/plot.py\", line 1260, in __init__\r\n super().__init__(*args, **kwargs)\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/axes/base.py\", line 783, in __init__\r\n self._auto_share()\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/axes/base.py\", line 1777, in _auto_share\r\n child._sharey_setup(parent)\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/axes/cartesian.py\", line 605, in _sharey_setup\r\n self._sharey_limits(sharey)\r\n File \"/Users/beckermr/miniconda3/envs/test-pp/lib/python3.10/site-packages/proplot/axes/cartesian.py\", line 548, in _sharey_limits\r\n self._shared_y_axes.join(self, sharey) # share limit/scale changes\r\nAttributeError: 'CartesianAxesSubplot' object has no attribute '_shared_y_axes'. Did you mean: '_shared_axes'?\r\n```\r\n\r\n### Equivalent steps in matplotlib\r\n\r\nPlease try to make sure this bug is related to a proplot-specific feature. If you're not sure, try to replicate it with the [native matplotlib API](https://matplotlib.org/3.1.1/api/index.html). Matplotlib bugs belong on the [matplotlib github page](https://github.com/matplotlib/matplotlib).\r\n\r\n```python\r\n# your code here, if applicable\r\nimport matplotlib.pyplot as plt\r\n```\r\n\r\n### Proplot version\r\n\r\nPaste the results of `import matplotlib; print(matplotlib.__version__); import proplot; print(proplot.version)`here.\r\n\r\n```\r\n\u003e\u003e\u003e import matplotlib; print(matplotlib.__version__); import proplot; print(proplot.version)\r\n3.5.0\r\n0.9.5\r\n```\r\n","author":{"url":"https://github.com/beckermr","@type":"Person","name":"beckermr"},"datePublished":"2021-12-10T21:29:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/309/proplot/issues/309"}
| 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:cb82a9ca-36c2-aa38-2b9c-103b028f08eb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A660:388B78:1594AF3:1C00FC5:696B2183 |
| html-safe-nonce | bc72848bb49ab822019eebc7bbbc761b9413b45509355d9ce6a57e1b0faef9a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjYwOjM4OEI3ODoxNTk0QUYzOjFDMDBGQzU6Njk2QjIxODMiLCJ2aXNpdG9yX2lkIjoiNjUzNTQ2MDc1MTc4MTA3NzM3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9bf9691a93badd4c349f27bad76df042fb95a8917c33e62bc54d95299e1a6a99 |
| hovercard-subject-tag | issue:1077244124 |
| 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/309/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e4039a693b4244a16b8297ce30c3e7f3b81b0ce0e2f861bdba3f6b3162a5917c/proplot-dev/proplot/issues/309 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e4039a693b4244a16b8297ce30c3e7f3b81b0ce0e2f861bdba3f6b3162a5917c/proplot-dev/proplot/issues/309 |
| og:image:alt | Description I think v0.9.5 might be incompatible with matplotlib 3.5.0. I installed from conda-forge so we can repin. Steps to reproduce A "Minimal, Complete and Verifiable Example" will make it mu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | beckermr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width