René's URL Explorer Experiment


Title: bug: error with the latest dev version AttributeError: 'list' object has no attribute 'dtype' · Issue #411 · proplot-dev/proplot · GitHub

Open Graph Title: bug: error with the latest dev version AttributeError: 'list' object has no attribute 'dtype' · Issue #411 · proplot-dev/proplot

X Title: bug: error with the latest dev version AttributeError: 'list' object has no attribute 'dtype' · Issue #411 · proplot-dev/proplot

Description: Got error with the latest dev version: fig, ax = pplt.subplot() ax.plot(np.arange(10)) Traceback --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /tmp/ipykernel_...

Open Graph Description: Got error with the latest dev version: fig, ax = pplt.subplot() ax.plot(np.arange(10)) Traceback --------------------------------------------------------------------------- AttributeError Traceback...

X Description: Got error with the latest dev version: fig, ax = pplt.subplot() ax.plot(np.arange(10)) Traceback --------------------------------------------------------------------------- AttributeError Traceback...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: error with the latest dev version AttributeError: 'list' object has no attribute 'dtype'","articleBody":"Got error with the latest dev version:\r\n```python\r\nfig, ax = pplt.subplot()\r\nax.plot(np.arange(10))\r\n```\r\n\r\nTraceback\r\n```\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n/tmp/ipykernel_109695/309448141.py in \u003cmodule\u003e\r\n      1 fig, ax = pplt.subplot()\r\n----\u003e 2 ax.plot(np.arange(10))\r\n\r\n~/local/conda/envs/nemo/lib/python3.8/site-packages/proplot/internals/inputs.py in _preprocess_or_redirect(self, *args, **kwargs)\r\n    292 \r\n    293                 # Call main function\r\n--\u003e 294                 return func(self, *args, **kwargs)  # call unbound method\r\n    295 \r\n    296         return _preprocess_or_redirect\r\n\r\n~/local/conda/envs/nemo/lib/python3.8/site-packages/proplot/axes/plot.py in plot(self, *args, **kwargs)\r\n   2899         \"\"\"\r\n   2900         kwargs = _parse_vert(default_vert=True, **kwargs)\r\n-\u003e 2901         return self._apply_plot(*args, **kwargs)\r\n   2902 \r\n   2903     @inputs._preprocess_or_redirect('y', 'x', allow_extra=True)\r\n\r\n~/local/conda/envs/nemo/lib/python3.8/site-packages/proplot/axes/plot.py in _apply_plot(self, vert, *pairs, **kwargs)\r\n   2858             ys, kw = inputs._dist_reduce(ys, **kw)\r\n   2859             guide_kw = _pop_params(kw, self._update_guide)  # after standardize\r\n-\u003e 2860             for _, n, x, y, kw in self._iter_arg_cols(xs, ys, **kw):\r\n   2861                 kw = self._parse_cycle(n, **kw)\r\n   2862                 *eb, kw = self._add_error_bars(x, y, vert=vert, default_barstds=True, **kw)  # noqa: E501\r\n\r\n~/local/conda/envs/nemo/lib/python3.8/site-packages/proplot/axes/plot.py in _iter_arg_cols(self, label, labels, values, *args, **kwargs)\r\n   4216             labels = [\r\n   4217                 str(_not_none(label, ''))\r\n-\u003e 4218                 for label in inputs._to_numpy_array(labels)\r\n   4219             ]\r\n   4220         else:\r\n\r\n~/local/conda/envs/nemo/lib/python3.8/site-packages/proplot/internals/inputs.py in _to_numpy_array(data, strip_units)\r\n    131     elif isinstance(data, (DataFrame, Series, Index)):\r\n    132         data = data.values\r\n--\u003e 133     if data.dtype == bool:\r\n    134         data = data.view(np.uint8)\r\n    135     if Quantity is not ndarray and isinstance(data, Quantity):\r\n\r\nAttributeError: 'list' object has no attribute 'dtype'\r\n```\r\n\r\ndebug\r\n```\r\n\u003e ~/local/conda/envs/nemo/lib/python3.8/site-packages/proplot/internals/inputs.py(133)_to_numpy_array()\r\n    131     elif isinstance(data, (DataFrame, Series, Index)):\r\n    132         data = data.values\r\n--\u003e 133     if data.dtype == bool:\r\n    134         data = data.view(np.uint8)\r\n    135     if Quantity is not ndarray and isinstance(data, Quantity):\r\n\r\nipdb\u003e p data\r\n[None]\r\n```\r\n\r\nThe error seems related to this PR https://github.com/proplot-dev/proplot/pull/410.","author":{"url":"https://github.com/syrte","@type":"Person","name":"syrte"},"datePublished":"2023-03-24T23:51:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/411/proplot/issues/411"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ef2ed1a3-8785-ee07-d8d4-4500b130fb55
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB91C:1AB35C:15D904:1CC040:697D18E3
html-safe-noncea27d6c0acb1ae7467af015de3033521c2be141ef0afc65d7fbb4fceb210e2d83
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTFDOjFBQjM1QzoxNUQ5MDQ6MUNDMDQwOjY5N0QxOEUzIiwidmlzaXRvcl9pZCI6IjMyNDgzMjQ3NzYwODIzNDgyNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca95f0119515e065cc8743d2b8deab2c1c679cf2b23c8fe293902b770226b5ab0
hovercard-subject-tagissue:1640205692
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/411/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e18ec22a735c50326728fecd8b5a0a0c3c45d00f5e980d073d2845dc6a1bf801/proplot-dev/proplot/issues/411
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e18ec22a735c50326728fecd8b5a0a0c3c45d00f5e980d073d2845dc6a1bf801/proplot-dev/proplot/issues/411
og:image:altGot error with the latest dev version: fig, ax = pplt.subplot() ax.plot(np.arange(10)) Traceback --------------------------------------------------------------------------- AttributeError Traceback...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesyrte
hostnamegithub.com
expected-hostnamegithub.com
None6bac6431e041e40aadf6b728ae7d4714d3e9db06146c32859d7f755bfd99f370
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
release16471c97de653e844cc3021141a92460ac261244
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/proplot-dev/proplot/issues/411#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fproplot-dev%2Fproplot%2Fissues%2F411
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fproplot-dev%2Fproplot%2Fissues%2F411
Sign up https://github.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://github.com/proplot-dev/proplot/issues/411
Reloadhttps://github.com/proplot-dev/proplot/issues/411
Reloadhttps://github.com/proplot-dev/proplot/issues/411
proplot-dev https://github.com/proplot-dev
proplothttps://github.com/proplot-dev/proplot
Notifications https://github.com/login?return_to=%2Fproplot-dev%2Fproplot
Fork 97 https://github.com/login?return_to=%2Fproplot-dev%2Fproplot
Star 1.1k https://github.com/login?return_to=%2Fproplot-dev%2Fproplot
Code https://github.com/proplot-dev/proplot
Issues 88 https://github.com/proplot-dev/proplot/issues
Pull requests 7 https://github.com/proplot-dev/proplot/pulls
Discussions https://github.com/proplot-dev/proplot/discussions
Actions https://github.com/proplot-dev/proplot/actions
Projects 0 https://github.com/proplot-dev/proplot/projects
Security 0 https://github.com/proplot-dev/proplot/security
Insights https://github.com/proplot-dev/proplot/pulse
Code https://github.com/proplot-dev/proplot
Issues https://github.com/proplot-dev/proplot/issues
Pull requests https://github.com/proplot-dev/proplot/pulls
Discussions https://github.com/proplot-dev/proplot/discussions
Actions https://github.com/proplot-dev/proplot/actions
Projects https://github.com/proplot-dev/proplot/projects
Security https://github.com/proplot-dev/proplot/security
Insights https://github.com/proplot-dev/proplot/pulse
New issuehttps://github.com/login?return_to=https://github.com/proplot-dev/proplot/issues/411
New issuehttps://github.com/login?return_to=https://github.com/proplot-dev/proplot/issues/411
bug: error with the latest dev version AttributeError: 'list' object has no attribute 'dtype'https://github.com/proplot-dev/proplot/issues/411#top
bughttps://github.com/proplot-dev/proplot/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/syrte
https://github.com/syrte
syrtehttps://github.com/syrte
on Mar 24, 2023https://github.com/proplot-dev/proplot/issues/411#issue-1640205692
#410https://github.com/proplot-dev/proplot/pull/410
bughttps://github.com/proplot-dev/proplot/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.