SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S
1
(2)
2
(3)
3
(14)
4
(11)
5
(10)
6
(7)
7
8
(3)
9
(16)
10
(9)
11
(12)
12
(1)
13
(14)
14
(10)
15
16
(1)
17
(7)
18
(9)
19
(7)
20
(10)
21
22
(1)
23
24
(1)
25
(5)
26
(7)
27
(1)
28
29
(2)
30
(2)
31
(11)




Showing results of 176

<< < 1 .. 5 6 7 8 > >> (Page 7 of 8)
From: Nicolas P. R. <Nic...@in...> - 2015年03月04日 21:53:25
Here is a (limited) SVG path parser I made some time ago:
https://github.com/rougier/LinuxMag-HS-2014/blob/master/matplotlib/firefox.py
The svg_parse function might just do what you're trying to achieve.
Nicolas
> On 04 Mar 2015, at 20:51, Jason Moore <moo...@gm...> wrote:
> 
> Hi,
> 
> I have some SVGs with closed Bezier curve paths that I'd like to convert to matplotlib paths.
> 
> For example, here is some code: https://gist.github.com/moorepants/4cac02e798446bb46de7
> 
> The above script runs but the resulting path in matplotlib is less smooth that when opened in inkscape, for example. I've attached screenshots.
> 
> I'm not sure why there is a difference.
> 
> Any suggestions to get my matplotlib curves looking as smooth as they do in SVG format?
> 
> Jason
> moorepants.info
> +01 530-601-9791
> <Selection_057.png><Selection_058.png>------------------------------------------------------------------------------
> 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
From: Yuxiang W. <yw...@vi...> - 2015年03月04日 21:46:07
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 <mrn...@gm...> wrote:
> Le 04/03/2015 06:21, Tony Yu a écrit :
>
> 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
>>
>
> Hi,
>
> I started working on styles based on which support the figure is designed
> for (as of now, I've got 'paper', 'notebook', 'talk', 'poster').
>
> For those, in a style point of view, I think only the text size should be
> modified (got it done, just need to get the proper sizes for each style),
> which is unlike the 'seaborn' way of doing it. Thing is, by doing so, we
> don't mess with any style we could apply using Cascading styles.
>
> Also, I was thinking that I should set the export settings for each of those
> styles, but also get an export style folder (with a few good parameters).
> This would mean no more need to adjust dpi, file format, figure size...
>
> Finally, I could add a folder for specific papers, in which the figure
> parameters would be tweaked so that we can directly be in a specific paper
> format. I guess it would take into account both text size and export
> parameters for each paper.
>
> Let me know what you think about it.
>
> Marin Gilles
>
> ------------------------------------------------------------------------------
> 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
>
-- 
Yuxiang "Shawn" Wang
Gerling Research Lab
University of Virginia
yw...@vi...
+1 (434) 284-0836
https://sites.google.com/a/virginia.edu/yw5aj/
From: Marin G. <mrn...@gm...> - 2015年03月04日 21:27:58
Le 04/03/2015 06:21, Tony Yu a écrit :
> On Tue, Mar 3, 2015 at 11:50 AM, Gökhan Sever <gok...@gm... 
> <mailto:gok...@gm...>> wrote:
>
> I see seaborn has "paper, notebook, talk, and poster" options.
> http://stanford.edu/~mwaskom/software/seaborn-dev/aesthetics.html
> <http://stanford.edu/%7Emwaskom/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...
> <mailto: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... <mailto: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 <tel:%28%2B33%296.79.35.30.11>
> ✉ mar...@u-... <mailto: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...
> <mailto:Mat...@li...>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
Hi,
I started working on styles based on which support the figure is 
designed for (as of now, I've got 'paper', 'notebook', 'talk', 'poster').
For those, in a style point of view, I think only the text size should 
be modified (got it done, just need to get the proper sizes for each 
style), which is unlike the 'seaborn' way of doing it. Thing is, by 
doing so, we don't mess with any style we could apply using Cascading 
styles.
Also, I was thinking that I should set the export settings for each of 
those styles, but also get an export style folder (with a few good 
parameters). This would mean no more need to adjust dpi, file format, 
figure size...
Finally, I could add a folder for specific papers, in which the figure 
parameters would be tweaked so that we can directly be in a specific 
paper format. I guess it would take into account both text size and 
export parameters for each paper.
Let me know what you think about it.
Marin Gilles
From: Jason M. <moo...@gm...> - 2015年03月04日 19:52:28
Hi,
I have some SVGs with closed Bezier curve paths that I'd like to convert to
matplotlib paths.
For example, here is some code:
https://gist.github.com/moorepants/4cac02e798446bb46de7
The above script runs but the resulting path in matplotlib is less smooth
that when opened in inkscape, for example. I've attached screenshots.
I'm not sure why there is a difference.
Any suggestions to get my matplotlib curves looking as smooth as they do in
SVG format?
Jason
moorepants.info
+01 530-601-9791
From: Todd <tod...@gm...> - 2015年03月04日 12:56:26
On Wed, Mar 4, 2015 at 6:28 AM, Tony Yu <ts...@gm...> wrote:
>
>
>
> On Tue, Mar 3, 2015 at 1:37 PM, Marin GILLES <mrn...@gm...> 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 release cycle of
the styles (which can be very fast) from the library (which needs to be
slower).
>
> <snip>
>
>>
>> Maybe a dumb question, but I'm quite new to this...
>> Can this be integrated in mpl afterwards? Or does it needs to be a
standalone package that you install on its own?
>> If it can be integrated, how?
>> Thanks
>> Marin Gilles
>
>
> Any stylesheet could easily be integrated afterwards, but the separate
repo would allow faster releases, as Thomas suggests above, and also more
experimentation. It would probably make sense to integrate just the cream
of the crop from the style repo into Matplotlib-proper, but it'd still be
easy to use the less popular ones. For example, you wouldn't even have to
install the style repo---you can pass a url to `matplotlib.style.use`.
>
> The separate repo could also incorporate a default comparison page to
quickly decide on the most appropriate stylesheet; e.g.:
>
> https://github.com/tonysyu/matplotlib-style-gallery
>
> -Tony
>
>
Another advantage of a separate repo is that it would make it easier for
multiple projects to participate. The process could be set up so that
projects like seaborn, ggplot, and prettyplotlib could keep their
stylesheets in the same project, and have the stylesheets project have a
release whenever any project needs to update stylesheets. Using a "master
is always stable" development model would make that easier.
From: Tony Yu <ts...@gm...> - 2015年03月04日 05:29:36
On Tue, Mar 3, 2015 at 1:37 PM, Marin GILLES <mrn...@gm...> 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 release cycle of the
> styles (which can be very fast) from the library (which needs to be slower).
>
> <snip>
> Maybe a dumb question, but I'm quite new to this...
> Can this be integrated in mpl afterwards? Or does it needs to be a
> standalone package that you install on its own?
> If it can be integrated, how?
> Thanks
> Marin Gilles
>
Any stylesheet could easily be integrated afterwards, but the separate repo
would allow faster releases, as Thomas suggests above, and also more
experimentation. It would probably make sense to integrate just the cream
of the crop from the style repo into Matplotlib-proper, but it'd still be
easy to use the less popular ones. For example, you wouldn't even have to
install the style repo---you can pass a url to `matplotlib.style.use`.
The separate repo could also incorporate a default comparison page to
quickly decide on the most appropriate stylesheet; e.g.:
https://github.com/tonysyu/matplotlib-style-gallery
-Tony
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
>
>
From: Marin G. <mrn...@gm...> - 2015年03月03日 19:37:36
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 library (which needs to 
> be slower).
>
>
> On Tue, Mar 3, 2015, 12:35 Marin GILLES <mrn...@gm... 
> <mailto: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... <mailto: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-... <mailto:mar...@u-...>
> ------------------------------------------------------------------------------
> 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...
> <mailto:Mat...@li...>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
Maybe a dumb question, but I'm quite new to this...
Can this be integrated in mpl afterwards? Or does it needs to be a 
standalone package that you install on its own?
If it can be integrated, how?
Thanks
Marin Gilles
From: Thomas C. <tca...@gm...> - 2015年03月03日 17:53:35
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, 2015, 12:35 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-...
> ------------------------------------------------------------
> ------------------
> 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
>
From: Gökhan S. <gok...@gm...> - 2015年03月03日 17:51:02
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, 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
From: Marin G. <mrn...@gm...> - 2015年03月03日 17:44:32
Le 03/03/2015 18:38, Christophe Bal a écrit :
> Hello.
>
> Is it possible to define a stryle sheet in a string variable and then 
> load it ?
>
> *Christophe BAL*
> *Enseignant de mathématiques en Lycée **et développeur Python amateur*
> *---*
> *French math teacher in a "Lycée" **and **Python **amateur developer*
>
>
> ------------------------------------------------------------------------------
> 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
You mean put a stylesheet name in a list and then load it?
If that is the case, it is indeed possible. You can look at 
|matplotlib.style.use| 
<http://matplotlib.org/api/style_api.html?highlight=style#module-matplotlib.style> 
to do that.
If you want to change parameters (like text font, size, color...) from a 
list, it seems to me it is possible, but I guess you would have to use 
rc parameters in your script.
​
-- 
*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-... <mailto:mar...@u-...>
From: Christophe B. <pro...@gm...> - 2015年03月03日 17:38:58
Hello.
Is it possible to define a stryle sheet in a string variable and then load
it ?
*Christophe BAL*
*Enseignant de mathématiques en Lycée **et développeur Python amateur*
*---*
*French math teacher in a "Lycée" **and **Python **amateur developer*
From: Marin G. <mrn...@gm...> - 2015年03月03日 17:35:25
Le 03/03/2015 18:15, Gökhan Sever a écrit :
>
>
> On Tue, Mar 3, 2015 at 12:07 PM, Marin GILLES <mrn...@gm... 
> <mailto: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-... <mailto:mar...@u-...>
From: Marin G. <mrn...@gm...> - 2015年03月03日 17:28:02
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 <mrn...@gm... 
> <mailto:mrn...@gm...>> wrote:
>
> 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<mrn...@gm...> <mailto:mrn...@gm...> wrote:
>>> Hello everyone,
>>>
>>> I was wondering if there would be some kind of plot style profile interface.
>>> What I mean, is that you could have mutliple files with different styles for
>>> plots, that would be used to change easily the style of plots.
>>>
>>> I know about the matplotlibrc but I am thinking of something a little bit
>>> more flexible, which could swicth between multiple "style sheets" easily.
>>>
>>> As an example, for now I use the Seaborn set_style capabilities to get
>>> better looking graphs.
>>> I previously used Prettyplotlib to make better plots.
>>>
>>> But with those two libraries, it does not seem to me that you can control
>>> your graph settings with, for example, a config file.
>>>
>>> Thank you
>>>
>>>
>>> --
>>> 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-... <mailto:mar...@u-...>
>>>
>>> ------------------------------------------------------------------------------
>>> 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... <mailto:Mat...@li...>
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
> Hi Christian,
> I saw them indeed.
> After looking into it in more details, it seems that the default
> styles are defined in a config-like style.
> It is possible to create your own styles and put it in your config
> path so they are accessible (Style on matplotlib.org
> <http://matplotlib.org/users/style_sheets.html?highlight=style>).
>
> Also, Would the community be interested in more integrated themes?
>
> Thanks for your help
>
>
> -- 
> *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-... <mailto:mar...@u-...>
> ------------------------------------------------------------------------------
> 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...
> <mailto:Mat...@li...>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
When you say *style library*, I’m not sure exactly what you mean...
It would be just more stylesheets, or a full python lib to manage the 
styles?
The latter would be the most interesting for me (as that is what I had 
in mind when starting this thread), but after digging in mpl, it seemed 
that the actual style management system is quite good... Unless there is 
some caveat I am not aware of.
In that case, could you point out what you have in mind (if anything)?
​
-- 
*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-... <mailto:mar...@u-...>
From: Gökhan S. <gok...@gm...> - 2015年03月03日 17:15:26
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.
From: Marin G. <mrn...@gm...> - 2015年03月03日 17:07:14
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 style" or "mathmatica 
> style", etc...
>
> Cheers!
> Ben Root
>
> On Tue, Mar 3, 2015 at 11:22 AM, Marin GILLES <mrn...@gm... 
> <mailto:mrn...@gm...>> wrote:
>
> 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<mrn...@gm...> <mailto:mrn...@gm...> wrote:
>>> Hello everyone,
>>>
>>> I was wondering if there would be some kind of plot style profile interface.
>>> What I mean, is that you could have mutliple files with different styles for
>>> plots, that would be used to change easily the style of plots.
>>>
>>> I know about the matplotlibrc but I am thinking of something a little bit
>>> more flexible, which could swicth between multiple "style sheets" easily.
>>>
>>> As an example, for now I use the Seaborn set_style capabilities to get
>>> better looking graphs.
>>> I previously used Prettyplotlib to make better plots.
>>>
>>> But with those two libraries, it does not seem to me that you can control
>>> your graph settings with, for example, a config file.
>>>
>>> Thank you
>>>
>>>
>>> --
>>> 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 <tel:%28%2B33%296.79.35.30.11>
>>> ✉mar...@u-... <mailto:mar...@u-...>
>>>
>>> ------------------------------------------------------------------------------
>>> 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... <mailto:Mat...@li...>
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
> Hi Christian,
> I saw them indeed.
> After looking into it in more details, it seems that the default
> styles are defined in a config-like style.
> It is possible to create your own styles and put it in your config
> path so they are accessible (Style on matplotlib.org
> <http://matplotlib.org/users/style_sheets.html?highlight=style>).
>
> Also, Would the community be interested in more integrated themes?
>
> Thanks for your help
>
> -- 
> *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 <tel:%28%2B33%296.79.35.30.11>
> ✉ mar...@u-... <mailto:mar...@u-...>
>
> ------------------------------------------------------------------------------
> 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...
> <mailto:Mat...@li...>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
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*
/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-... <mailto:mar...@u-...>
From: Thomas C. <tca...@gm...> - 2015年03月03日 17:03:19
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 <mrn...@gm...> wrote:
> 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 <mrn...@gm...> <mrn...@gm...> wrote:
>
> Hello everyone,
>
> I was wondering if there would be some kind of plot style profile interface.
> What I mean, is that you could have mutliple files with different styles for
> plots, that would be used to change easily the style of plots.
>
> I know about the matplotlibrc but I am thinking of something a little bit
> more flexible, which could swicth between multiple "style sheets" easily.
>
> As an example, for now I use the Seaborn set_style capabilities to get
> better looking graphs.
> I previously used Prettyplotlib to make better plots.
>
> But with those two libraries, it does not seem to me that you can control
> your graph settings with, for example, a config file.
>
> Thank you
>
>
> --
> 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-...
>
> ------------------------------------------------------------------------------
> 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 lis...@li...https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> Hi Christian,
> I saw them indeed.
> After looking into it in more details, it seems that the default styles
> are defined in a config-like style.
> It is possible to create your own styles and put it in your config path so
> they are accessible (Style on matplotlib.org
> <http://matplotlib.org/users/style_sheets.html?highlight=style>).
>
> Also, Would the community be interested in more integrated themes?
>
> Thanks for your help
>
>
> --
> *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-...
> ------------------------------------------------------------
> ------------------
> 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
>
From: Benjamin R. <ben...@ou...> - 2015年03月03日 17:00:38
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 Root
On Tue, Mar 3, 2015 at 11:22 AM, Marin GILLES <mrn...@gm...> wrote:
> 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 <mrn...@gm...> <mrn...@gm...> wrote:
>
> Hello everyone,
>
> I was wondering if there would be some kind of plot style profile interface.
> What I mean, is that you could have mutliple files with different styles for
> plots, that would be used to change easily the style of plots.
>
> I know about the matplotlibrc but I am thinking of something a little bit
> more flexible, which could swicth between multiple "style sheets" easily.
>
> As an example, for now I use the Seaborn set_style capabilities to get
> better looking graphs.
> I previously used Prettyplotlib to make better plots.
>
> But with those two libraries, it does not seem to me that you can control
> your graph settings with, for example, a config file.
>
> Thank you
>
>
> --
> 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-...
>
> ------------------------------------------------------------------------------
> 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 lis...@li...https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> Hi Christian,
> I saw them indeed.
> After looking into it in more details, it seems that the default styles
> are defined in a config-like style.
> It is possible to create your own styles and put it in your config path so
> they are accessible (Style on matplotlib.org
> <http://matplotlib.org/users/style_sheets.html?highlight=style>).
>
> Also, Would the community be interested in more integrated themes?
>
> Thanks for your help
>
> --
> *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-...
>
>
> ------------------------------------------------------------------------------
> 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
>
>
From: Marin G. <mrn...@gm...> - 2015年03月03日 16:22:24
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 <mrn...@gm...> wrote:
>> Hello everyone,
>>
>> I was wondering if there would be some kind of plot style profile interface.
>> What I mean, is that you could have mutliple files with different styles for
>> plots, that would be used to change easily the style of plots.
>>
>> I know about the matplotlibrc but I am thinking of something a little bit
>> more flexible, which could swicth between multiple "style sheets" easily.
>>
>> As an example, for now I use the Seaborn set_style capabilities to get
>> better looking graphs.
>> I previously used Prettyplotlib to make better plots.
>>
>> But with those two libraries, it does not seem to me that you can control
>> your graph settings with, for example, a config file.
>>
>> Thank you
>>
>>
>> --
>> 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-...
>>
>> ------------------------------------------------------------------------------
>> 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
>>
Hi Christian,
I saw them indeed.
After looking into it in more details, it seems that the default styles 
are defined in a config-like style.
It is possible to create your own styles and put it in your config path 
so they are accessible (Style on matplotlib.org 
<http://matplotlib.org/users/style_sheets.html?highlight=style>).
Also, Would the community be interested in more integrated themes?
Thanks for your help
-- 
*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-... <mailto:mar...@u-...>
From: Christian A. <ia...@gm...> - 2015年03月03日 15:32:29
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 <mrn...@gm...> wrote:
> Hello everyone,
>
> I was wondering if there would be some kind of plot style profile interface.
> What I mean, is that you could have mutliple files with different styles for
> plots, that would be used to change easily the style of plots.
>
> I know about the matplotlibrc but I am thinking of something a little bit
> more flexible, which could swicth between multiple "style sheets" easily.
>
> As an example, for now I use the Seaborn set_style capabilities to get
> better looking graphs.
> I previously used Prettyplotlib to make better plots.
>
> But with those two libraries, it does not seem to me that you can control
> your graph settings with, for example, a config file.
>
> Thank you
>
>
> --
> 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-...
>
> ------------------------------------------------------------------------------
> 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
>
From: Marin G. <mrn...@gm...> - 2015年03月03日 15:09:05
Hello everyone,
I was wondering if there would be some kind of plot style profile interface.
What I mean, is that you could have mutliple files with different styles 
for plots, that would be used to change easily the style of plots.
I know about the |matplotlibrc| but I am thinking of something a little 
bit more flexible, which could swicth between multiple "style sheets" 
easily.
As an example, for now I use the Seaborn 
<http://stanford.edu/%7Emwaskom/software/seaborn/index.html> |set_style| 
<http://stanford.edu/%7Emwaskom/software/seaborn/tutorial/aesthetics.html#styling-figures-with-axes-style-and-set-style> 
capabilities to get better looking graphs.
I previously used Prettyplotlib 
<https://github.com/olgabot/prettyplotlib> to make better plots.
But with those two libraries, it does not seem to me that you can 
control your graph settings with, for example, a config file.
Thank you
​
-- 
*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-... <mailto:mar...@u-...>
From: Alexander H. <mat...@2s...> - 2015年03月02日 22:15:15
instead of having people enter all this info by hand, you should just
write a python script that extracts most of the technical details from
the current install, prints it out for cut-and paste into the form or
directly sends it to your server. ;-)
On 3 March 2015 at 02:23, Thomas Robitaille <tho...@gm...> wrote:
> Hi everyone,
>
> If you use scientific Python packages for your research/work, I would
> appreciate if you could take a few minutes to fill out the following
> survey:
>
> http://goo.gl/PXzFAk
>
> The aim of this survey is to find out what versions of Python and
> various scientific Python packages people are using, and how people
> typically install packages, in order to determine how developers can
> better meet the needs of the Scientific Python community (for example,
> a common question is which version of Numpy need to be supported by
> packages).
>
> This is a follow-up to a similar survey which I did back in 2012 and
> which provided very interesting results that you can read about here:
>
> http://astrofrog.github.io/blog/2013/01/13/what-python-installations-are-scientists-using
>
> Please feel free to forward this survey to people in your own
> scientific Python communities!
>
> I will publish the results online in a few weeks.
>
> Thanks!
> Tom
>
> ------------------------------------------------------------------------------
> 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
From: Thomas R. <tho...@gm...> - 2015年03月02日 15:23:57
Hi everyone,
If you use scientific Python packages for your research/work, I would
appreciate if you could take a few minutes to fill out the following
survey:
 http://goo.gl/PXzFAk
The aim of this survey is to find out what versions of Python and
various scientific Python packages people are using, and how people
typically install packages, in order to determine how developers can
better meet the needs of the Scientific Python community (for example,
a common question is which version of Numpy need to be supported by
packages).
This is a follow-up to a similar survey which I did back in 2012 and
which provided very interesting results that you can read about here:
 http://astrofrog.github.io/blog/2013/01/13/what-python-installations-are-scientists-using
Please feel free to forward this survey to people in your own
scientific Python communities!
I will publish the results online in a few weeks.
Thanks!
Tom
From: miaocb <mi...@si...> - 2015年03月02日 03:07:16
Hi, all
 
The following code repeats the problem. Array ele1 is same as ele2 except that it is transpose of ele0, but the refined triangles using ele1 is incorrect.
The problem is also reported at https://github.com/matplotlib/matplotlib/issues/4180
matplotlib version: 1.4.0, the UniformTriRefiner code in version 1.4.3 is the same as 1.4.0。
#!/bin/env python
import numpy as np
import matplotlib.tri as tri
import matplotlib.pyplot as plt
x = np.array([ 120.39299774, 120.59100342, 120.42900085, 120.31700134])
y = np.array([ 33.99900055, 34.00899887, 34.18799973, 34.18399811])
ele0 = np.array([[2, 2], [0, 1], [3, 0]])
ele1 = ele0.transpose() # ele1 is same as ele2 except that it is transpose of ele0
ele2 = np.array([[2, 0, 3], [2, 1, 0]])
triang1 = tri.Triangulation(x, y, ele1)
triang2 = tri.Triangulation(x, y, ele2)
refiner1 = tri.UniformTriRefiner(triang1)
refiner2 = tri.UniformTriRefiner(triang2)
fine_triang1 = refiner1.refine_triangulation(subdiv=1)
fine_triang2 = refiner2.refine_triangulation(subdiv=1)
fig = plt.figure()
ha1 = fig.add_subplot(121)
ha1.set_aspect('equal')
plt.triplot(fine_triang1, color='b', linewidth=0.5)
plt.triplot(triang1, color='k', linewidth=1)
plt.title('refine_triang1 is incorrect')
ha2 = fig.add_subplot(122)
ha2.set_aspect('equal')
plt.triplot(fine_triang2, color='b', linewidth=0.5)
plt.triplot(triang2, color='k', linewidth=1)
plt.title('refine_triang2 is correct')
plt.show()
Paul
From: Benjamin R. <ben...@ou...> - 2015年03月01日 16:13:36
Not with contourf(), no. But, you can always add many Text objects after
plotting the contourf() (just loop over the dimensions of your array at
some stride and add Text objects at the appropriate coordinates). In fact,
there might even be a feature coming up soon that would make this sort of
task easier: https://github.com/matplotlib/matplotlib/pull/4063
Cheers!
Ben Root
On Sun, Mar 1, 2015 at 10:53 AM, Sappy85 <rob...@gm...> wrote:
> Hallo,
>
> i have an important question. Is it possible with matplotlib function
> "contourf()" to plot the values of the contour-data? Here is an example,
> what i mean:
>
> <http://matplotlib.1069221.n5.nabble.com/file/n45025/Untitled.png>
>
> (i use matplotlib with Basemap)
>
> Regards,
> Sappy85
>
>
>
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/contourf-map-with-values-tp45025.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> 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
>

Showing results of 176

<< < 1 .. 5 6 7 8 > >> (Page 7 of 8)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /