Re: [Matplotlib-users] Plotting style

2015-03-13 Thread Benjamin Root
That should probably be filed as a bug report with example code. On Fri, Mar 13, 2015 at 5:53 AM, Marin GILLES wrote: > Le 05/03/2015 17:35, Eric Firing a écrit : > > On 2015/03/05 6:11 AM, Marin GILLES wrote: > > Hello everyone, > After working a bit on the styles, I noticed that some param

Re: [Matplotlib-users] Plotting style

2015-03-13 Thread Marin GILLES
Le 05/03/2015 17:35, Eric Firing a écrit : On 2015/03/05 6:11 AM, Marin GILLES wrote: Hello everyone, After working a bit on the styles, I noticed that some parameters could not be modified using an rc or style file (for example, turning off the right, left, up or down axis). I kind of saw how

Re: [Matplotlib-users] Plotting style

2015-03-10 Thread Eric Firing
On 2015/03/09 8:56 PM, Marin GILLES wrote: > Actually, I just brute loaded mpl for source... I am not really used to it. > So I guess I'll have to make a virtual env and install mpl in it? You have to build and install it somewhere, where it will be found when you try to import it; whether you us

Re: [Matplotlib-users] Plotting style

2015-03-09 Thread Marin GILLES
Le 10/03/2015 07:52, Eric Firing a écrit : On 2015/03/09 8:14 PM, Marin GILLES wrote: Hi, As suggested in PR 2702 , I have been trying to tell |scatter| to |get_current_color_cycle| for the facecolor. I guess I can use |axes.get_color()|to get

Re: [Matplotlib-users] Plotting style

2015-03-09 Thread Eric Firing
On 2015/03/09 8:14 PM, Marin GILLES wrote: > Hi, > As suggested in PR 2702 > , I have been trying > to tell |scatter| to |get_current_color_cycle| for the facecolor. I > guess I can use |axes.get_color()|to get the current color in the color > cyc

Re: [Matplotlib-users] Plotting style

2015-03-09 Thread Marin GILLES
Le 06/03/2015 22:42, Marin GILLES a écrit : This package is indeeed pretty nice, and I will surely take a look into it, but the way styles are added does not seem quite practical or shareable. In my opinion, having a style file for each paper makes things more flexible, although this package m

Re: [Matplotlib-users] Plotting style

2015-03-06 Thread Marin GILLES
This package is indeeed pretty nice, and I will surely take a look into it, but the way styles are added does not seem quite practical or shareable. In my opinion, having a style file for each paper makes things more flexible, although this package may get more control out of the box. Also, not b

Re: [Matplotlib-users] Plotting style

2015-03-06 Thread Olga Botvinnik
There's also the "plotsettings" package which makes it easy to switch between styles required by different papers. https://pypi.python.org/pypi/plotsettings On Wed, Mar 4, 2015 at 1:29 PM Marin GILLES wrote: > Le 04/03/2015 06:21, Tony Yu a écrit : > > On Tue, Mar 3, 2015 at 11:50 AM, Gökhan

Re: [Matplotlib-users] Plotting style

2015-03-05 Thread Eric Firing
On 2015/03/05 6:11 AM, Marin GILLES wrote: > Hello everyone, > After working a bit on the styles, I noticed that some parameters could > not be modified using an rc or style file (for example, turning off the > right, left, up or down axis). I kind of saw how to do it using the > |Axis.spine.set_vi

Re: [Matplotlib-users] Plotting style

2015-03-05 Thread Thomas Caswell
the rcparams are stored in a sub-class of dict which does both name and value validation on the way in. This is controlled by the class-level attribute `validate` (which is a dict mapping from key-name -> validation function). In principle you could update this dict to add rcparams on the fly, ho

Re: [Matplotlib-users] Plotting style

2015-03-05 Thread Marin GILLES
Le 04/03/2015 23:31, Marin GILLES a écrit : Le 04/03/2015 22:46, Yuxiang Wang a écrit : Hi Marin, +1 for the idea of specific papers. For example, all PLOS require the same figure format and I have my own config file. I'd be more than happy to dig into it and try my best to contribute. Shawn

Re: [Matplotlib-users] Plotting style

2015-03-04 Thread Marin GILLES
Le 04/03/2015 23:48, Thomas Caswell a écrit : That repo should probably be folded together with Tony Yu's style gallery code and eventually be migrated to live under the main matplotlib organization. I would also advocate for adding a bit of code into that repo to make it importable and to re

Re: [Matplotlib-users] Plotting style

2015-03-04 Thread Thomas Caswell
That repo should probably be folded together with Tony Yu's style gallery code and eventually be migrated to live under the main matplotlib organization. I would also advocate for adding a bit of code into that repo to make it importable and to register all/some of it's style files with the USER_L

Re: [Matplotlib-users] Plotting style

