title: python scatter ndarray dimension size error and rgb color issue
body: <p>I am having trouble making a scatter plot with a log scale for the values. The arrays I have are numpy ndarray's. x.size = 19, y.size = 18, and data is 19x18. It is telling me "ValueError: x and y must be the same size". But they shouldn't have to be?! I tried botching it and just making each one 18, but then it wasn't converting my data values to the 0-1 range and it was giving me an rbg color error.
  Any help would be greatly appreciated!</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  from matplotlib.cm import get_cmap
  from matplotlib.colors import (LogNorm, Normalize,SymLogNorm)
  from matplotlib.ticker import (LogLocator, LogFormatter, LogFormatterMathtext, 
                             MultipleLocator)
  x= np.arange(19)
  y = np.arange(18)
  data = np.random.random_sample((19, 18))
  
  sc =ax2.scatter(x,y,c=data,norm=LogNorm(),
                  cmap=get_cmap('Spectral_r'),edgecolors='none')
  cbar1 = fig.colorbar(sc,ax=ax2,ticks=LogLocator(),format=LogFormatterMathtext())
  </code></pre>