|
From: Tony Yu <ts...@gm...> - 2015-03-04 05:22:40
|
On Tue, Mar 3, 2015 at 11:50 AM, Gökhan Sever <gok...@gm...> wrote: > I see seaborn has "paper, notebook, talk, and poster" options. > http://stanford.edu/~mwaskom/software/seaborn-dev/aesthetics.html > Apperantly he scales each parameter to get modified views. This would be a > good addition for any of the styles available in matplotlib. > A similar pattern with `matplotlib.style` would use chained stylesheets. The idea would be to make stylesheets either aesthetics focused or layout focused. By aesthetics, I mean things like colors and marker shape, and by layout, I mean things like default figure size, figure padding, font size, etc. Then you can easily have a style that defines the general aesthetics and easily modify it for papers, talks, etc. Here's an example from `mpltools`, but the same syntax applies to the `style` module in `matplotlib`: http://tonysyu.github.io/mpltools/auto_examples/style/plot_multiple_styles.html (PoF = Physics of Fluids journal; IIRC I think I have some personal stylesheets that take the normal two-column figure layout and convert it to a full-page layout.) -Tony > > On Tue, Mar 3, 2015 at 12:35 PM, Marin GILLES <mrn...@gm...> wrote: > >> Le 03/03/2015 18:15, Gökhan Sever a écrit : >> >> >> >> On Tue, Mar 3, 2015 at 12:07 PM, Marin GILLES <mrn...@gm...> >> wrote: >> >>> >>> Sure, I'll be careful about that. >>> I'm going to go try and design some new interesting ones. >>> Maybe adding some styles specific to some plot types could be useful. >>> Also some styles specific for some applications (geoscience, biology)? >>> If you have any other ideas, please let me know. >>> >>> -- >>> *Marin GILLES* >>> >> >> It would be good to have styles for "paper" and "presentation" modes. >> The former would have smaller ticks, labels, linewidths, other axis >> elements that goes into a journal publication, while the latter with much >> magnified elements to be clearly visible on a screen from the back of a >> room. >> >> Indeed it would be a very good idea. >> I've seen that already in the seaborn lib I guess. >> >> -- >> *Marin GILLES* >> >> *PhD student CNRS * >> >> >> >> * Laboratoire Interdisciplinaire Carnot de Bourgogne (ICB) UMR 6303 CNRS >> - Université de Bourgogne 9 av Alain Savary, BP 47870 21078, Dijon (France) >> * ☎ (+33)6.79.35.30.11 >> ✉ mar...@u-... >> > > > > -- > Gökhan > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |