Skip to content

Incorrect display of minor ticks in Log Scale plot with large font size #8419

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
billtau opened this issue Apr 3, 2017 · 2 comments
Closed

Comments

@billtau
Copy link

billtau commented Apr 3, 2017

Bug summary

  • If I use a larger font size than the default one, a large range of data in Log scale plot results in incorrect display of minor ticks.

Code for reproduction

import matplotlib.pyplot as plt
import matplotlib as mpl

mpl.rcParams['font.size'] = 20

plt.close()

plt.plot([0,1], [1e-7, 1e-0])
plt.yscale('log')

plt.show()

Actual outcome

log_wrong

Expected outcome

  • I would expect the minor ticks to be not displayed at all, or displayed correctly like one with default font size.

log_correct

Matplotlib version

  • Matplotlib version, Python version and Platform (Windows, OSX, Linux ...)

Matplotlib 2.0.0, Python 3.5.3, OSX

  • How did you install Matplotlib and Python (pip, anaconda, from source ...)

via Macports

@phobson
Copy link
Member

phobson commented Apr 3, 2017

Thanks for the report. I think this has already been fixed in master via #8381

@efiring
Copy link
Member

efiring commented Apr 3, 2017

Correct. Closing.

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

3 participants