title: Jupyter Notebook graph has very inaccurate scale?
body: <p>this is my first post and I hope it's okay. My mentor gave me a <a href="https://developers.redhat.com/articles/2021/05/21/introduction-machine-learning-jupyter-notebooks#using_a_jupyter_notebook_for_machine_learning" rel="nofollow noreferrer">use case</a> he found online to teach me machine learning on Jupyter. I had a problem with the graphing section, even though I'm sure the code in that part is accurate:</p>
  <pre><code>df21.plot(figsize=(20,10), fontsize=12,subplots=True, style=[&quot;-&quot;,&quot;o&quot;], title = &quot;Pump 2 - 100 Values&quot;)
  plt.show() 
  </code></pre>
  <p>The graphs seems to appear as two points or a single straight line, even though the df21 dataset I'm using has 100 lines, and the values are not binary:</p>
  <p><a href="https://i.stack.imgur.com/tu7hv.png" rel="nofollow noreferrer">Graphs just look like straight lines</a></p>
  <p><a href="https://i.stack.imgur.com/q0P6o.png" rel="nofollow noreferrer">Screenshot of the use case</a></p>
  <p>I tried changing format to just plots and found that the points are actually all there, the scale of the axes is just incredibly squished:</p>
  <p><a href="https://i.stack.imgur.com/VkaCx.png" rel="nofollow noreferrer">Graph with only plots</a></p>
  <p>And I have no idea what to do now, and I haven't been able to find any solutions online. Any advice is appreciated!</p>