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

Showing 8 results of 8

From: Stef M. <ste...@gm...> - 2008年10月21日 23:12:12
Michael and John,
this is really fantastic !!
thanks,
Stef
John Hunter wrote:
> On Fri, Oct 17, 2008 at 12:37 PM, Zane Selvans <za...@id...> wrote:
>
> 
>> A thumbnail gallery of all the examples in the User's Guide and Examples is
>> a great idea!
>> Plots are inherently visual, and humans have a huge amount of built-in
>> visual processing power. Searching a even an enormous page of images to
>> find something that looks like what you're trying to create will be much
>> more efficient that trying to come up with the right keyword if you don't
>> know what it is already, or scanning a table of contents.
>> 
>
> Thanks to all for the suggestions. It took us a little longer than
> expected, but Michael and I have put together a pretty useful
> thumbnail and examples gallery. The thumbnails are generated by
> matplotlib from all the code in the examples directory, including
> those that generate multiple images. Click on any thumbnail and
> you'll be taken to a page for that example which has the full
> resolution image, syntax highlighted source code, and link to the
> source for download. Because the images and thumbnails are generated
> "live" from the source, they are more or less guaranteed to work, at
> least with the version of mpl we used to build the docs (typically svn
> HEAD).
>
> http://matplotlib.sourceforge.net/gallery.html
>
> And the full text of the examples are searchable from the search tool -- see
>
> http://matplotlib.sourceforge.net/faq/howto_faq.html#search-examples
>
> JDH
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
From: Jeff W. <js...@fa...> - 2008年10月21日 22:41:22
Mike Bauer wrote:
> I've been testing matplotlib and basemap (0.98.x and 0.99.x via svn 
> source) and python 2.6 (via svn) on ubuntu 8.04 (AMD-64).
>
> I noticed that calling basemap in a loop results in a fairly steep 
> linear increase in memory use; I burn though 6 Gb in a minute.
>
> Putting a loop in plotmap.py from the provided examples does this as 
> well, so I don't think it's something I'm doing.
>
> Any ideas?
>
> Thanks.
>
> Mike
>
> P.S. Note that I'd like to use python 2.6 for the multiprocessing 
> module (not in use in this script as of yet). My base install of 
> python 2.5 with matplotlib and basemap (0.98.3 and 0.99.1 via 
> sourceforge sourse) works fine.
Mike: Note that you don't actually need to recreate the basemap 
instance each time through the loop (since the map projection region is 
not changing). 
AFAIK there are no serious memory leaks in basemap with python 2.5 - so 
if you can provide an example that triggers one I'd like to see it. 
Sounds like it might only be occurring with python 2.6?
-Jeff
-- 
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jef...@no...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
From: Mike B. <oht...@gm...> - 2008年10月21日 21:16:46
I've been testing matplotlib and basemap (0.98.x and 0.99.x via svn source)
and python 2.6 (via svn) on ubuntu 8.04 (AMD-64).
I noticed that calling basemap in a loop results in a fairly steep linear
increase in memory use; I burn though 6 Gb in a minute.
Putting a loop in plotmap.py from the provided examples does this as well,
so I don't think it's something I'm doing.
Any ideas?
Thanks.
Mike
P.S. Note that I'd like to use python 2.6 for the multiprocessing module
(not in use in this script as of yet). My base install of python 2.5 with
matplotlib and basemap (0.98.3 and 0.99.1 via sourceforge sourse) works
fine.
From: John H. <jd...@gm...> - 2008年10月21日 17:24:11
On Fri, Oct 17, 2008 at 12:37 PM, Zane Selvans <za...@id...> wrote:
> A thumbnail gallery of all the examples in the User's Guide and Examples is
> a great idea!
> Plots are inherently visual, and humans have a huge amount of built-in
> visual processing power. Searching a even an enormous page of images to
> find something that looks like what you're trying to create will be much
> more efficient that trying to come up with the right keyword if you don't
> know what it is already, or scanning a table of contents.
Thanks to all for the suggestions. It took us a little longer than
expected, but Michael and I have put together a pretty useful
thumbnail and examples gallery. The thumbnails are generated by
matplotlib from all the code in the examples directory, including
those that generate multiple images. Click on any thumbnail and
you'll be taken to a page for that example which has the full
resolution image, syntax highlighted source code, and link to the
source for download. Because the images and thumbnails are generated
"live" from the source, they are more or less guaranteed to work, at
least with the version of mpl we used to build the docs (typically svn
HEAD).
 http://matplotlib.sourceforge.net/gallery.html
And the full text of the examples are searchable from the search tool -- see
 http://matplotlib.sourceforge.net/faq/howto_faq.html#search-examples
