Julian Irwin
2015-12-21 01:55:47 UTC
Hi,
I'm trying to set my default color cycle in my matplotlibrc using
axes.prop_cycle. The documentation (as far as I could find...) only gives
examples like
axes.prop_cycle : cycler('color', 'bgrcmyk')
And then the comment below says, cryptically:
# as list of string colorspecs:
# single letter, long name, or
# web-style hex
But I have tried all sorts of variatns on:
axes.prop_cycle : cycler('color', ['#e41a1c', '#377eb8', '#4daf4a',
'#ff7f00', '#a65628', '#f781bf', '#999999', '#984ea3', '#ffff33'])
But I always get an error upon importing matplotlib. Is there any doc on
how to do this properly? Is this even supported?
Thanks,
Julian
I'm trying to set my default color cycle in my matplotlibrc using
axes.prop_cycle. The documentation (as far as I could find...) only gives
examples like
axes.prop_cycle : cycler('color', 'bgrcmyk')
And then the comment below says, cryptically:
# as list of string colorspecs:
# single letter, long name, or
# web-style hex
But I have tried all sorts of variatns on:
axes.prop_cycle : cycler('color', ['#e41a1c', '#377eb8', '#4daf4a',
'#ff7f00', '#a65628', '#f781bf', '#999999', '#984ea3', '#ffff33'])
But I always get an error upon importing matplotlib. Is there any doc on
how to do this properly? Is this even supported?
Thanks,
Julian