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






Showing 8 results of 8

From: Sean L. <ody...@gm...> - 2012年09月18日 22:14:34
Hello all,
I want to adjust the wspace used in a gridspec plot on a cell by cell basis. Anyone have suggestions for how to do that? I haven't been able to find an api to do that directly. The other possibility would be to be able to embed a gridspec within a gridspec, but I'm not sure if that's possible, either.
More details: I have a plot that has two subplots arranged in a single row or column. Both plots share their relevant border axis, so I don't want space between them. They also share a color bar, however, and the only way I've been able to get that to draw in a sane way was to give it it's own axes instance in a separate cell of the gridspec. I therefore want to remove the space between the main plots without removing it for the color bar. This worked fine for the wider than tall plots since I could stack them and set hspace to 0 and have the color bar extend across rows. For the pair of plots that are more square, and therefor best put side by side, I'm having trouble finding a solution.
Thanks,
Sean
From: Benjamin R. <ben...@ou...> - 2012年09月18日 19:18:36
On Tue, Sep 18, 2012 at 3:10 PM, gsal <sal...@gm...> wrote:
> Animation/movie advice.
>
> So, earlier, I got some help in finding out about pcolorfast that allowed
> me
> to plot some data as a nice contour.
>
> Now, I would like to get fancier and actually take a look as such contour
> as
> it varies with time...
>
> how to go about it?
> some kind of animation? or movie?
>
> If I want to do one cycle wt=0..2pi rad, or equivalently, wt=1..360 deg, I
> could go ahead and create all 360 contours ahead of time, save them, and
> them somehow display them in a sequence.
>
> I just have never done animation or gluing pictures into a movie.
>
> Any advise would be greatly appreciated.
>
> Thanks,
>
> Germán
>
>
>
This should get you started. Unfortunately, the documentation is very
sparse, but the examples should be illuminating. Note that you will need
to have either ffmpeg or mencoder installed if you wish to save any of
these to movie files.
http://matplotlib.org/examples/animation/index.html
http://matplotlib.org/api/animation_api.html
Cheers!
Ben Root
From: gsal <sal...@gm...> - 2012年09月18日 19:10:17
Animation/movie advice.
So, earlier, I got some help in finding out about pcolorfast that allowed me
to plot some data as a nice contour.
Now, I would like to get fancier and actually take a look as such contour as
it varies with time...
how to go about it? 
some kind of animation? or movie?
If I want to do one cycle wt=0..2pi rad, or equivalently, wt=1..360 deg, I
could go ahead and create all 360 contours ahead of time, save them, and
them somehow display them in a sequence.
I just have never done animation or gluing pictures into a movie.
Any advise would be greatly appreciated.
Thanks,
Germán 
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/animation-or-movie-tp38969.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Michael R. <raw...@ya...> - 2012年09月18日 15:13:25
________________________________
 From: Jeff Whitaker <js...@fa...>
To: mat...@li... 
Cc: raw...@ya... 
Sent: Thursday, September 13, 2012 9:44 PM
Subject: Re: [Matplotlib-users] error installing basemap
 
Michael: The NetCDFFile function was deprecated a few releases back, and recently removed. If you have netcdf4-python installed you can do
from netCDF4 import Dataset as NetCDFFile
and the script should work as before.
Regarding the second error, you must open the file for write access
 (mode='w') if you want to add attributes to the data variables.
-Jeff
From: Michael Rawlins <raw...@ya...>
To: Jeff Whitaker <js...@fa...>; 
"mat...@li..." 
<mat...@li...> 
Sent: Thursday, September 13, 2012 10:28 PM
Subject: Re: [Matplotlib-users] error installing basemap
Making some progress. Following here:
http://code.google.com/p/netcdf4-python/wiki/UbuntuInstall
I've installed HDF5 after installing build-essential package. With just gcc installed I got an error.
The ./configure in netcdf4 directory failed, but completed with --disable-netcdf-4. I went ahead anyway hoping I don't need netCDF-4 formats or the additional netCDF-4 functions. Besides that issue, what's also not clear is where is setup.py file for the last step. It is not in the netcdf directory after the make install finished. I assume netcdf-python package will not conflict with the python-netcdf and netcdf versions installed through package manager. 
Mike
________________________________
 From: Michael Rawlins <raw...@ya...>
