<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">The scale on the y-axis is missing in some logarithmic plots.</p>

<p dir="auto"><strong>Code for reproduction</strong>:</p>

<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt

x = [1, 2]
y = [3.7, 3.8]

plt.plot(x,y)
plt.yscale(&quot;log&quot;)
plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>

<span class="pl-s1">x</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>]
<span class="pl-s1">y</span> <span class="pl-c1">=</span> [<span class="pl-c1">3.7</span>, <span class="pl-c1">3.8</span>]

<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>,<span class="pl-s1">y</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">yscale</span>(<span class="pl-s">"log"</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>

<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39418860/48962990-92f6b580-ef89-11e8-8bd0-31d2314855c5.png"><img src="https://user-images.githubusercontent.com/39418860/48962990-92f6b580-ef89-11e8-8bd0-31d2314855c5.png" alt="abc" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">There should be a scale on the y-axis. Without the scale, you can't tell what the value of y is.</p>


<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system: Linux</li>
<li>Matplotlib version: 2.2.2</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): TkAgg</li>
<li>Python version: 3.5.2</li>
<li>Jupyter version (if applicable):</li>
<li>Other libraries:</li>
</ul>
<h3 dir="auto">Bug report</h3>
<p dir="auto">For the data in a small range, there is just on tick in the default log scale axis, which means nothing.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pylab as plt
plt.loglog([ 0.53,  0.41],[ 0.53,  0.41] )
plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pylab</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-s1">plt</span>.<span class="pl-en">loglog</span>([ <span class="pl-c1">0.53</span>,  <span class="pl-c1">0.41</span>],[ <span class="pl-c1">0.53</span>,  <span class="pl-c1">0.41</span>] )
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6657200/27209937-79adcc04-5281-11e7-82d2-003beb5706f4.png"><img src="https://user-images.githubusercontent.com/6657200/27209937-79adcc04-5281-11e7-82d2-003beb5706f4.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong><br>
Give at least two ticks for each axis.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating System: Ubuntu 16.04</li>
<li>Matplotlib Version: 2.02</li>
<li>Python Version: 3.6.0<br>
I install the library by conda.</li>
</ul>