-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Contour negative valued layer is not visible #4415
Comments
Thanks for pointing this out. Maybe instead of some vertical adjustment, we could implement #1597 to make the minus sign more visible. |
Oh you mean some padding between the negative sign and the start of the contour line i.e. tweaking the label bounding box dimensions to "pad" the text of the contour labels. That's actually a great idea with or without #1597 and is probably much easier to implement. Calling this a bug. Thanks for posting @poldz123 ! |
BTW whenever this gets addressed, looks like contour labels sometimes use the regular hyphen "-", not minus sign "−" like we do for all other negatives plotly.js/src/constants/numerical.js Line 62 in 162afe4
Looking at https://rreusser.github.io/plotly-mock-viewer/#contour_edge_cases - perhaps when @poldz123 does your example use |
@alexcjohnson I do use the |
@poldz123 I'm attempting to fix this problem in #4540, maybe you could try out this dev bundle: https://65959-45646037-gh.circle-artifacts.com/0/dist/plotly.min.js in your use case to see if the results are to your likings. Thanks! |
@etpinard Thanks. |
Negative numbers within the layer are not that visible, it looks like the symbol it is part of the line.
Adding extra padding should fix this visibility issue only for negative symbols.
The text was updated successfully, but these errors were encountered: