<!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--> <!--You can feel free to delete the sections that do not apply.--> ### Bug report **Bug summary** The scale on the y-axis is missing in some logarithmic plots. <!--A short 1-2 sentences that succinctly describes the bug--> **Code for reproduction**: <!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--> ```python import matplotlib.pyplot as plt x = [1, 2] y = [3.7, 3.8] plt.plot(x,y) plt.yscale("log") plt.show() ``` **Actual outcome** <!--The output produced by the above code, which may be a screenshot, console output, etc.-->  **Expected outcome** There should be a scale on the y-axis. Without the scale, you can't tell what the value of y is. <!--A description of the expected outcome from the code snippet--> <!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--> **Matplotlib version** <!--Please specify your platform and versions of the relevant libraries you are using:--> * Operating system: Linux * Matplotlib version: 2.2.2 * Matplotlib backend (`print(matplotlib.get_backend())`): TkAgg * Python version: 3.5.2 * Jupyter version (if applicable): * Other libraries: <!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--> <!--If you installed from conda, please specify which channel you used if not the default-->
Activity
jklymak commentedon Nov 24, 2018
Thanks for reporting this - I think its a duplicate of #8768, and is being handled by #12865, so it should be fixed soon. In the meantime, you can change the locator to
AutoLocatorfor such a small dynamic range: https://matplotlib.org/examples/ticks_and_spines/tick-locators.htmljklymak commentedon Nov 24, 2018
I'm going to close, but feel free to comment at #12865 if you think your issue is different.