Get matplotlib color cycle state

后端 未结 9 1594
慢半拍i
慢半拍i 2020-11-27 10:36

Is it possible to query the current state of the matplotlib color cycle? In other words is there a function get_cycle_state that will behave in the following wa

9条回答
  •  醉酒成梦
    2020-11-27 11:20

    The simplest way possible I could find without doing the whole loop through the cycler is ax1.lines[-1].get_color().

提交回复
热议问题