Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Support for plotting pint scalars #4719

Open
hdavid16 opened this issue Aug 16, 2024 · 0 comments
Open

Feature request: Support for plotting pint scalars #4719

hdavid16 opened this issue Aug 16, 2024 · 0 comments
Labels
feature something new P3 not needed for current cycle

Comments

@hdavid16
Copy link

I love the figures generated with plotly. I want to use it as the backend for a Pandas dataframe that has units of measurement using (Pint). Unfortunately, these plots fail with the error:

AttributeError: 'float' object has no attribute 'tolist'

It seems that the issue is that Plotly is not recognizing Pint scalars as scalars. A MWE example is given on the following pint-pandas issue.

Thanks.

@gvwilson gvwilson added feature something new P3 not needed for current cycle labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 not needed for current cycle
Projects
None yet
Development

No branches or pull requests

2 participants