title: Pyplot won't let me create a plot with more than ~7280 points
body: <p>I'm trying to create a scatterplot with about 10k points:</p>
  
  <pre><code>from random import shuffle
  import matplotlib.pyplot as plt
  
  # Dataset of numbers up to 10k
  numbers = range(10000)
  shuffle(numbers)
  xvalues, yvalues = zip(*list(enumerate(numbers)))
  
  plt.scatter(yvalues, xvalues)
  plt.xscale("log")
  plt.show()
  </code></pre>
  
  <p>But I get the error:</p>
  
  <blockquote>
    <p>Assertion failed: (transform_is_valid(m)), function CGMutablePathRef CGPathCreateMutableCopyByTransformingPath(CGPathRef, const CGAffineTransform *), file Paths/CGPath.cc, line 168.
    Abort trap: 6</p>
  </blockquote>
  
  <p>If I reduce the number of points to around 7284 it works though!</p>
  
  <pre><code>xvalues, yvalues = zip(*list(enumerate(numbers[:7284])))
  </code></pre>
  
  <p>Why?</p>