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
|
2
(1) |
3
(4) |
4
|
5
|
6
(15) |
7
(2) |
8
(1) |
9
(3) |
10
|
11
|
12
(8) |
13
(6) |
14
(4) |
15
(6) |
16
(1) |
17
|
18
(1) |
19
(4) |
20
|
21
|
22
(7) |
23
(12) |
24
(2) |
25
(1) |
26
(3) |
27
|
28
(2) |
29
(1) |
30
(2) |
|
Darren Dale wrote: >On Monday 12 June 2006 11:02, Darren Dale wrote: > > >>I can confirm this, using mpl svn2473 and numpy svn2603. >> >>On Monday 12 June 2006 03:08, Nils Wagner wrote: >> >> >>>matplotlib data path >>>/usr/lib64/python2.4/site-packages/matplotlib/mpl-data >>>$HOME=/home/nwagner >>>loaded rc file /home/nwagner/matplotlibrc >>>matplotlib version 0.87.3 >>>verbose.level helpful >>>interactive is False >>>platform is linux2 >>>numerix numpy 0.9.9.2603 >>>Traceback (most recent call last): >>> File "cascade.py", line 3, in ? >>> from pylab import plot, show, xlim, ylim, subplot, xlabel, ylabel, >>>title, legend,savefig,clf,scatter >>> File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ? >>> from matplotlib.pylab import * >>> File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line >>>198, in ? >>> import mlab #so I can override hist, psd, etc... >>> File "/usr/lib64/python2.4/site-packages/matplotlib/mlab.py", line 74, >>>in ? >>> from numerix.fft import fft, inverse_fft >>>ImportError: cannot import name inverse_fft >>> >>> > >It looks like NumPy renamed inverse_fft to ifft. Adding the following to the >numpy block in lib/matplotlib/numerix/fft/__init__.py lets me run pylab >again: > > from numpy.dft import * > inverse_fft = ifft > > The ifft name has been there for a while. Recently though, I moved the old interface to numpy.dft.old (similar to what was done for linalg). This is in an effort to distinguish between backwards_compatible names and "currently used" names. I've committed a change that imports all the old names to the numerix interface. I didn't see any use besides inverse_fft, but I figure others who use the numerix interface may have been using more names so I imported all of them. Sorry, I didn't catch this sooner. -Travis
>>>>> "Eric" == Eric Firing <ef...@ha...> writes: Eric> I don't understand how event handling works, so I am Eric> wondering: can we indeed be sure that window resize etc Eric> events are being blocked inside the freeze/thaw block in Eric> Axes.draw()? Are they blocked inside the entire draw Eric> method? What controls when a mouse event gets processed? As far as I understand, GTK and other GUIs operate in a single thread, which means all the events they generate will be handled sequentially and not in parallel. Thus we can be sure that a call to draw will complete before the next one is called. But someone correct me if I'm wrong... What we try to avoid is having too many of these events pile up, so for example if a draw operation is expensive, lots of them can be queued and will be executing long after the resize is over. To avoid this, we use an idle draw handler in FigureCanvas.draw_idle. JDH
John Hunter wrote: >>>>>>"Eric" == Eric Firing <ef...@ha...> writes: > > > >> Hey someone said something nice about transforms! > > Eric> About time, isn't it! > > Eric> One thing I still don't understand: when is it necessary to > Eric> bracket code with freeze/thaw? > > It's never necessary, it's an optimization. Lots of objects share the > ax.transData transform. When it is called to transform, all the lazy > objects must be evaluated and lots of virtual function calls made. By > "freezing" the transform, it will evaluate the lazy objects and > compute and cache the components of the affine. Every freeze must be > paired with a thaw, and only when you know the window resize, figure > dpi, xlim settings, etc cannot occur in between the freeze and the > thaw. John, I don't understand how event handling works, so I am wondering: can we indeed be sure that window resize etc events are being blocked inside the freeze/thaw block in Axes.draw()? Are they blocked inside the entire draw method? What controls when a mouse event gets processed? Thanks. Eric
Jeff, I made minimal changes to my copy of basemap to support the new quiver and quiverkey, and to illustrate them in quiver_demo.py. The older quiver is still accessible as quiver_classic. A diff against svn is attached. (It includes do-nothing diffs caused by my editor's deletion of end-of-line whitespace when a file is saved.) If you like, I can commit the changes. There is still what I hope is a minor flaw: when the aspect ratio is controlled, as in basemap, it seems that the changes in rendered arrow width upon zooming are a bit jumpy, and the key arrow width can end up a bit different from the map arrow widths. I don't think this affects the length, so the key is still valid (as far as I have been able to determine.) I would like to improve this, but I don't think that use of the new quiver needs to wait for it. Eric
On Monday 12 June 2006 11:02, Darren Dale wrote: > I can confirm this, using mpl svn2473 and numpy svn2603. > > On Monday 12 June 2006 03:08, Nils Wagner wrote: > > matplotlib data path > > /usr/lib64/python2.4/site-packages/matplotlib/mpl-data > > $HOME=/home/nwagner > > loaded rc file /home/nwagner/matplotlibrc > > matplotlib version 0.87.3 > > verbose.level helpful > > interactive is False > > platform is linux2 > > numerix numpy 0.9.9.2603 > > Traceback (most recent call last): > > File "cascade.py", line 3, in ? > > from pylab import plot, show, xlim, ylim, subplot, xlabel, ylabel, > > title, legend,savefig,clf,scatter > > File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ? > > from matplotlib.pylab import * > > File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line > > 198, in ? > > import mlab #so I can override hist, psd, etc... > > File "/usr/lib64/python2.4/site-packages/matplotlib/mlab.py", line 74, > > in ? > > from numerix.fft import fft, inverse_fft > > ImportError: cannot import name inverse_fft It looks like NumPy renamed inverse_fft to ifft. Adding the following to the numpy block in lib/matplotlib/numerix/fft/__init__.py lets me run pylab again: from numpy.dft import * inverse_fft = ifft Should I commit this? Darren
I can confirm this, using mpl svn2473 and numpy svn2603. On Monday 12 June 2006 03:08, Nils Wagner wrote: > matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl-data > $HOME=/home/nwagner > loaded rc file /home/nwagner/matplotlibrc > matplotlib version 0.87.3 > verbose.level helpful > interactive is False > platform is linux2 > numerix numpy 0.9.9.2603 > Traceback (most recent call last): > File "cascade.py", line 3, in ? > from pylab import plot, show, xlim, ylim, subplot, xlabel, ylabel, > title, legend,savefig,clf,scatter > File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ? > from matplotlib.pylab import * > File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line > 198, in ? > import mlab #so I can override hist, psd, etc... > File "/usr/lib64/python2.4/site-packages/matplotlib/mlab.py", line 74, > in ? > from numerix.fft import fft, inverse_fft > ImportError: cannot import name inverse_fft > > > > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Darren S. Dale, Ph.D. Cornell High Energy Synchrotron Source Cornell University 200L Wilson Lab Rt. 366 & Pine Tree Road Ithaca, NY 14853 dd...@co... office: (607) 255-9894 fax: (607) 255-9001
Helge, Helge Avlesen wrote: > On 6/9/06, Eric Firing <ef...@ha...> wrote: > >>Suggestions for improvements in the API or other aspects are welcome. > > > Hi, > an option for quiver to quickly draw thousands of simple monocolor > arrows each constructed from e.g. 3 line segments would be useful for > someone(like me) that uses matplotlib > for browsing vector plots of large fields (e.g. 800x600). currently > this is not practical > with any of the quiver variants, as it takes minutes to render. I > already use linecollections > to draw high res coastlines, so a faster quiver should be feasible. I have made some changes to facilitate this, but I have not tried to implement it yet. It should be possible with only a little bit more code than is in quiver.py at present, but it may require figuring out a trick or two. I don't want to work on it quite yet, but it does seem like a good idea--provided rendering LineCollections really is much faster than rendering PolyCollections. > > another optimization could be perhaps be to arrange for numpy arrays > to be passed directly to the drawing methods instead of the all the > zipping and loops that currently are necessary? > Quite some time ago I asked John about this, and the answer was that all this conversion overhead is probably not a large part of the total plotting time, so optimizing it may not be worth the trouble. But I agree--it would seem much more natural to pass X and Y arrays around than to have to zip them into sequences of (x,y) tuples. Eric
I added the ability to easily generate a key for quiver plots. The function is called quiverkey(). It is illustrated in the revised examples/quiver_demo.py. I also changed Axes.quiver and pylab.quiver to use quiver2 if possible--that is, if it seems consistent with the arguments that are supplied. If not, quiver_classic is used. Eric