Skip to content

Problem with marker.line.width arrays containing scientific number strings #4057

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

Closed
archmoj opened this issue Jul 17, 2019 · 5 comments · Fixed by #4063
Closed

Problem with marker.line.width arrays containing scientific number strings #4057

archmoj opened this issue Jul 17, 2019 · 5 comments · Fixed by #4063
Labels
bug something broken

Comments

@archmoj
Copy link
Contributor

archmoj commented Jul 17, 2019

Scientific numbers in marker.line.width arrays may cause bar plot to fill the rest of plot in black!
Codepen.

@archmoj archmoj changed the title Hover problem with marker.line.width arrays containing scientific number strings Problem with marker.line.width arrays containing scientific number strings Jul 17, 2019
@etpinard
Copy link
Contributor

Good eye. Replacing "1e1" with 1e1 gives the correct result: https://codepen.io/etpinard/pen/KOPYJo?editors=0010

I wonder what we do elsewhere with exponent-notation inside strings (e.g. "1e1"). Do they even pass isNumeric?

@etpinard etpinard added the bug something broken label Jul 17, 2019
@archmoj
Copy link
Contributor Author

archmoj commented Jul 17, 2019

It is pretty strange. Only happens with bar and not with histogram, funnel or waterfall.
This might be a better codepen to illustrate the issue.

@archmoj
Copy link
Contributor Author

archmoj commented Jul 17, 2019

A regression may be involved here since 1.29.0:
Codepen.

@etpinard
Copy link
Contributor

@archmoj wanna close this one too?

@archmoj
Copy link
Contributor Author

archmoj commented Jul 18, 2019

No. In respect to #4056 (comment) let's keep that open until we apply similar fixes (already applied for bars) for other traces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants