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

The default logit minor locator should not display tick labels #13698

Closed
anntzer opened this issue Mar 18, 2019 · 1 comment
Closed

The default logit minor locator should not display tick labels #13698

anntzer opened this issue Mar 18, 2019 · 1 comment
Milestone

Comments

@anntzer
Copy link
Contributor

anntzer commented Mar 18, 2019

Bug report

Code for reproduction

from pylab import *
rcdefaults()
fig, axs = plt.subplots(2)
axs[0].plot([1, 100]); axs[0].set(yscale="log")
axs[1].plot([.01, .99]); axs[1].set(yscale="logit")
plt.show()

Actual outcome

test

Expected outcome

The logit minor tick labels are "a bit" crowded... (examples in the docs that showcase logit all explicitly remove the minor labels using e.g. NullFormatter)

LogitFormatter should likely use a mechanism similar to LogFormatter's sublabels to avoid displaying the minor ticks labels in this case (haven't thought about the details, though).

Matplotlib version

  • Operating system: linux
  • Matplotlib version: 3/master
  • Matplotlib backend (print(matplotlib.get_backend())): any
  • Python version: 3.7
  • Jupyter version (if applicable): no
  • Other libraries: no
@anntzer
Copy link
Contributor Author

anntzer commented Aug 6, 2019

Fixed by #14512.

@anntzer anntzer closed this as completed Aug 6, 2019
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