René's URL Explorer Experiment


Title: Oldest compatible matplotlib version? · Issue #114 · proplot-dev/proplot · GitHub

Open Graph Title: Oldest compatible matplotlib version? · Issue #114 · proplot-dev/proplot

X Title: Oldest compatible matplotlib version? · Issue #114 · proplot-dev/proplot

Description: I tried to upgrade ProPlot and install it with conda install -c conda-forge proplot recently and I'm facing to errors every time I'm trying to put a colorbar. Here is the example of the documentation (https://proplot.readthedocs.io/en/la...

Open Graph Description: I tried to upgrade ProPlot and install it with conda install -c conda-forge proplot recently and I'm facing to errors every time I'm trying to put a colorbar. Here is the example of the documentati...

X Description: I tried to upgrade ProPlot and install it with conda install -c conda-forge proplot recently and I'm facing to errors every time I'm trying to put a colorbar. Here is the example of the doc...

Opengraph URL: https://github.com/proplot-dev/proplot/issues/114

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Oldest compatible matplotlib version?","articleBody":"I tried to upgrade ProPlot and install it with `conda install -c conda-forge proplot` recently and I'm facing to errors every time I'm trying to put a colorbar. Here is the example of the documentation (https://proplot.readthedocs.io/en/latest/colorbars_legends.html#Axes-colorbars-and-legends):\r\n\r\n```python\r\nimport proplot as plot\r\nimport numpy as np\r\nwith plot.rc.context(abc=True):\r\n    f, axs = plot.subplots(ncols=2, share=0)\r\n\r\n# Colorbars\r\nax = axs[0]\r\nstate = np.random.RandomState(51423)\r\nm = ax.heatmap(state.rand(10, 10), colorbar='t', cmap='dusk')\r\nax.colorbar(m, loc='r')\r\nax.colorbar(m, loc='ll', label='colorbar label')\r\nax.format(title='Axes colorbars', suptitle='Axes colorbars and legends demo')\r\n\r\n# Legends\r\nax = axs[1]\r\nax.format(title='Axes legends', titlepad='0em')\r\nhs = ax.plot(\r\n    (state.rand(10, 5) - 0.5).cumsum(axis=0), linewidth=3,\r\n    cycle='sharp', legend='t',\r\n    labels=list('abcde'), legend_kw={'ncols': 5, 'frame': False}\r\n)\r\nax.legend(hs, loc='r', ncols=1, frame=False)\r\nax.legend(hs, loc='ll', label='legend label')\r\naxs.format(xlabel='xlabel', ylabel='ylabel')\r\n```\r\n\r\nHere is the error:\r\n```python\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n\u003cipython-input-19-837a2de5d36a\u003e in \u003cmodule\u003e\r\n      7 ax = axs[0]\r\n      8 state = np.random.RandomState(51423)\r\n----\u003e 9 m = ax.heatmap(state.rand(10, 10), colorbar='t', cmap='dusk')\r\n     10 ax.colorbar(m, loc='r')\r\n     11 ax.colorbar(m, loc='ll', label='colorbar label')\r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/axes.py in heatmap(self, *args, **kwargs)\r\n   1208         that is suitable for heatmaps: no gridlines, no minor ticks, and major\r\n   1209         ticks at the center of each grid box.\"\"\"\r\n-\u003e 1210         obj = self.pcolormesh(*args, **kwargs)\r\n   1211         xlocator, ylocator = None, None\r\n   1212         if hasattr(obj, '_coordinates'):\r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/wrappers.py in _wrapper(self, *args, **kwargs)\r\n   2960         @functools.wraps(func)\r\n   2961         def _wrapper(self, *args, **kwargs):\r\n-\u003e 2962             return driver(self, func, *args, **kwargs)\r\n   2963         name = func.__name__\r\n   2964         if name not in proplot_methods:\r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/wrappers.py in standardize_2d(self, func, order, globe, *args, **kwargs)\r\n    650     colorbar_kw = kwargs.pop('colorbar_kw', None) or {}\r\n    651     colorbar_kw.setdefault('label', colorbar_label)\r\n--\u003e 652     return func(self, x, y, *Zs, colorbar_kw=colorbar_kw, **kwargs)\r\n    653 \r\n    654 \r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/wrappers.py in _wrapper(self, *args, **kwargs)\r\n   2960         @functools.wraps(func)\r\n   2961         def _wrapper(self, *args, **kwargs):\r\n-\u003e 2962             return driver(self, func, *args, **kwargs)\r\n   2963         name = func.__name__\r\n   2964         if name not in proplot_methods:\r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/wrappers.py in cmap_changer(self, func, cmap, cmap_kw, extend, norm, norm_kw, N, levels, values, centers, vmin, vmax, locator, symmetric, locator_kw, edgefix, labels, labels_kw, fmt, precision, colorbar, colorbar_kw, panel_kw, lw, linewidth, linewidths, ls, linestyle, linestyles, color, colors, edgecolor, edgecolors, *args, **kwargs)\r\n   2128         if loc != 'fill':\r\n   2129             colorbar_kw.setdefault('loc', loc)\r\n-\u003e 2130         self.colorbar(obj, **colorbar_kw)\r\n   2131     return obj\r\n   2132 \r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/axes.py in colorbar(self, loc, pad, length, width, space, frame, frameon, alpha, linewidth, edgecolor, facecolor, *args, **kwargs)\r\n    944         # Generate panel\r\n    945         if loc in ('left', 'right', 'top', 'bottom'):\r\n--\u003e 946             ax = self.panel_axes(loc, width=width, space=space, filled=True)\r\n    947             return ax.colorbar(loc='_fill', *args, length=length, **kwargs)\r\n    948 \r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/axes.py in panel_axes(self, side, **kwargs)\r\n   1370             The panel axes.\r\n   1371         \"\"\"\r\n-\u003e 1372         return self.figure._add_axes_panel(self, side, **kwargs)\r\n   1373 \r\n   1374     @_standardize_1d\r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/utils.py in decorator(*args, **kwargs)\r\n     61         if BENCHMARK:\r\n     62             t = time.perf_counter()\r\n---\u003e 63         res = func(*args, **kwargs)\r\n     64         if BENCHMARK:\r\n     65             decorator.time += (time.perf_counter() - t)\r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/subplots.py in _add_axes_panel(self, ax, side, filled, **kwargs)\r\n    858         gridspec_prev = self._gridspec_main\r\n    859         gridspec = self._insert_row_column(\r\n--\u003e 860             side, iratio, width, space, space_orig, figure=False)\r\n    861         if gridspec is not gridspec_prev:\r\n    862             if s == 't':\r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/subplots.py in _insert_row_column(self, side, idx, ratio, space, space_orig, figure)\r\n   1339             # May seem inefficient but it literally just assigns a hidden,\r\n   1340             # attribute, and the creation time for subpltospecs is tiny\r\n-\u003e 1341             axs = [iax for ax in self._iter_axes()\r\n   1342                    for iax in (ax, *ax.child_axes)]\r\n   1343             for ax in axs:\r\n\r\n~/anaconda3/lib/python3.7/site-packages/proplot/subplots.py in \u003clistcomp\u003e(.0)\r\n   1340             # attribute, and the creation time for subpltospecs is tiny\r\n   1341             axs = [iax for ax in self._iter_axes()\r\n-\u003e 1342                    for iax in (ax, *ax.child_axes)]\r\n   1343             for ax in axs:\r\n   1344                 # Get old index\r\n\r\nAttributeError: 'XYAxesSubplot' object has no attribute 'child_axes'\r\n```\r\n\r\nHere is the version of ProPlot:\r\n```\r\n# Name                    Version                   Build  Channel\r\nproplot                   0.3.1                      py_1    conda-forge\r\n```\r\nThere were no problems in previous versions... This error is the same for any other plots I'm trying to do.\r\n","author":{"url":"https://github.com/mickaellalande","@type":"Person","name":"mickaellalande"},"datePublished":"2020-01-21T09:11:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/114/proplot/issues/114"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f27459f2-f681-aa09-4c4a-cb1b2e710b62
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8E68:191A63:3B6C85D:4F5CDB7:697B09AC
html-safe-nonce9e4666f25649b2ae1c6f37fe3fde7b39a41965f78e4b76a3ce5c97dd8e15c16a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTY4OjE5MUE2MzozQjZDODVEOjRGNUNEQjc6Njk3QjA5QUMiLCJ2aXNpdG9yX2lkIjoiNTU1NzAwODQxMjI0MDk3MjIwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac96ea0015edc04292e03ca25803a4f3fe94d70b23ffc25cde55d8fb37d09e0938
hovercard-subject-tagissue:552717527
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/proplot-dev/proplot/114/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ae6d12e86e98f393b498228da0d99264809cff9f50207934dc756e9586681e1d/proplot-dev/proplot/issues/114
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae6d12e86e98f393b498228da0d99264809cff9f50207934dc756e9586681e1d/proplot-dev/proplot/issues/114
og:image:altI tried to upgrade ProPlot and install it with conda install -c conda-forge proplot recently and I'm facing to errors every time I'm trying to put a colorbar. Here is the example of the documentati...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemickaellalande
hostnamegithub.com
expected-hostnamegithub.com
None7ce8ed0a54c4730aeca4e6abacfc6490365fc42e25480b86883054df3f9181c8
turbo-cache-controlno-preview
go-importgithub.com/proplot-dev/proplot git https://github.com/proplot-dev/proplot.git
octolytics-dimension-user_id108025793
octolytics-dimension-user_loginproplot-dev
octolytics-dimension-repository_id113293661
octolytics-dimension-repository_nwoproplot-dev/proplot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id113293661
octolytics-dimension-repository_network_root_nwoproplot-dev/proplot
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released7bfc78137af9a4828305e52ab993fce981d7085
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/proplot-dev/proplot/issues/114#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fproplot-dev%2Fproplot%2Fissues%2F114
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fproplot-dev%2Fproplot%2Fissues%2F114
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=proplot-dev%2Fproplot
Reloadhttps://patch-diff.githubusercontent.com/proplot-dev/proplot/issues/114
Reloadhttps://patch-diff.githubusercontent.com/proplot-dev/proplot/issues/114
Reloadhttps://patch-diff.githubusercontent.com/proplot-dev/proplot/issues/114
proplot-dev https://patch-diff.githubusercontent.com/proplot-dev
proplothttps://patch-diff.githubusercontent.com/proplot-dev/proplot
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fproplot-dev%2Fproplot
Fork 97 https://patch-diff.githubusercontent.com/login?return_to=%2Fproplot-dev%2Fproplot
Star 1.1k https://patch-diff.githubusercontent.com/login?return_to=%2Fproplot-dev%2Fproplot
Code https://patch-diff.githubusercontent.com/proplot-dev/proplot
Issues 88 https://patch-diff.githubusercontent.com/proplot-dev/proplot/issues
Pull requests 7 https://patch-diff.githubusercontent.com/proplot-dev/proplot/pulls
Discussions https://patch-diff.githubusercontent.com/proplot-dev/proplot/discussions
Actions https://patch-diff.githubusercontent.com/proplot-dev/proplot/actions
Projects 0 https://patch-diff.githubusercontent.com/proplot-dev/proplot/projects
Security 0 https://patch-diff.githubusercontent.com/proplot-dev/proplot/security
Insights https://patch-diff.githubusercontent.com/proplot-dev/proplot/pulse
Code https://patch-diff.githubusercontent.com/proplot-dev/proplot
Issues https://patch-diff.githubusercontent.com/proplot-dev/proplot/issues
Pull requests https://patch-diff.githubusercontent.com/proplot-dev/proplot/pulls
Discussions https://patch-diff.githubusercontent.com/proplot-dev/proplot/discussions
Actions https://patch-diff.githubusercontent.com/proplot-dev/proplot/actions
Projects https://patch-diff.githubusercontent.com/proplot-dev/proplot/projects
Security https://patch-diff.githubusercontent.com/proplot-dev/proplot/security
Insights https://patch-diff.githubusercontent.com/proplot-dev/proplot/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/proplot-dev/proplot/issues/114
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/proplot-dev/proplot/issues/114
Oldest compatible matplotlib version?https://patch-diff.githubusercontent.com/proplot-dev/proplot/issues/114#top
distributionhttps://github.com/proplot-dev/proplot/issues?q=state%3Aopen%20label%3A%22distribution%22
Version 0.10https://github.com/proplot-dev/proplot/milestone/3
https://github.com/mickaellalande
https://github.com/mickaellalande
mickaellalandehttps://github.com/mickaellalande
on Jan 21, 2020https://github.com/proplot-dev/proplot/issues/114#issue-552717527
https://proplot.readthedocs.io/en/latest/colorbars_legends.html#Axes-colorbars-and-legendshttps://proplot.readthedocs.io/en/latest/colorbars_legends.html#Axes-colorbars-and-legends
distributionhttps://github.com/proplot-dev/proplot/issues?q=state%3Aopen%20label%3A%22distribution%22
Version 0.10No due datehttps://github.com/proplot-dev/proplot/milestone/3
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.