Feed on
Posts
Comments

to change the default line color order (color cycle in matplotlib-speak):

ax.set_color_cycle(['green', 'orange', 'blue', 'red','brown','pink'])

note that this will also go ahead and reset the line counter.


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.