Skip to content

xaxis: the title (with standoff = 0) is misplaced when the tick labels are hidden #6576

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
Nauss opened this issue Apr 20, 2023 · 1 comment

Comments

@Nauss
Copy link

Nauss commented Apr 20, 2023

This pen is the Set and Style Axes Title Labels and Ticks example with the added standoff parameter on the title.

title: { text: "AXIS TITLE", standoff: 0 }

When changing the showticklabels: true to showticklabels: false, the xaxis' title "moves" at the top of the plot.

I have an easy workaround: when showticklabels = false I just set standoff = undefined and the tilte is back in its expected place.

Looks like a bug but I might be missing something ?
I also think it is a regression that came after 2.13.3...

@alexcjohnson
Copy link
Collaborator

Duplicate of #6552 - thanks!

@alexcjohnson alexcjohnson closed this as not planned Won't fix, can't repro, duplicate, stale Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants