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
(10)
2
(10)
3
(9)
4
(3)
5
(2)
6
(6)
7
(12)
8
(21)
9
(4)
10
(19)
11
(7)
12
(2)
13
(28)
14
(13)
15
(27)
16
(17)
17
(21)
18
(22)
19
(3)
20
(25)
21
(17)
22
(16)
23
(28)
24
(19)
25
(4)
26
(4)
27
(23)
28
(13)
29
(15)
30
(19)


Showing 15 results of 15

From: Eric F. <ef...@ha...> - 2010年09月22日 22:16:49
On 09/22/2010 10:11 AM, Russell Owen wrote:
> On Sep 22, 2010, at 11:16 AM, Benjamin Root wrote:
>
>> On Wed, Sep 22, 2010 at 12:04 PM, Russell E. Owen <ro...@uw...
>> <mailto:ro...@uw...>> wrote:
>>
>> In article <4C9...@gm...
>> <mailto:4C9...@gm...>>,
>> Alan G Isaac <ala...@gm... <mailto:ala...@gm...>>
>> wrote:
>>
>> >
>> http://matplotlib.sourceforge.net/examples/pylab_examples/accented_text.html
>>
>> It's realistic, and that has a lot to be said for it.
>>
>> One of my problems with matplotlib is that it is far too willing to
>> truncate axis labels and related information. I'd be much happier
>> with a
>> layout model that always showed the axis labels in full.
>>
>>
>> Ditto on this. In addition, it would be useful to prevent axes labels
>> from spilling over into another axes' area.
>
> I submitted bug report #3073546 on the issue of axis labels getting
> truncated.
> https://sourceforge.net/tracker/?func=detail&atid=560720&aid=3073546&group_id=80706
> <https://sourceforge.net/tracker/?func=detail&atid=560720&aid=3073546&group_id=80706>
>
> You might want to add your suggestion about axis labels or submit a new
> ticket.
The problem is not a bug; it is inherent in the fundamental design. 
Therefore I moved the ticket over to feature requests. I want to keep 
the bugs list for real bugs that we can realistically expect to solve 
fairly quickly.
I don't know whether Andrew Straw's wx sizer-inspired code (mplsizer 
toolkit) solves the problem or not. My impression is that it does 
not--I think it is working with the Axes positions, not with axis and 
tick labels, which are what cause most of the difficulties.
Eric
>
> Regards,
>
> -- Russell
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Benjamin R. <ben...@ou...> - 2010年09月22日 20:19:17
On Wed, Sep 22, 2010 at 3:13 PM, Jason Grout <jas...@cr...>wrote:
> On 09/22/2010 08:59 AM, John Hunter wrote:
> > On Wed, Sep 22, 2010 at 8:45 AM, Bala subramanian
> > <bal...@gm...> wrote:
> >> Friends,
> >> I have mentioned in my research manuscript that plots were generated by
> >> 'matplotlib package'. I dnt find the related reference of mpl. Kindly
> tell
> >> me how can i site mpl.
> > You can certainly reference the website, but if you want to refer to a
> > published paper, I suggest
> >
> > Matplotlib: A 2D Graphics Environment
> > Source: Computing in Science and Engineering archive
> > Volume 9 , Issue 3 (May 2007)
> > Pages: 90-95
> > Year of Publication: 2007
> > ISSN:1521-9615
> > Author:John D. Hunter
> > Publisher : IEEE Educational Activities Department Piscataway, NJ,
> USA
> >
> > and/or the conference abstract at
> > http://adsabs.harvard.edu/abs/2005ASPC..347...91B
>
> Could this be put up on the website somewhere in a easily-found place?
> Maybe a short sentence and link in the bar on the right under "Other
> stuff"? Something like "To cite matplotlib in a paper, use <a
> href='link to wiki page with that citation, preferably in several
> formats like bibtex'> this reference</a>." or something.
>
> Thanks,
>
> Jason
>
>
+1...
This would help by providing a consistent way of citing matplotlib. Without
this, different authors may reference matplotlib different ways, thereby
diluting the impact of the above reference. Plus, it always annoyed me to
try and figure out how to cite things like matplotlib or various data
sources.
Ben Root
From: Jason G. <jas...@cr...> - 2010年09月22日 20:13:54
 On 09/22/2010 08:59 AM, John Hunter wrote:
> On Wed, Sep 22, 2010 at 8:45 AM, Bala subramanian
> <bal...@gm...> wrote:
>> Friends,
>> I have mentioned in my research manuscript that plots were generated by
>> 'matplotlib package'. I dnt find the related reference of mpl. Kindly tell
>> me how can i site mpl.
> You can certainly reference the website, but if you want to refer to a
> published paper, I suggest
>
> Matplotlib: A 2D Graphics Environment
> Source: Computing in Science and Engineering archive
> Volume 9 , Issue 3 (May 2007)
> Pages: 90-95
> Year of Publication: 2007
> ISSN:1521-9615
> Author:John D. Hunter 	
> Publisher 	: IEEE Educational Activities Department Piscataway, NJ, USA
>
> and/or the conference abstract at
> http://adsabs.harvard.edu/abs/2005ASPC..347...91B
Could this be put up on the website somewhere in a easily-found place? 
Maybe a short sentence and link in the bar on the right under "Other 
stuff"? Something like "To cite matplotlib in a paper, use <a 
href='link to wiki page with that citation, preferably in several 
formats like bibtex'> this reference</a>." or something.
Thanks,
Jason
From: Russell O. <ro...@uw...> - 2010年09月22日 20:12:25
On Sep 22, 2010, at 11:16 AM, Benjamin Root wrote:
> On Wed, Sep 22, 2010 at 12:04 PM, Russell E. Owen <ro...@uw...> 
> wrote:
> In article <4C9...@gm...>,
> Alan G Isaac <ala...@gm...>
> wrote:
>
> > http://matplotlib.sourceforge.net/examples/pylab_examples/accented_text.html
>
> It's realistic, and that has a lot to be said for it.
>
> One of my problems with matplotlib is that it is far too willing to
> truncate axis labels and related information. I'd be much happier 
> with a
> layout model that always showed the axis labels in full.
>
> Ditto on this. In addition, it would be useful to prevent axes 
> labels from spilling over into another axes' area.
I submitted bug report #3073546 on the issue of axis labels getting 
truncated.
https://sourceforge.net/tracker/?func=detail&atid=560720&aid=3073546&group_id=80706
You might want to add your suggestion about axis labels or submit a 
new ticket.
Regards,
-- Russell
From: Benjamin R. <ben...@ou...> - 2010年09月22日 20:05:22
On Wed, Sep 22, 2010 at 2:28 PM, Christopher Barker
<Chr...@no...>wrote:
> Benjamin Root wrote:
> > On Wed, Sep 22, 2010 at 12:04 PM, Russell E. Owen <ro...@uw...
> > I'd be much happier with a
>
> > Ditto on this. In addition, it would be useful to prevent axes labels
> > from spilling over into another axes' area.
>
> Someone was working on a wxSizer-like layout tool for MPL -- anyone know
> what happened to that?
>
> Also -- do all MPL artists (text, etc) know enough about how big they
> are to do this at all? I recall trying to do a bit myself, and had a
> hard time finding out how big a label was, and thus didn't know where to
> put an axis so the label wouldn't be chopped off.
>
> -Chris
>
>
I think the issue was that it could not be generalized that an artist knows
its size until it comes time to render. I think the main culprit here is
text labels (particularly latex stuff). If it could be known what an
artist's size is when the artist is made, then I think a lot of code could
be simplified because all artists would reference itself relative to their
parent artist (think particularly how axes and figure objects have size
properties).
Although, as a counter-point, we don't want to inhibit a user's ability to
have something outside of its parents (annotations, arrows and such). Maybe
most artists would have a property indicating whether it should be
constrained or not.
Now that I think about it even more, doing a proper layout engine would be a
headache...
Ben Root
From: Christopher B. <Chr...@no...> - 2010年09月22日 19:29:03
Benjamin Root wrote:
> On Wed, Sep 22, 2010 at 12:04 PM, Russell E. Owen <ro...@uw... 
> I'd be much happier with a
> Ditto on this. In addition, it would be useful to prevent axes labels 
> from spilling over into another axes' area.
Someone was working on a wxSizer-like layout tool for MPL -- anyone know 
what happened to that?
Also -- do all MPL artists (text, etc) know enough about how big they 
are to do this at all? I recall trying to do a bit myself, and had a 
hard time finding out how big a label was, and thus didn't know where to 
put an axis so the label wouldn't be chopped off.
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
From: Benjamin R. <ben...@ou...> - 2010年09月22日 18:17:20
On Wed, Sep 22, 2010 at 12:04 PM, Russell E. Owen <ro...@uw...> wrote:
> In article <4C9...@gm...>,
> Alan G Isaac <ala...@gm...>
> wrote:
>
> >
> http://matplotlib.sourceforge.net/examples/pylab_examples/accented_text.html
>
> It's realistic, and that has a lot to be said for it.
>
> One of my problems with matplotlib is that it is far too willing to
> truncate axis labels and related information. I'd be much happier with a
> layout model that always showed the axis labels in full.
>
> -- Russell
>
>
Ditto on this. In addition, it would be useful to prevent axes labels from
spilling over into another axes' area.
Ben Root
From: Russell E. O. <ro...@uw...> - 2010年09月22日 17:04:58
In article <4C9...@gm...>,
 Alan G Isaac <ala...@gm...> 
 wrote:
> http://matplotlib.sourceforge.net/examples/pylab_examples/accented_text.html
It's realistic, and that has a lot to be said for it.
One of my problems with matplotlib is that it is far too willing to 
truncate axis labels and related information. I'd be much happier with a 
layout model that always showed the axis labels in full.
-- Russell
From: Bartosz T. <b.t...@bi...> - 2010年09月22日 15:32:13
> Great - nice example. I added it to svn so it will show up in the
> gallery and examples directory next time we update the website. In
> svn it is in examples/api/artist_demo.py.
I am glad you like it.
> Another way to do this which might simplify the layout would be to use
> 1 axes (with the frame and axes off) for each artist, and use either
> the title or xlabel to label them.
Right. I guess I could have done it this way, but originally I put the artists in figure container and not on the axes.
Regards,
Bartosz
From: Alan G I. <ala...@gm...> - 2010年09月22日 14:43:17
On 9/22/2010 9:45 AM, Bala subramanian wrote:
> Kindly tell me how can i site mpl.
Google is your friend:
http://www.google.com/search?q=cite+matplotlib
hth,
Alan Isaac
From: John H. <jd...@gm...> - 2010年09月22日 14:01:14
On Wed, Sep 22, 2010 at 8:59 AM, John Hunter <jd...@gm...> wrote:
> Matplotlib: A 2D Graphics Environment
> Source: Computing in Science and Engineering archive
> Volume 9 , Issue 3 (May 2007)
> Pages: 90-95
> Year of Publication: 2007
> ISSN:1521-9615
> Author:John D. Hunter
> Publisher : IEEE Educational Activities Department Piscataway, NJ, USA
Correction, the source should read:
 Source: Computing in Science and Engineering
there was an extra word "archive" in my OP
JDH
From: John H. <jd...@gm...> - 2010年09月22日 14:00:08
On Wed, Sep 22, 2010 at 8:45 AM, Bala subramanian
<bal...@gm...> wrote:
> Friends,
> I have mentioned in my research manuscript that plots were generated by
> 'matplotlib package'. I dnt find the related reference of mpl. Kindly tell
> me how can i site mpl.
You can certainly reference the website, but if you want to refer to a
published paper, I suggest
Matplotlib: A 2D Graphics Environment
Source: Computing in Science and Engineering archive
Volume 9 , Issue 3 (May 2007)
Pages: 90-95
Year of Publication: 2007
ISSN:1521-9615
Author:John D. Hunter 	
Publisher 	: IEEE Educational Activities Department Piscataway, NJ, USA
and/or the conference abstract at
http://adsabs.harvard.edu/abs/2005ASPC..347...91B
From: Bala s. <bal...@gm...> - 2010年09月22日 13:45:27
Friends,
I have mentioned in my research manuscript that plots were generated by
'matplotlib package'. I dnt find the related reference of mpl. Kindly tell
me how can i site mpl.
Thanks,
Bala
From: John H. <jd...@gm...> - 2010年09月22日 12:50:17
On Wed, Sep 22, 2010 at 6:37 AM, Bartosz Telenczuk
<b.t...@bi...> wrote:
> Hi,
>
> I am working on a presentation on matplotlib API and its application to create non-trivial data visualizations.
>
> I wrote a script to show some matplotlib artists and I thought it would fit nice the matplotlib examples. If you are interested, please find the script in the attachment. I will be also happy to hear your suggestions and opinions.
Great - nice example. I added it to svn so it will show up in the
gallery and examples directory next time we update the website. In
svn it is in examples/api/artist_demo.py.
Another way to do this which might simplify the layout would be to use
1 axes (with the frame and axes off) for each artist, and use either
the title or xlabel to label them.
JDH
From: Bartosz T. <b.t...@bi...> - 2010年09月22日 11:37:16
Attachments: artists.py
Hi,
I am working on a presentation on matplotlib API and its application to create non-trivial data visualizations.
I wrote a script to show some matplotlib artists and I thought it would fit nice the matplotlib examples. If you are interested, please find the script in the attachment. I will be also happy to hear your suggestions and opinions.
Regards,
Bartosz
Bartosz Telenczuk
Institute for Theoretical Biology
Humboldt University of Berlin
Germany
http://neuroscience.telenczuk.pl
1 message has been excluded from this view by a project administrator.

Showing 15 results of 15

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 によって変換されたページ (->オリジナル) /