JDH
From: Pete <sne...@gm...> - 2008年10月21日 15:41:51
See my previous posts, subject "Matplotlib in cygwin". I attached a patch in
that thread that solves this problem for me, but it looks like I have other
more serious problems with cygwin on my machine.
Please let us know if you get it to work.
2008年10月20日 Terrence Brannon <met...@gm...>
> Hello, I would like to know what I can do to fix this problem.
>
>
> Administrator@LIFEBOOK /cygdrive/c/downloads/matplotlib-0.98.3 : python
> setup.py build
>
> ============================================================================
> BUILDING MATPLOTLIB
> matplotlib: 0.98.3
> python: 2.5.2 Stackless 3.1b3 060516 (release25-maint, Oct
> 1 2008, 19:33:07) [GCC 3.4.4 (cygming special, gdc
> 0.12, using dmd 0.125)]
> platform: cygwin
>
> REQUIRED DEPENDENCIES
> numpy: 1.2.0
> freetype2: 9.18.3
>
> OPTIONAL BACKEND DEPENDENCIES
> libpng: 1.2.12
> Traceback (most recent call last):
> File "setup.py", line 125, in <module>
> if check_for_tk() or (options['build_tkagg'] is True):
> File "/cygdrive/c/downloads/matplotlib-0.98.3/setupext.py", line 841,
> in check_for_tk
> explanation = add_tk_flags(module)
> File "/cygdrive/c/downloads/matplotlib-0.98.3/setupext.py", line 1084,
> in add_tk_flags
> result = parse_tcl_config(tcl_lib_dir, tk_lib_dir)
> File "/cygdrive/c/downloads/matplotlib-0.98.3/setupext.py", line 946,
> in parse_tcl_config
> tk_lib = tk_vars.get("default", "TK_LIB_SPEC")[1:-1].split()[0][2:]
> IndexError: list index out of range
> Administrator@LIFEBOOK /cygdrive/c/downloads/matplotlib-0.98.3 :
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: John H. <jd...@gm...> - 2008年10月21日 15:37:37
On Tue, Oct 21, 2008 at 7:13 AM, Matthias Michler
<Mat...@gm...> wrote:
> Hello list,
>
> rehashing an old script I recognized I essential difference between mpl 0.91.4
> and mpl-svn 0.98.3 $Revision: 6203 $.
>
> In 0.91.4 ax.get_xlim() return a tuple with the current xlimits.
> In 0.98.3 ax.get_xlim() return a numpy array with the current xlimits, which
> is a reference to the axis limits and therefore changes of this array are
> coupled to changes of the xlimits.
> - ax.set_xlim() still shows the old behaviour of ax.get_xlim()
Yep, this came up the other day. Fixed in svn. get_xlim, get_ylim
now return a tuple
From: John H. <jd...@gm...> - 2008年10月21日 13:53:50
On Tue, Oct 21, 2008 at 8:48 AM, Pete <sne...@gm...> wrote:
> gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> -I/usr/lib/python2.5/site-packages/numpy-1.2.0-py2.5-cygwin-1.5.25-i686.egg/numpy/core/include
> -I/usr/include/freetype2 -I/usr/include -I. -I/usr/include/python2.5 -c
> src/ft2font.cpp -o build/temp.cygwin-1.5.25-i686-2.5/src/ft2font.o
> Unable to free colormap, palette is still selected.
> gcc: fork: Resource temporarily unavailable
> error: command 'gcc' failed with exit status 1
It is unrelated, and I haven't seen it personally, but a quick google for
 gcc freetype2 Unable to free colormap, palette is still selected.
revealed
 http://cygwin.com/ml/cygwin/2007-10/msg00634.html
which may be of some help. Check the other google search results and
let us know what you find.
JDH
From: Matthias M. <Mat...@gm...> - 2008年10月21日 13:14:16
Hello list,
rehashing an old script I recognized I essential difference between mpl 0.91.4 
and mpl-svn 0.98.3 $Revision: 6203 $.
In 0.91.4 ax.get_xlim() return a tuple with the current xlimits.
In 0.98.3 ax.get_xlim() return a numpy array with the current xlimits, which 
is a reference to the axis limits and therefore changes of this array are 
coupled to changes of the xlimits.
- ax.set_xlim() still shows the old behaviour of ax.get_xlim()
I' m not sure this is a bug, but at least it is sometimes dangerous to change 
the resulting variable and I didn't expect it, while calling a getter. 
I attached a (small) program illustrating the different behaviour of get_xlim.
Thanks in advance for any comments.
regards
Matthias
1 message has been excluded from this view by a project administrator.

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