To: "mat...@li..." <mat...@li...> 
Sent: Friday, September 14, 2012 1:34 AM
Subject: Re: [Matplotlib-users] error installing basemap
 
Got sidetracked with an OS issue. Back on the case. Where is the setup.py file I'm to install? I've installed both HDF5 and netcdf-4, correctly I hope. 
Matplotlib-users mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-
From: Damon M. <dam...@gm...> - 2012年09月18日 13:41:16
On Sun, Sep 16, 2012 at 8:38 PM, Eric Firing <ef...@ha...> wrote:
> On 2012年09月16日 8:54 AM, Benjamin Root wrote:
>>
>>
>> On Sun, Sep 16, 2012 at 2:09 PM, Skipper Seabold <jss...@gm...
>> <mailto:jss...@gm...>> wrote:
>>
>> Is there a way to overwrite suptitle? When using 3rd party libs that
>> return a figure, if they set suptitle and don't give you the text
>> object back then you can't overwrite it? This doesn't seem right to
>> me.
>>
>> http://stackoverflow.com/questions/10559144/matplotlib-suptitle-prints-over-old-title
>>
>> Skipper
>>
>>
>> Correct, this still seems to be the case. Looking at the code in
>> figure.py, the suptitle() function just creates a text object and places
>> it at a default location. Then it simply returns the object without
>> saving a reference to it being a figure title. The only reference kept
>> is in the self.texts list that it keeps. I see no reason why it has to
>> be this way, though, and would certainly welcome a patch to fix this
>> oversight (would make the code involving bbox_tight to be more simple, I
>> think.
>
> OK, I guess I see the problem now: Figure.suptitle really should be able
> to replace a prior suptitle, and the most straightforward way to
> facilitate this is with an explicit reference kept by the Figure.
>
> Eric
>
>>
>> Ben Root
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://ad.doubleclick.net/clk;258768047;13503038;j?
>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>>
>>
>>
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Fixed in https://github.com/matplotlib/matplotlib/pull/1276.
-- 
Damon McDougall
http://www.damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom
From: Michael D. <md...@st...> - 2012年09月18日 12:53:32
It should be back up now.
On 09/18/2012 08:42 AM, Michael Droettboom wrote:
> Sorry -- I seem to have missed that in the transition from Sourceforge 
> to github hosting. I restore it. In the meantime, you can download 
> the source for it here:
>
> https://github.com/matplotlib/sampledoc
>
> Mike
>
> On 09/18/2012 02:29 AM, Massimo Di Stefano wrote:
>> Hi All,
>>
>> I'm trying to access to the sampledoc tutorial, but seems it is no 
>> more on git/sourceforge,
>> i tried at the link :
>>
>> http://matplotlib.sourceforge.net/sampledoc/
>>
>> do you know where can i find it ?
>>
>> Thanks!
>>
>> Massimo.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>>
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Michael D. <md...@st...> - 2012年09月18日 12:43:31
Sorry -- I seem to have missed that in the transition from Sourceforge 
to github hosting. I restore it. In the meantime, you can download the 
source for it here:
https://github.com/matplotlib/sampledoc
Mike
On 09/18/2012 02:29 AM, Massimo Di Stefano wrote:
> Hi All,
>
> I'm trying to access to the sampledoc tutorial, but seems it is no 
> more on git/sourceforge,
> i tried at the link :
>
> http://matplotlib.sourceforge.net/sampledoc/
>
> do you know where can i find it ?
>
> Thanks!
>
> Massimo.
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Massimo Di S. <mas...@gm...> - 2012年09月18日 06:29:43
Hi All,
I'm trying to access to the sampledoc tutorial, but seems it is no more on git/sourceforge,
i tried at the link :
http://matplotlib.sourceforge.net/sampledoc/
do you know where can i find it ?
Thanks!
Massimo.

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