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

Tick strings on the bottom axis overlaps with its label #30

Closed
veractor opened this issue Sep 5, 2023 · 3 comments
Closed

Tick strings on the bottom axis overlaps with its label #30

veractor opened this issue Sep 5, 2023 · 3 comments

Comments

@veractor
Copy link

veractor commented Sep 5, 2023

Bottom axis tick strings do not seem to account for the drawing of axis labels. This could be recreated by changing line

win = LivePlotWidget(title="Vertical Bar Plot @ 100Hz")

to:

win = LivePlotWidget(title="Vertical Bar Plot @ 100Hz", labels={'bottom': ("hello"), 'left': ("hello")})

in vertical_bar_plot.py of examples. Here is what it looks like:

x-axis overlap

This does not seem to be a problem with other axes, just the bottom one.

@veractor
Copy link
Author

veractor commented Sep 5, 2023

I think this only happens with the latest release, v0.7.0.

@domarm-comat
Copy link
Owner

Thanks for debugging!
Yes, this was newly intorduced issue in 0.7.0. It should be fixed in 0.7.1.

@veractor
Copy link
Author

veractor commented Sep 6, 2023

Well, it sure doesn't overlap now, but there's more null space:
overshot

Compared to in v0.6.8:
0 6 8

It's a minor nitpick though, as it fixes the problem. Ideally it would look exactly the same and the two axes would look more congruent, but it shouldn't matter that much.

@veractor veractor closed this as completed Sep 6, 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