René's URL Explorer Experiment


Title: AttributeError: 'PsyplotCanvasManager' object has no attribute '_get_toolbar' · Issue #32 · psyplot/psyplot-gui · GitHub

Open Graph Title: AttributeError: 'PsyplotCanvasManager' object has no attribute '_get_toolbar' · Issue #32 · psyplot/psyplot-gui

X Title: AttributeError: 'PsyplotCanvasManager' object has no attribute '_get_toolbar' · Issue #32 · psyplot/psyplot-gui

Description: Problem description I tried to open ERA5 single level netcdf data to visualize on GUI; however, I had an error when I tried to plot a figure for a variable (e.g. u10). Expected Output When selecting a variable, psyplot should show the fi...

Open Graph Description: Problem description I tried to open ERA5 single level netcdf data to visualize on GUI; however, I had an error when I tried to plot a figure for a variable (e.g. u10). Expected Output When selectin...

X Description: Problem description I tried to open ERA5 single level netcdf data to visualize on GUI; however, I had an error when I tried to plot a figure for a variable (e.g. u10). Expected Output When selectin...

Opengraph URL: https://github.com/psyplot/psyplot-gui/issues/32

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AttributeError: 'PsyplotCanvasManager' object has no attribute '_get_toolbar'","articleBody":"\r\n#### Problem description\r\n\r\nI tried to open ERA5 single level netcdf data to visualize on GUI; however, I had an error when I tried to plot a figure for a variable (e.g. u10).\r\n\r\n\r\n\r\n#### Expected Output\r\nWhen selecting a variable, psyplot should show the figure of the variable.\r\n\r\n\u003cdetails\u003e\r\n'PsyplotCanvasManager' object has no attribute '_get_toolbar' \r\nTraceback (most recent call last):\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psy_view\\ds_widget.py\", line 1055, in func\r\nself.make_plot()\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psy_view\\ds_widget.py\", line 1311, in make_plot\r\nself.sp = sp = self.plot(name=self.variable, **self.plot_options)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\project.py\", line 2180, in __call__\r\nreturn super(DatasetPlotterInterface, self).__call__(*args, **kwargs)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\project.py\", line 1983, in __call__\r\nreturn self._project_plotter._add_data(\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\project.py\", line 2222, in _add_data\r\nreturn super(DatasetPlotter, self)._add_data(plotter_cls, self._ds,\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\project.py\", line 1772, in _add_data\r\nreturn self.project._add_data(*args, **kwargs)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\project.py\", line 180, in wrapper\r\nreturn func(self, *args, **kwargs)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\project.py\", line 801, in _add_data\r\nplotter_cls(arr, make_plot=(not bool(share) and make_plot),\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\plotter.py\", line 1260, in __init__\r\nself.initialize_plot(data, ax=ax, draw=draw, clear=clear,\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\plotter.py\", line 1418, in initialize_plot\r\nself._plot_by_priority(fmto_priority, grouper,\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\plotter.py\", line 1622, in _plot_by_priority\r\nupdate(fmto)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\plotter.py\", line 1602, in update\r\nfmto.initialize_plot(fmto.value)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\plotter.py\", line 659, in initialize_plot\r\nself.update(value, *args, **kwargs)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psy_maps\\plotters.py\", line 1085, in update\r\nproj = self.ax.projection\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot\\plotter.py\", line 275, in ax\r\nreturn self.plotter.ax\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psy_maps\\plotters.py\", line 2099, in ax\r\nplt.figure()\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\matplotlib\\_api\\deprecation.py\", line 454, in wrapper\r\nreturn func(*args, **kwargs)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\matplotlib\\pyplot.py\", line 840, in figure\r\nmanager = new_figure_manager(\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\matplotlib\\pyplot.py\", line 384, in new_figure_manager\r\nreturn _get_backend_mod().new_figure_manager(*args, **kwargs)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot_gui\\backend.py\", line 74, in new_figure_manager\r\nreturn new_figure_manager_given_figure(num, thisFig)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot_gui\\backend.py\", line 82, in new_figure_manager_given_figure\r\nreturn PsyplotCanvasManager(canvas, num)\r\nFile \"C:\\Users\\d.kobashi\\AppData\\Local\\miniconda3\\envs\\psyplot\\lib\\site-packages\\psyplot_gui\\backend.py\", line 109, in __init__\r\nself.toolbar = self._get_toolbar(canvas, parent_widget)\r\nAttributeError: 'PsyplotCanvasManager' object has no attribute '_get_toolbar'\r\n\u003c/details\u003e\r\n\r\n#### Output of ``psyplot -aV``\r\n\r\n\u003cdetails\u003e\r\n# Paste the output of the command ``psyplot -aV`` (ran from the command line)\r\npsy_maps.plugin:\r\n  requirements:\r\n    cartopy: 0.21.1\r\n  version: 1.4.2\r\npsy_reg.plugin:\r\n  requirements:\r\n    scipy: 1.10.1\r\n    statsmodels: 0.14.0\r\n  version: 1.4.0\r\npsy_simple.plugin:\r\n  version: 1.4.1\r\npsyplot:\r\n  requirements:\r\n    matplotlib: 3.7.1\r\n    numpy: 1.24.3\r\n    pandas: 2.0.2\r\n    python: 3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:28:38) [MSC\r\n      v.1929 64 bit (AMD64)]\r\n    xarray: 2023.5.0\r\n  version: 1.4.3\r\npsyplot_gui:\r\n  requirements:\r\n    pyqt: 5.15.7\r\n    qt: 5.15.6\r\n    qtconsole: 5.4.3\r\n  version: 1.4.0\r\n\u003c/details\u003e\r\n\r\n\r\n","author":{"url":"https://github.com/dkobashi","@type":"Person","name":"dkobashi"},"datePublished":"2023-06-16T02:54:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/32/psyplot-gui/issues/32"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9dc3456c-bf59-6796-90e9-34ad0883cf34
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id85CA:8FB2E:41D3222:579C4EB:698C761D
html-safe-nonce3613a8c905f8776953ecb39e4e6987e0d55c8d048e7357584ed85a2b58d83e64
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUNBOjhGQjJFOjQxRDMyMjI6NTc5QzRFQjo2OThDNzYxRCIsInZpc2l0b3JfaWQiOiI5MDUyNTI2NjcwNjExNTEwODEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb96b2947e30bec50995d570f11bd85b47b20ee827d48e64d0732ad5dc23238e7
hovercard-subject-tagissue:1760175963
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/psyplot/psyplot-gui/32/issue_layout
twitter:imagehttps://opengraph.githubassets.com/54ae9f59bc17f00e0a5a7a03dd851183972884cdb91040dc158a0740961fc906/psyplot/psyplot-gui/issues/32
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/54ae9f59bc17f00e0a5a7a03dd851183972884cdb91040dc158a0740961fc906/psyplot/psyplot-gui/issues/32
og:image:altProblem description I tried to open ERA5 single level netcdf data to visualize on GUI; however, I had an error when I tried to plot a figure for a variable (e.g. u10). Expected Output When selectin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedkobashi
hostnamegithub.com
expected-hostnamegithub.com
None640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4
turbo-cache-controlno-preview
go-importgithub.com/psyplot/psyplot-gui git https://github.com/psyplot/psyplot-gui.git
octolytics-dimension-user_id60222268
octolytics-dimension-user_loginpsyplot
octolytics-dimension-repository_id55793611
octolytics-dimension-repository_nwopsyplot/psyplot-gui
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id55793611
octolytics-dimension-repository_network_root_nwopsyplot/psyplot-gui
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
release3d444f0a47beeeac94cddbb51c91ab408befe8d4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/psyplot/psyplot-gui/issues/32#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpsyplot%2Fpsyplot-gui%2Fissues%2F32
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%2Fpsyplot%2Fpsyplot-gui%2Fissues%2F32
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=psyplot%2Fpsyplot-gui
Reloadhttps://patch-diff.githubusercontent.com/psyplot/psyplot-gui/issues/32
Reloadhttps://patch-diff.githubusercontent.com/psyplot/psyplot-gui/issues/32
Reloadhttps://patch-diff.githubusercontent.com/psyplot/psyplot-gui/issues/32
psyplot https://patch-diff.githubusercontent.com/psyplot
psyplot-guihttps://patch-diff.githubusercontent.com/psyplot/psyplot-gui
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpsyplot%2Fpsyplot-gui
Fork 7 https://patch-diff.githubusercontent.com/login?return_to=%2Fpsyplot%2Fpsyplot-gui
Star 8 https://patch-diff.githubusercontent.com/login?return_to=%2Fpsyplot%2Fpsyplot-gui
Code https://patch-diff.githubusercontent.com/psyplot/psyplot-gui
Issues 9 https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/issues
Pull requests 20 https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/pulls
Actions https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/actions
Projects 0 https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/projects
Security 0 https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/security
Insights https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/pulse
Code https://patch-diff.githubusercontent.com/psyplot/psyplot-gui
Issues https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/issues
Pull requests https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/pulls
Actions https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/actions
Projects https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/projects
Security https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/security
Insights https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/psyplot/psyplot-gui/issues/32
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/psyplot/psyplot-gui/issues/32
#33https://github.com/psyplot/psyplot-gui/pull/33
AttributeError: 'PsyplotCanvasManager' object has no attribute '_get_toolbar'https://patch-diff.githubusercontent.com/psyplot/psyplot-gui/issues/32#top
#33https://github.com/psyplot/psyplot-gui/pull/33
https://patch-diff.githubusercontent.com/Chilipp
bughttps://github.com/psyplot/psyplot-gui/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/dkobashi
https://github.com/dkobashi
dkobashihttps://github.com/dkobashi
on Jun 16, 2023https://github.com/psyplot/psyplot-gui/issues/32#issue-1760175963
Chilipphttps://patch-diff.githubusercontent.com/Chilipp
bughttps://github.com/psyplot/psyplot-gui/issues?q=state%3Aopen%20label%3A%22bug%22
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.