2015-03-04 Thread Marin GILLES
Le 04/03/2015 22:46, Yuxiang Wang a écrit : Hi Marin, +1 for the idea of specific papers. For example, all PLOS require the same figure format and I have my own config file. I'd be more than happy to dig into it and try my best to contribute. Shawn On Wed, Mar 4, 2015 at 4:27 PM, Marin GILLES

Re: [Matplotlib-users] Plotting style

2015-03-04 Thread Yuxiang Wang
Hi Marin, +1 for the idea of specific papers. For example, all PLOS require the same figure format and I have my own config file. I'd be more than happy to dig into it and try my best to contribute. Shawn On Wed, Mar 4, 2015 at 4:27 PM, Marin GILLES wrote: > Le 04/03/2015 06:21, Tony Yu a écrit

Re: [Matplotlib-users] Plotting style

2015-03-04 Thread Marin GILLES
Le 04/03/2015 06:21, Tony Yu a écrit : On Tue, Mar 3, 2015 at 11:50 AM, Gökhan Sever > wrote: I see seaborn has "paper, notebook, talk, and poster" options. http://stanford.edu/~mwaskom/software/seaborn-dev/aesthetics.html

Re: [Matplotlib-users] Plotting style

2015-03-04 Thread Todd
On Wed, Mar 4, 2015 at 6:28 AM, Tony Yu wrote: > > > > On Tue, Mar 3, 2015 at 1:37 PM, Marin GILLES wrote: >> >> Le 03/03/2015 18:53, Thomas Caswell a écrit : >>> >>> I was thinking of the stand alone repository to just store the style files as the style module handles the loading pretty well. >

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Tony Yu
On Tue, Mar 3, 2015 at 1:37 PM, Marin GILLES wrote: > Le 03/03/2015 18:53, Thomas Caswell a écrit : > > I was thinking of the stand alone repository to just store the style > files as the style module handles the loading pretty well. > > The main motivation for this would be to decouple the rel

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Tony Yu
On Tue, Mar 3, 2015 at 11:50 AM, Gökhan Sever 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 sty

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Marin GILLES
Le 03/03/2015 18:53, Thomas Caswell a écrit : I was thinking of the stand alone repository to just store the style files as the style module handles the loading pretty well. The main motivation for this would be to decouple the release cycle of the styles (which can be very fast) from the li

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Thomas Caswell
Yes, we are interested it more built-in themes. It may be worth making a 'matplotlib-styles' project which is _just_ a style library. On Tue, Mar 3, 2015 at 11:23 AM Marin GILLES wrote: > Le 03/03/2015 16:32, Christian Alis a écrit : > > Hi Marin, > > Have you looked at the style sheets exampl

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Thomas Caswell
I was thinking of the stand alone repository to just store the style files as the style module handles the loading pretty well. The main motivation for this would be to decouple the release cycle of the styles (which can be very fast) from the library (which needs to be slower). On Tue, Mar 3, 2

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Gökhan Sever
On Tue, Mar 3, 2015 at 12:07 PM, Marin GILLES 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)?

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Gökhan Sever
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. On Tue, Mar 3, 2015 at 12:35 PM,

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Marin GILLES
Le 03/03/2015 18:15, Gökhan Sever a écrit : On Tue, Mar 3, 2015 at 12:07 PM, Marin GILLES > 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

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Marin GILLES
Le 03/03/2015 18:03, Thomas Caswell a écrit : Yes, we are interested it more built-in themes. It may be worth making a 'matplotlib-styles' project which is _just_ a style library. On Tue, Mar 3, 2015 at 11:23 AM Marin GILLES > wrote: Le 03/03/2015 16:32, Chri

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Marin GILLES
Le 03/03/2015 18:00, Benjamin Root a écrit : I certainly think it would be beneficial to have more available styles. It certainly would help exercise this particular aspect of matplotlib. One caveat from past submissions. Please do not include copyrighted/trademarked styles. So, no "matlab st

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Benjamin Root
I certainly think it would be beneficial to have more available styles. It certainly would help exercise this particular aspect of matplotlib. One caveat from past submissions. Please do not include copyrighted/trademarked styles. So, no "matlab style" or "mathmatica style", etc... Cheers! Ben Ro

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Marin GILLES
Le 03/03/2015 16:32, Christian Alis a écrit : Hi Marin, Have you looked at the style sheets examples in the gallery? http://matplotlib.org/gallery.html#style_sheets Regards, Christian On Tue, Mar 3, 2015 at 3:08 PM, Marin GILLES wrote: Hello everyone, I was wondering if there would be so

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Christian Alis
Hi Marin, Have you looked at the style sheets examples in the gallery? http://matplotlib.org/gallery.html#style_sheets Regards, Christian On Tue, Mar 3, 2015 at 3:08 PM, Marin GILLES wrote: > Hello everyone, > > I was wondering if there would be some kind of plot style profile interface. > W