-
-
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
Better log axis tick labeling with less label overlap for scatter plots #6120
base: master
Are you sure you want to change the base?
Conversation
… labeling with less overlap
The patch changes the default behaviour of tick labeling and so breaks some tests. I would actually prefer introducing a new tickformat, e.g. "D3", to show this behaviour and not break existing behaviour. But to implement that is beyond my abilities ... any help? |
Any comments, progress, review? |
Hi @jensb - thank you, this is definitely a mode a lot of people will like! But it's a big enough change that I don't think we can make it the default without a major version bump. I'd like to propose we add a new attribute like Also two issues I notice:
Thanks for kicking this off, and apologies for the slow review! |
Thank you! |
Adding an attribute is fairly easy, but you need to know where to do what. First the attribute needs to be defined, this one should probably go somewhere around here. Then in the At that point you can use it, and I think the file you've already been working in is the only one you'll need to change. After that we'll want some tests, but we can talk about that later :) |
Swap small single-digit subtick labels with normal-size multi-digit labels, but only at positions 2, 3, 5 and 7 to avoid text overlapping, and depending on subtick text length.
Details see https://stackoverflow.com/questions/70926979