You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
| 2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
| 2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
| 2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
| 2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
| 2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
| 2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
| 2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
| 2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
| 2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
| 2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
| 2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(1) |
2
(7) |
3
(3) |
4
|
5
|
6
|
|
7
|
8
|
9
|
10
(2) |
11
|
12
(1) |
13
(1) |
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
|
28
|
29
(3) |
30
(2) |
31
|
|
|
|
|
From: John H. <jdh...@ac...> - 2003-12-10 13:29:56
|
>>>>> "Zachary" == Zachary Pincus <zp...@st...> writes:
Zachary> Hello - I just posted a few bugs (and patches to fix
Zachary> them) to the sourceforge bugtracker page before I
Zachary> realized that the email list is preferred.
More people see the list I think, but the SF mirror for the dev list
is generally woefully out of date, so it's a tossup.
Zachary> Short story: I found and (hopefully) fixed a problem with
Zachary> pcolor on non-square arrays, a startup error in the
Zachary> interactive.py shell, and a problem with repeated output
Zachary> when saving postscript backend figures. The details of
Zachary> the bugs and patches are copied below.
Thanks for the detailed information and patches!
Zachary> This happens because the shape of the X and Y arrays (the
Zachary> output of a meshgrid call on line 1782) have the wrong
Zachary> shape. In particular, the shape is backward. e.g. if
Zachary> C.shape = (x,y), then X.shape = Y.shape = (y, x).
The behavior of meshgrid certainly is a bit counter-intuitive. Eg, in
matlab
>> x = [1:7];
>> y = [1:5];
>> [X,Y] = meshgrid(x,y);
>> Z = rand(length(x), length(y));
>> pcolor(X,Y,Z);
??? Error using ==> surface
Matrix dimensions must agree.
matplotlib fails in the same way. I've updated the docs in meshgrid,
pcolor and fixed the meshgrid call in the case of pcolor(Z) for
nonsquare Z.
I added the following to the pcolor docs - let me know if you agree
with this.
"""
Note, the behavior of meshgrid in matlab is a bit
counterintuitive for x and y arrays. For example,
x = arange(7)
y = arange(5)
X, Y = meshgrid(x,y)
Z = rand( len(x), len(y))
pcolor(X, Y, Z)
will fail in matlab and matplotlib. You will probably be
happy with
pcolor(X, Y, transpose(Z))
Likewise, for nonsquare Z,
pcolor(transpose(Z))
will make the x and y axes in the plot agree with the numrows
and numcols of Z
"""
Zachary> Patch: Change matplotlib/axes.py line 1782 from: X, Y =
Zachary> meshgrid(range(numRows), range(numCols)) to: X, Y =
Zachary> meshgrid(range(numCols), range(numRows))
Done
Zachary> (*)
Zachary> http://matplotlib.sourceforge.net/matplotlib.mlab.html#-meshgrid
Fixed doc bug.
Zachary> Patch: Insert the command: interpreter.feed("from
Zachary> matplotlib.backends.backend_gtk import ShowOn") somewhere
Zachary> before line 206.
Fixed -- I don't know how this got removed.
Zachary> Patch: Insert the following lines at the end of the
Zachary> print_figure method of the FigurePS class in the file
Zachary> matplotlib/ backends/backend_ps.py (line 189):
Zachary> self._pswriter = StringIO()
Zachary> self._pswriter.write(_psHeader)
Added a flush method, called by __init__ and after writing the figure.
Thanks again -- that was very helpful.
John Hunter
|
|
From: Zachary P. <zp...@st...> - 2003-12-10 08:15:43
|
Hello - I just posted a few bugs (and patches to fix them) to the sourceforge bugtracker page before I realized that the email list is preferred. Short story: I found and (hopefully) fixed a problem with pcolor on non-square arrays, a startup error in the interactive.py shell, and a problem with repeated output when saving postscript backend figures. The details of the bugs and patches are copied below. Zach Pincus Here is the relevant information: ---------------------------------- pcolor(array) fails when array is not square, on version 0.40i of matplotlib. Details: A non-square array causes an indexError on line 1798 of matplotlib/axes.py: c = C[i,j] because iteration has continued past the edge of the array. This happens because the shape of the X and Y arrays (the output of a meshgrid call on line 1782) have the wrong shape. In particular, the shape is backward. e.g. if C.shape = (x,y), then X.shape = Y.shape = (y, x). Patch: Change matplotlib/axes.py line 1782 from: X, Y = meshgrid(range(numRows), range(numCols)) to: X, Y = meshgrid(range(numCols), range(numRows)) Rationale: Meshgrid(range(x), range(y)) returns arrays with a shape of (y, x), which is a bit counterintuitive. The documentation(*) bears this out. It is confusing because the convention therein is that a Nx x Ny entry array has Nx columns and Ny rows, while a (Nx, Ny)- shaped array (in Matlab as well as Numeric) has Nx rows and Ny columns. I don't know why the original meshgrid in matlab worked this way, but it does. (*) http://matplotlib.sourceforge.net/matplotlib.mlab.html#-meshgrid ---------------------------------- Problem: examples/interactive.py (version 0.40i) does not start up properly. Details: A NameError is raised on startup when the command on line 206 fails: interpreter.feed ("ShowOn().set(1)") This is because ShowOn is not in the global namespace. Not running ShowOn().set(1) breaks interactive mode badly. Patch: Insert the command: interpreter.feed("from matplotlib.backends.backend_gtk import ShowOn") somewhere before line 206. ---------------------------------- Problem: If savefig() is called more than once on a postscript backend figure, extra copies of the figure will be appended to the output. Details: Regardless of the file name that the figure is saved under, each time savefig() is called, an additional copy of the figure appears at the end of the postscript output. So if savefig() is called four times, the output from that fourth call will be four copies of that figure on a multipage postscript file. Patch: Insert the following lines at the end of the print_figure method of the FigurePS class in the file matplotlib/ backends/backend_ps.py (line 189): self._pswriter = StringIO() self._pswriter.write(_psHeader) Rationale: The postscript backend is not clearing the pswriter accumulator buffer between repeated calls to print_figure. So after each call, another copy of the figure gets added to the buffer and dumped to the output. The patch re- initializes the pswriter buffer. Note that the patch is sort of bad form because it duplicates the pswriter initialization code from the __init__ method of that class. So if the init method is changed, the patched lines need to be changed too. Better would be to move the pswriter initialization to a separate function and call that from both the init and print_figure methods. |