Text of discourse.matplotlib.org › t › defaults › 18915 as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Defaults? - matplotlib-users - Matplotlib

Defaults? Community matplotlib-users Sebastian_Berg November 7, 2014, 3:15pm 1 Hey, just something I was wondering about today. I commonly want to change certain things about my plots. For example I like a serif/larger fonts, and everyone knows that "jet" is an awful default colour map almost always... It could be neat to have some more "default" rc's or so that can be loaded easily. I mean I could just create one for myself, but having some examples of what can be done and being able to switch that could be neat.

Such as some defaults that are better for printing, maybe in matplotlib or really just on a website which shows some example plot for uploaded RCs. Anyway, just rambling :), I am not planning to really think about it much. And maybe some things even exist and I am not aware of it. Regards, Sebastian Francesco_Montesano November 7, 2014, 4:01pm 2 Hi Sebastian, If you want to set the defaults only once and use them forever, there is the matplotlibrc file ( http://matplotlib.org/users/customizing.html ) If you want to easily change the defaults according to the context of the plot mpltools by Tony S.

Yu can help you ( https://github.com/tonysyu/mpltools ) Cheers, Fra ··· 2014-11-07 16:15 GMT+01:00 Sebastian Berg <sebastian@…3476…>: Hey, just something I was wondering about today. I commonly want to change certain things about my plots. For example I like a serif/larger fonts, and everyone knows that “jet” is an awful default colour map almost always… It could be neat to have some more “default” rc’s or so that can be loaded easily.

I mean I could just create one for myself, but having some examples of what can be done and being able to switch that could be neat. Such as some defaults that are better for printing, maybe in matplotlib or really just on a website which shows some example plot for uploaded RCs. Anyway, just rambling :), I am not planning to really think about it much. And maybe some things even exist and I am not aware of it. Regards, Sebastian Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users Adam_Hughes November 7, 2014, 4:04pm 3 I use a config file in ipython notebooks that sets some parameters of the ipython notebook and then sets the matplotlib defaults. http://nbviewer.ipython.org/github/hugadams/pyuvvis/blob/master/examples/Notebooks/NBCONFIG.ipynb Then I use in all subsequent analysis in the ipython notebook: http://nbviewer.ipython.org/urls/raw.github.com/hugadams/pyuvvis/master/examples/Notebooks/basic_units.ipynb ··· On Fri, Nov 7, 2014 at 10:15 AM, Sebastian Berg <sebastian@…3476…> wrote: Hey, just something I was wondering about today.

I commonly want to change certain things about my plots. For example I like a serif/larger fonts, and everyone knows that “jet” is an awful default colour map almost always… It could be neat to have some more “default” rc’s or so that can be loaded easily. I mean I could just create one for myself, but having some examples of what can be done and being able to switch that could be neat. Such as some defaults that are better for printing, maybe in matplotlib or really just on a website which shows some example plot for uploaded RCs.

Anyway, just rambling :), I am not planning to really think about it much. And maybe some things even exist and I am not aware of it. Regards, Sebastian Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users Sebastian_Berg November 7, 2014, 4:32pm 4 Hey, just something I was wondering about today. I commonly want to change certain things about my plots. For example I like a serif/larger fonts, and everyone knows that "jet" is an awful default colour map almost always...

It could be neat to have some more "default" rc's or so that can be loaded easily. I mean I could just create one for myself, but having some examples of what can be done and being able to switch that could be neat. Such as some defaults that are better for printing, maybe in matplotlib or really just on a website which shows some example plot for uploaded RCs. Anyway, just rambling :), I am not planning to really think about it much.

And maybe some things even exist and I am not aware of it. Nevermind, seems like we got matpltolib.style in 1.4, that is cool. Now all I could hope for is for some more styles ;). - Sebastian ··· On Fr, 2014-11-07 at 16:15 +0100, Sebastian Berg wrote: Regards, Sebastian ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list [email protected] matplotlib-users List Signup and Options