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
(11) |
2
(1) |
|
3
(5) |
4
(25) |
5
(14) |
6
(36) |
7
(13) |
8
(15) |
9
|
|
10
(5) |
11
(5) |
12
(11) |
13
(15) |
14
(9) |
15
(16) |
16
(3) |
|
17
(13) |
18
(7) |
19
(9) |
20
(12) |
21
(2) |
22
(6) |
23
|
|
24
(2) |
25
(1) |
26
(16) |
27
(7) |
28
(11) |
29
(8) |
30
(1) |
|
From: Eric F. <ef...@ha...> - 2006-09-01 00:15:41
|
Scott,
This is fixed now in svn. (I will probably go back shortly and make
another change to improve efficiency.) There was a one-line bug in
contour.py, but the fundamental problem was that colors.ColorConverter
(which handles color inputs for collections, among other things) was
stripping off the alpha value and replacing it with 1.0.
Thanks for highlighting the bug.
Eric
Scott Ransom wrote:
> Hi Eric,
>
> This shows what I'm talking about:
>
> --------------------
> from pylab import *
>
> delta = 0.025
> x = arange(-3.0, 3.0, delta)
> y = arange(-2.0, 2.0, delta)
> X, Y = meshgrid(x, y)
> Z1 = bivariate_normal(X, Y, 1.0, 1.0, 0.0, 0.0)
> Z2 = bivariate_normal(X, Y, 1.5, 0.5, 1, 1)
> # difference of Gaussians
> Z = 10.0 * (Z2 - Z1)
>
> contourf(X, Y, sin(Y)*cos(X),
> alpha=0.2)
> hot()
> contour(X, Y, Z, 6,
> linewidths=4,
> colors=('r', 'green', 'blue', (1,1,0), '#afeeee', '0.5'),
> alpha=0.4)
> show()
>
> -------------------
>
> On Thursday 31 August 2006 13:50, Eric Firing wrote:
>> Scott,
>>
>> Please send a minimal example that I can use as a test case. This
>> sounds vaguely familiar.
>>
>> Thanks.
>>
>> Eric
>>
>> Scott Ransom wrote:
>>> Hi All,
>>>
>>> I'm using matplotlib (with agg backends) from recent svn:
>>>
>>> In [63]: matplotlib.__version__
>>> Out[63]: '0.87.4'
>>>
>>> and I can't seem to get contour() or contourf() to utilize the
>>> alpha keyword. No matter what value I set, alpha=1.0 on the
>>> output. Alpha in general works fine, as the scatter_demo2.py
>>> example gives very nicely alpha-channeled output.
>>>
>>> Any ideas? Thanks a bunch,
>>>
>>> Scott
>
|
|
From: Gerald J. M. M. <Ger...@jp...> - 2006-09-01 00:05:20
|
Hi all, I'm trying to generate a plot that contains 3 subplots: 2 line plots and a basemap plot showing location. I'm generating about 200 such plots however my script doesn't get to complete because it encounters a MemoryError. I found the test script at http://matplotlib.sourceforge.net/faq.html#LEAKS (which BTW generates a plot with 4 subplots) and it succeeded beautifully with no memory issues. However I changed the last subplot to be a basemap plot and I was able to see the memory leak. Below is the modified leak test script I used and the abbreviated output from it. I would truly appreciate any help on this. Thanks, Gerald ################################################ #memory leak test ################################################ import os, sys, time import matplotlib matplotlib.use('Agg') from pylab import * from matplotlib.toolkits.basemap import Basemap def report_memory(i): pid = os.getpid() a2 = os.popen('ps -p %d -o rss,sz' % pid).readlines() print i, ' ', a2[1], return int(a2[1].split()[1]) # take a memory snapshot on indStart and compare it with indEnd indStart, indEnd = 30, 150 for i in range(indEnd): ind = arange(100) xx = rand(len(ind)) figure(1) subplot(221) plot(ind, xx) subplot(222) X = rand(50,50) imshow(X) subplot(223) scatter(rand(50), rand(50)) subplot(224) #pcolor(10*rand(50,50)) m = Basemap(0, -85, 360, 85) m.plot((50,), (20,), 'ro', markersize=12, label='gps') m.drawcoastlines() savefig('tmp%d' % i, dpi = 75) close(1) val = report_memory(i) # wait a few cycles for memory usage to stabilize if i==indStart: start = val end = val print 'Average memory consumed per loop: %1.4fk bytes ' % \ ((end-start)/float(indEnd-indStart)) ################################################ #abbreviated results ################################################ 0 42724 12739 1 65068 18359 2 83036 22924 3 100980 27463 4 118928 32027 5 136872 36577 6 154828 41129 7 172784 45681 8 190736 50156 9 208692 54711 10 226644 59272 11 244592 63824 12 262548 68375 13 280496 72926 14 298440 77478 15 316392 81964 . . . 143 1771824 663458 144 1788924 668010 145 1791316 672561 146 1771104 677112 147 1775644 681599 148 1787288 686166 149 1791604 690718 Average memory consumed per loop: 4505.0833k bytes |