Some answers were given here:
https://stackoverflow.com/questions/24193174/reset-color-cycle-in-matplotlib
I prefer the
ax.set_prop_cycler(None)
approach, but I want to reset only the 'color' (I assume this will reset all
cyclers to defaults). I would have expected something like this to work:
ax.set_prop_cycler('color', None)
but it doesn't.
That is not an available feature in the underlying cycler class. We would
need to implement a new feature in cycler first, then add our hooks to it
in matplotlib.
ยทยทยท
On Thu, Jan 11, 2018 at 8:33 AM, Neal Becker <ndbecker2 at gmail.com> wrote:
Some answers were given here:
python - Reset color cycle in Matplotlib - Stack Overflow
color-cycle-in-matplotlib
I prefer the
ax.set_prop_cycler(None)
approach, but I want to reset only the 'color' (I assume this will reset
all
cyclers to defaults). I would have expected something like this to work:
ax.set_prop_cycler('color', None)
but it doesn't.
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
Matplotlib-users Info Page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180111/de8771fb/attachment.html>