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
(10) |
3
(29) |
4
(56) |
5
(44) |
6
(26) |
7
(12) |
8
(1) |
9
(2) |
10
(11) |
11
(28) |
12
(17) |
13
(6) |
14
(17) |
15
(7) |
16
(1) |
17
(8) |
18
(8) |
19
(7) |
20
(2) |
21
(8) |
22
(4) |
23
(6) |
24
(1) |
25
(2) |
26
(8) |
27
(3) |
28
(5) |
29
(1) |
30
|
31
(1) |
|
|
|
|
|
In article <e59...@ma...>, "Stephen Uhlhorn" <ste...@gm...> wrote: > I'm running MacPython 2.5 on Mac OS 10.5.1 and would like to update > matplotlib to 0.91.1. Im using mpl 0.90.1 from the pythonmac site now. > Is it better for me to wait till a pythonmac package is availabel or > are the eggs on SF good to use. I would favor the SF eggs because of > ease of upgrading unless there are some OS X conflicts I'm unaware of. If you use Tcl/Tk and use a current version (instead of the ancient version that is built in) then use the packages at pythonmac. I just built 0.91.1 today and it should show up there soon. Meanwhile you can get it from here: <http://www.astro.washington.edu/rowen/pythoninstallers/> I hope that someday the official Mac egg version will work with 3rd party Tcl/Tk but no version I've tried has -- including 0.91.1. > If I use the eggs, what's the best way to safely uninstall the > pythonmac package? Just delete the relevant site-packages durectory? That's what I do, but I'm not sure it's the best way. I delete all folders whose names start with "matplotlib" (usually a folder named "matplotlib" and another named matplotlib-xxx-py2.5.egg-info) -- Russell
Michael Droettboom skrev: > Fernando Perez wrote: >> Hey Jorgen, >> >> On Dec 4, 2007 12:10 PM, Jörgen Stenarson <jor...@bo...> wrote: >>> Hi, >>> >>> I get a complete crash dumping me in the console when there are unknown >>> latex commands in a mathtext expression, this when doing interactive >>> stuff in ipython -pylab. >>> >>> examples: >>> title("$|S_{11}|$") >> that's odd, it's OK for mpl to throw the exception, what shouldn't be >> happening is for ipython to fully crash out. I can't reproduce it >> with SVN mpl on my box, I tried both tkagg and gtkagg as backends and >> in both cases I see the exception traceback (as Michael intended by >> raising the error) but I simply get back the next ipython prompt, as >> usual. I don't understand how this particular exception could crash >> out ipython, since it's being raised inside regular user code... > > You're right -- I misread the original report. It doesn't crash ipython > for me either. I just get another ipython prompt. > > Cheers, > Mike > Thanks Mike. I hope we can figure out what is causing the crashes but I guess we can take this over on the ipython-list. Fernando have you tried it on a windows machine? I'm using tkagg. Do you have any ideas on what I could start testing to isolate the problem? /Jörgen
It sure is! For the top too you need subplot(2,2,1) and subplot(2,2,2) For the bottom plot subplot(2,1,2) They key to remember is the numrows x numcols defines the grid and the plot number defines where the plot goes in the grid. This is a tricky bit to wrap your head around initially but once you get it, its a very powerful way of specifies plots with just 3 bits of info. Shannon ---------------- Shannon Jaeger Physics & Asronomy Dept. University of Calgary On Tue, December 4, 2007 11:19 am, Tom Johnson said: > Is it possible to have nested subplots? > > I would like to have 2 rows....with the top row having two columns and > the bottom row having one column. > > For the bottom plot, I'd like to be able to choose between the following: > 1) The size of the bottom plot expands to fill the entire horizontal > space. > 2) The size of the bottom plot is unchanged (same as the other two > plots) and is simply centered in the bottom row. > > x x > x > > Thanks. > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > >
massimo sandal <mas...@un...> [2007年12月04日 09:18]: >On a related note, I *hate* that hitting "reply" uses the mail address >of the parent poster, instead than that of the mailing list. The scipy >and the gentoo mailing list (two other examples I know) behave more >properly. Is this a sourceforge quirk? The list follows RFC 2822. The Reply-To header is intended to be created by the originator of the message. List software that overwrites the Reply-To header destroys the function it's intended for. There's an excellent essay on this at: http://woozle.org/~neale/papers/reply-to-still-harmful Mailman implements RFC 2369, which is intended to address this issue. If you want replies to go to the list, I suggest that you use a mail client that follows RFC 2369. If you choose to use old software that doesn't recognize the List-Post header, please don't complain about software that follows RFC standards. -rex
Stephen Uhlhorn wrote: > I'm running MacPython 2.5 on Mac OS 10.5.1 and would like to update > matplotlib to 0.91.1. Im using mpl 0.90.1 from the pythonmac site now. > Is it better for me to wait till a pythonmac package is availabel or > are the eggs on SF good to use. I'm pretty sure the goal is that the eggs on SF are good to go. Please report it if they don't work for you. The goal behind the pythonmac packages was that they be as easy as possible to install. We started all that before eggs existed (or became common, anyway). We may just start putting eggs on pythonmac, though since nothing useful happens when you double-click on them, some newbies have gotten confused. > If I use the eggs, what's the best way to safely uninstall the > pythonmac package? Just delete the relevant site-packages durectory? That will work, though I don't think you need to uninstall it at all, unless you want to save a bit of disk space. --running off to test this myself.... -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...
Fernando Perez wrote: > Hey Jorgen, > > On Dec 4, 2007 12:10 PM, Jörgen Stenarson <jor...@bo...> wrote: >> Hi, >> >> I get a complete crash dumping me in the console when there are unknown >> latex commands in a mathtext expression, this when doing interactive >> stuff in ipython -pylab. >> >> examples: >> title("$|S_{11}|$") > > that's odd, it's OK for mpl to throw the exception, what shouldn't be > happening is for ipython to fully crash out. I can't reproduce it > with SVN mpl on my box, I tried both tkagg and gtkagg as backends and > in both cases I see the exception traceback (as Michael intended by > raising the error) but I simply get back the next ipython prompt, as > usual. I don't understand how this particular exception could crash > out ipython, since it's being raised inside regular user code... You're right -- I misread the original report. It doesn't crash ipython for me either. I just get another ipython prompt. Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Hey Jorgen, On Dec 4, 2007 12:10 PM, J=F6rgen Stenarson <jor...@bo...> = wrote: > Hi, > > I get a complete crash dumping me in the console when there are unknown > latex commands in a mathtext expression, this when doing interactive > stuff in ipython -pylab. > > examples: > title("$|S_{11}|$") that's odd, it's OK for mpl to throw the exception, what shouldn't be happening is for ipython to fully crash out. I can't reproduce it with SVN mpl on my box, I tried both tkagg and gtkagg as backends and in both cases I see the exception traceback (as Michael intended by raising the error) but I simply get back the next ipython prompt, as usual. I don't understand how this particular exception could crash out ipython, since it's being raised inside regular user code... Really, really strange... f
Jörgen Stenarson wrote: > Hi, > > I get a complete crash dumping me in the console when there are unknown > latex commands in a mathtext expression, this when doing interactive > stuff in ipython -pylab. That is on purpose. If you give mathtext something that is a syntax error, it throws an exception, showing where the syntax error occurred. The only time mathtext gives warnings (as opposed to errors) is when a the expression is syntactically correct but the symbols can not be found in the currently configured font. This is to make sure that plots are portable between matplotlib installations ... but the intention is not to fail silently on invalid expressions. > examples: > title("$|S_{11}|$") > title("$\vbar S_{11} \vbar$") > > I would also like to see an alias between | and \vert like there is in > regular latex. That was an oversight -- and is a good idea. This has been added in r4586. Thanks for finding this, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
I just started playing with the CocoaAgg backend in mpl 0.90.1 w/pyobjc 1.4 and matplotlib uses the 'backend' line in the rc file just fine. However, it doesn't seem to work well in interactive mode using ipython 0.8.1 (control is not returned to the shell after plotting). -stephen On Dec 4, 2007 1:49 PM, Chris Fonnesbeck <lis...@ma...> wrote: > I have the CocoaAgg backend specified in matplotlibrc in ~/.matplotlib/ as: > > backend : CocoaAgg > > However, when I plot, matplotlib uses the TkAgg backend in spite of this. > > -- > Christopher J. Fonnesbeck > + Fish & Wildlife Research Institute (FWC) > + 727.235.5570 > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Hi, I get a complete crash dumping me in the console when there are unknown latex commands in a mathtext expression, this when doing interactive stuff in ipython -pylab. examples: title("$|S_{11}|$") title("$\vbar S_{11} \vbar$") I would also like to see an alias between | and \vert like there is in regular latex. I have attached a crash report from ipython for the first case I'm using 0.91.1, python 2.4, on win xp /Jörgen
Of course, I meant CocoaAgg, not -Aff. cf On Dec 4, 2007 1:49 PM, Chris Fonnesbeck <lis...@ma...> wrote: > I have the CocoaAgg backend specified in matplotlibrc in ~/.matplotlib/ as: > > backend : CocoaAgg > > However, when I plot, matplotlib uses the TkAgg backend in spite of this. > > -- > Christopher J. Fonnesbeck > + Fish & Wildlife Research Institute (FWC) > + 727.235.5570 > -- Christopher J. Fonnesbeck + Fish & Wildlife Research Institute (FWC) + 727.235.5570
Charlie Moad skrev: > I have posted fresh win32 eggs and exe's on SF. I explicitly removed > the inclusion of msvcp from distutils in numpy. Please give them a > try and let me know if you have any more problems. Note: I just > posted the files so it might take a while for them to propagate. > > - Charlie > Works fine for me now. /Jörgen
On Dec 4, 2007 12:19 PM, Tom Johnson <tj...@gm...> wrote: > Is it possible to have nested subplots? > > I would like to have 2 rows....with the top row having two columns and > the bottom row having one column. > > For the bottom plot, I'd like to be able to choose between the following: > 1) The size of the bottom plot expands to fill the entire horizontal space. > 2) The size of the bottom plot is unchanged (same as the other two > plots) and is simply centered in the bottom row. 1) is easy: subplot(221) subplot(222) subplot(212) 2) requires you to use axes rather than subplot. The syntax is axes([left, bottom, width, height]) ax1 = subplot(221) ax2 = subplot(222) l,b,w,h = ax1.get_position() ax3 = axes([0.5-w/2., 0.1, w, h])
I have the CocoaAgg backend specified in matplotlibrc in ~/.matplotlib/ as: backend : CocoaAgg However, when I plot, matplotlib uses the TkAgg backend in spite of this. -- Christopher J. Fonnesbeck + Fish & Wildlife Research Institute (FWC) + 727.235.5570
I'm running MacPython 2.5 on Mac OS 10.5.1 and would like to update matplotlib to 0.91.1. Im using mpl 0.90.1 from the pythonmac site now. Is it better for me to wait till a pythonmac package is availabel or are the eggs on SF good to use. I would favor the SF eggs because of ease of upgrading unless there are some OS X conflicts I'm unaware of. If I use the eggs, what's the best way to safely uninstall the pythonmac package? Just delete the relevant site-packages durectory? Thanks- -stephen
Is it possible to have nested subplots? I would like to have 2 rows....with the top row having two columns and the bottom row having one column. For the bottom plot, I'd like to be able to choose between the following: 1) The size of the bottom plot expands to fill the entire horizontal space. 2) The size of the bottom plot is unchanged (same as the other two plots) and is simply centered in the bottom row. x x x Thanks.
Lars, I don't think you can do much about this using the interactive tool, so your options are: 1) position all axes explicitly, or 2) use colorbar kwargs to get a more pleasing arrangement. The relevant kwargs are: fraction = 0.15; fraction of original axes to use for colorbar pad = 0.05 if vertical, 0.15 if horizontal; fraction of original axes between colorbar and new image axes shrink = 1.0; fraction by which to shrink the colorbar aspect = 20; ratio of long to short dimensions Eric Lars Friedrich wrote: > Hello, > > I would like to have multiple image plots in a figure. Each plot should > have its own colorbar. I tried the following: > > ********************************** > a = N.array(((1,2,3), (4,5,6))) > > P.figure(0) > P.subplot(1,2,1) > P.imshow(a) > P.colorbar() > > P.subplot(1,2,2) > P.imshow(a) > P.colorbar() > ************************************ > > The two images display and have their own colorbar, each. However, the > placement is not optimal. (see attached 'colorbar1.png') But when I try > to use the "Configure subplot parameters" feature in the interactive > figure window, only the image plots are affected and the colorbars stay > as they are. When I hit the reset button in the "configure subplots" > dialogue, the figure looks different from the way it looked, when it was > generated (see attached 'colorbar2.png'). Do I have to do all the > placement on my own by using axes.set_position or is there a more > comfortable way using the subplot syntax? > > Thanks > Lars > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Mike, Updating to 0.91.1 fixed it. Python's memory usage was climbing in excess of 1 GB when running this script before (eventually crashing) -- now it hovers nicely around 60MB and completes with no problems. Excellent! Thanks, --Jordan Michael Droettboom wrote: > You can try running the garbage collector after each savefig. > ("import gc" and then call "gc.collect()"). If you are using a GUI > backend, you may want to try using the "raw" Agg backend instead -- > there are fewer moving parts that way. > > There have been a number of memory leaks that have been fixed since > 0.90.1. You may want to try 0.91 or a SVN checkout to see if that > fixes your problem. > > There is additional information about memory leaks in the FAQ. I > don't know if any are relevant to your particular situation: > > http://matplotlib.sourceforge.net/faq.html#LEAKS > > If none of the above helps, please send a complete but short script > that reproduces the error (basing it on memleak_gui.py or > memleak_hawaii.py is even more helpful), and one of the developers can > look into it. > > Cheers, > Mike > > Jordan Atlas wrote: > >> Hi all, >> >> I've noticed that when I save my figures using savefig the memory >> is not immediately released. For example, in pseudocode, >> >> times = get_times() >> for var_id in var_list: >> Plotting.figure() >> var_values = get_values(var_id) >> pylab.plot(times, values) >> Plotting.savefig(var+'.png', dpi=150) >> Plotting.close() >> >> This pseudo code loops over a list of variables, gets their values, >> and saves a plot for each one. The variable list has hundreds of >> items. If I run the code like this, the memory usage grows very >> quickly until python crashes. If I comment out the savefig line, or >> shorten the list of variables, the code completes without error. >> >> Can anyone suggest how I might write this differently so that I can >> process the long list of variables and save the figures? Is there >> any way to force the program to release memory once the figures are >> saved? >> >> I'm using matplotlib 0.90.1 and python 2.4 on windows XP. >> >> Thank you, >> >> --Jordan Atlas >> >> >> ------------------------------------------------------------------------- >> >> SF.Net email is sponsored by: The Future of Linux Business White Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
This is apparently a configuration option of mailman that has been purposefully set for the matplotlib mailing lists. I don't have strong opinions about this, but you may be interested in this thread: http://sourceforge.net/mailarchive/message.php?msg_id=903323ff0708220749r82f9650i7338e63a56d6094d%40mail.gmail.com Cheers, Mike massimo sandal wrote: > Robert Dailey ha scritto: > >> What are the different ways one could send an email to a mailing list? > > On a related note, I *hate* that hitting "reply" uses the mail address > of the parent poster, instead than that of the mailing list. The scipy > and the gentoo mailing list (two other examples I know) behave more > properly. Is this a sourceforge quirk? > > m. > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
You can try running the garbage collector after each savefig. ("import gc" and then call "gc.collect()"). If you are using a GUI backend, you may want to try using the "raw" Agg backend instead -- there are fewer moving parts that way. There have been a number of memory leaks that have been fixed since 0.90.1. You may want to try 0.91 or a SVN checkout to see if that fixes your problem. There is additional information about memory leaks in the FAQ. I don't know if any are relevant to your particular situation: http://matplotlib.sourceforge.net/faq.html#LEAKS If none of the above helps, please send a complete but short script that reproduces the error (basing it on memleak_gui.py or memleak_hawaii.py is even more helpful), and one of the developers can look into it. Cheers, Mike Jordan Atlas wrote: > Hi all, > > I've noticed that when I save my figures using savefig the memory is > not immediately released. For example, in pseudocode, > > times = get_times() > for var_id in var_list: > Plotting.figure() > var_values = get_values(var_id) > pylab.plot(times, values) > Plotting.savefig(var+'.png', dpi=150) > Plotting.close() > > This pseudo code loops over a list of variables, gets their values, and > saves a plot for each one. The variable list has hundreds of items. If > I run the code like this, the memory usage grows very quickly until > python crashes. If I comment out the savefig line, or shorten the list > of variables, the code completes without error. > > Can anyone suggest how I might write this differently so that I can > process the long list of variables and save the figures? Is there any > way to force the program to release memory once the figures are saved? > > I'm using matplotlib 0.90.1 and python 2.4 on windows XP. > > Thank you, > > --Jordan Atlas > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Robert Dailey ha scritto: > What are the different ways one could send an email to a mailing list? On a related note, I *hate* that hitting "reply" uses the mail address of the parent poster, instead than that of the mailing list. The scipy and the gentoo mailing list (two other examples I know) behave more properly. Is this a sourceforge quirk? m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email: mas...@un... tel: +39-051-2094388 fax: +39-051-2094387
Hi all, I've noticed that when I save my figures using savefig the memory is not immediately released. For example, in pseudocode, times = get_times() for var_id in var_list: Plotting.figure() var_values = get_values(var_id) pylab.plot(times, values) Plotting.savefig(var+'.png', dpi=150) Plotting.close() This pseudo code loops over a list of variables, gets their values, and saves a plot for each one. The variable list has hundreds of items. If I run the code like this, the memory usage grows very quickly until python crashes. If I comment out the savefig line, or shorten the list of variables, the code completes without error. Can anyone suggest how I might write this differently so that I can process the long list of variables and save the figures? Is there any way to force the program to release memory once the figures are saved? I'm using matplotlib 0.90.1 and python 2.4 on windows XP. Thank you, --Jordan Atlas
Hey guys, I realize this isn't the place to post this but I can't figure out a better place. I just had a really quick question. Sometimes I notice that mail I receive from this mailing list was never directly (through To: or CC:) sent to the mailing list. For example, say there's two people communicating: fo...@bl... fo...@bl... Usually when foo1 sends a mail to foo2, foo2 will receive a mail like this: To: fo...@bl... From: fo...@bl... CC: mat...@li... However, in one case I found that the mail was never sent to matplotlib-users. However, somehow the list.sourceforge.net mailing server intercepted it and sent it to the other person via a 'bounce' email address. How does this happen? What are the different ways one could send an email to a mailing list? Thanks, and again apologies for the off topic post.
I have the CocoaAgg backend specified in matplotlibrc in ~/.matplotlib/ as: backend : CocoaAgg However, when I plot, matplotlib uses the TkAgg backend in spite of this. -- Christopher J. Fonnesbeck + Fish & Wildlife Research Institute (FWC) + 727.235.5570
On Tuesday 04 December 2007 16:05:33 John Hunter wrote: > On Dec 4, 2007 10:00 AM, Jos=E9 G=F3mez-Dans <jgo...@gm...> wrote: > > Interestingly enough, the embedding_in_gtk.py script works perfectly > > (takes less than a second to run), so I am not able to reproduce the > > slowness! > > Hmm, the plot thickens. How about embedding_in_gtk2.py -- this add the > toolbar This does indeed slow things down. The minimal script that reproduces this= =20 behaviour is the following (the delay appears round about the definition of= =20 toolbar): import gtk from matplotlib.axes import Subplot from matplotlib.figure import Figure from numpy import arange, sin, pi from matplotlib.backends.backend_gtk import FigureCanvasGTK as FigureCanvas from matplotlib.backends.backend_gtk import NavigationToolbar2GTK \ as NavigationToolbar win =3D gtk.Window() win.connect("destroy", lambda x: gtk.main_quit()) win.set_default_size(400,300) win.set_title("Embedding in GTK") fig =3D Figure(figsize=3D(5,4), dpi=3D100) canvas =3D FigureCanvas(fig) toolbar =3D NavigationToolbar(canvas, win) # ^ Delay appears here win.add(toolbar) win.show_all() gtk.main()