Skip to content

Axis labels (sprites) breaking into the chart #5896

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

Open
Quost opened this issue Aug 19, 2021 · 1 comment
Open

Axis labels (sprites) breaking into the chart #5896

Quost opened this issue Aug 19, 2021 · 1 comment
Labels
bug something broken P3 backlog

Comments

@Quost
Copy link

Quost commented Aug 19, 2021

I'm using surface 3d graphics, and I'm having problems with ticks.

On issue #3306 @ShaneHudson released a JSFiddle that contains my problem:

Take a look at the following:
A) https://jsfiddle.net/mqdevWG/asyjph3u/

As you can see, in this example there is an axis label that is quite big, and this label 'enters' the chart as you can see:

image

Does anyone know anything that could help me with this case? Below I leave a print of the situation that happened to me:

image

Thanks in advance for any help!

@chriddyp chriddyp added the bug something broken label May 4, 2023
@chriddyp
Copy link
Member

chriddyp commented May 4, 2023

Another repro:

import plotly.express as px
df = px.data.iris()
df['text'] = df['sepal_length'].apply(lambda x : f"This is a long label for value {x}")

fig = px.scatter_3d(df, x='text', y='sepal_width', z='petal_width',
              color='species')
fig.show()

image

@gvwilson gvwilson self-assigned this Jul 5, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added the P3 backlog label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 backlog
Projects
None yet
Development

No branches or pull requests

3 participants