title: Plotting two dataframe columns as xy-scatter plot not working with matplotlib/pandas
body: <p>I posted earlier today with a question about a script I'm working on <a href="https://stackoverflow.com/questions/66335912/pandas-typeerror-when-trying-to-count-nans-in-subset-of-dataframe-column/66336632?noredirect=1#comment117282887_66336632">here</a>. I now have things working, but I need to plot my data and am running into issues. No matter which method of plotting I try, I never get a plot. The 'closest' I've gotten is using <code>hitTable.plot(x='qty', y='probit')</code>, which just returns <code>&lt;AxesSubplot:xlabel='qty'&gt;</code> and no plot.</p>
  <p>Simplified code is below, which replaces the original import of data from .csv, data manipulation, calculations, etc. with a direct reconstruction of the dataframe I'm working with.</p>
  <pre><code>import os
  import pandas as pd
  import numpy as np
  import matplotlib.pyplot as plt
  import statsmodels as sm
  from scipy.stats import norm
  from tkinter import filedialog
  from tkinter import *
  
  # initialize tkinter
  root = Tk()
  root.withdraw()
  
  # bunch of code that was omitted for clarity
  
  qtys = [1,10,20,50,100]
  prop = [0.07142857142857142, 0.14285714285714285, 0.35714285714285715, 0.9285714285714286, 1.0]
  probit = [0] * len(qtys)
  
  # had to use this instead of creating the array, as the last value of the probit vector is 'inf' which throws an error if you try to include it directly
  for idx, val in enumerate(qtys):
     probit[idx] = 5 + norm.ppf(prop[idx])
  
  hitTable = np.vstack([qtys,prop,probit])
  hitTable = np.reshape(hitTable, (3,5))
  hitTable = hitTable.T
  hitTable = pd.DataFrame(hitTable)
  hitTable.columns=['qty','probability','probit']
  
  hitTable.plot(x='qty', y='probit')
  </code></pre>
  <p>Which results in the aforementioned (and undesired) <code>&lt;AxesSubplot:xlabel='qty'&gt;</code>. I'm just trying to get an X,Y scatter plot of points where the X-values are the values contained in <code>qtys</code> and the y-values are those in <code>probit</code>. Can anyone help?</p>
  <p>P.S. matplotlab is a dumpster fire</p>