From: Julian I. <jul...@gm...> - 2015-12-21 20:33:39
|
Ahh, the hashes were the problem! Thanks for your help. Julian On Mon, Dec 21, 2015 at 8:45 AM, Benjamin Root <ben...@gm...> wrote: > You can't use the hash symbol when doing colors as a hex in an rcfile. The > rcfile parser is so simple that it treats it as a comment. Don't drop the > quotes. > > Ben Root > > On Mon, Dec 21, 2015 at 12:51 AM, Thomas Caswell <tca...@gm...> > wrote: > >> Not at a computer to test, but try dropping the quotes. >> >> On Sun, Dec 20, 2015, 20:56 Julian Irwin <jul...@gm...> wrote: >> >>> 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 >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > |