title: Get matplotlib color cycle state
body: <p>Is it possible to query the current state of the matplotlib color cycle? In other words is there a function <code>get_cycle_state</code> that will behave in the following way?</p>
  
  <pre><code>&gt;&gt;&gt; plot(x1, y1)
  &gt;&gt;&gt; plot(x2, y2)
  &gt;&gt;&gt; state = get_cycle_state()
  &gt;&gt;&gt; print state
  2
  </code></pre>
  
  <p>Where I expect the state to be the index of the next color that will be used in a plot. Alternatively, if it returned the next color ("r" for the default cycle in the example above),  that would be fine too.</p>