title: using a series as markersize in python plt.plot
body: <p>Is it possible to use a column in a dataframe to scale the marker size in matplotlib? I keep getting an error about using a series when I do the following.</p>
  
  <pre><code>import pandas as pd
  import matplotlib.pyplot as plt
  
  my_dict = {'Vx': [16,25,85,45], 'r': [1315,5135,8444,1542], 'ms': [10,50,100, 25]}
  df= pd.DataFrame(my_dict)
  fig, ax = plt.subplots(1, 1, figsize=(20, 10))
  ax.plot(df.Vx, df.r, '.', markersize= df.ms)
  </code></pre>
  
  <p>when I run</p>
  
  <pre><code>ValueError: setting an array element with a sequence.
  </code></pre>
  
  <p>I'm guessing it does not like the fact that Im feeding a series to the marker, but there must be a way to make it work...</p>