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

Scatter3d right textalignment overlaps points #2871

Closed
jonmmease opened this issue Aug 4, 2018 · 0 comments
Closed

Scatter3d right textalignment overlaps points #2871

jonmmease opened this issue Aug 4, 2018 · 0 comments
Assignees
Labels
bug something broken

Comments

@jonmmease
Copy link
Contributor

One of two issues reported in plotly/plotly.py#1055

CodePen: https://codepen.io/anon/pen/qyKLLe

For a scatter3d trace, setting the textposition property to "middle left" causes the text to be displayed nicely to the left of the points:

screen shot 2018-08-04 at 6 58 36 am

Setting the property to "middle right" causes the text to overlap the associated point:

screen shot 2018-08-04 at 6 58 56 am

It looks like the text alignment is correctly changed, but an offset is needed to push the text anchor to the right. The 2D scatter trace does not have this issue.

@etpinard etpinard added the bug something broken label Aug 7, 2018
@archmoj archmoj self-assigned this Oct 21, 2018
archmoj added a commit that referenced this issue Oct 30, 2018
Fixed issue #2871 - Improved text alignments in scatter3d namely right, top and bottom adjustments
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

No branches or pull requests

3 participants