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
(6) |
2
(5) |
3
|
4
|
5
|
6
(4) |
7
(3) |
8
|
9
(5) |
10
|
11
|
12
(1) |
13
|
14
|
15
(4) |
16
(1) |
17
(4) |
18
(1) |
19
(4) |
20
(4) |
21
(5) |
22
(1) |
23
(3) |
24
(6) |
25
(1) |
26
(19) |
27
(13) |
28
(9) |
|
|
|
|
John, Thanks very much. I had missed the fact that the ignore argument can take three values, not two, so I will take that into account. As usual, I might not finish the changes until the weekend. Eric John Hunter wrote: >>>>>>"Eric" == Eric Firing <ef...@ha...> writes: > > > Eric> If this strategy sounds reasonable to you, I can go ahead > Eric> and implement it. > > This looks fine; FYI I'll include a post I started in response to your > earlier email but failed to push send; this provides a little context > > To: Eric Firing <ef...@ha...> > Cc: Christopher Barker <Chr...@no...>, > mat...@li... > Subject: Re: [Matplotlib-users] Apparent bug in Data limits with LineCollections > From: John Hunter <jdh...@ac...> > > Eric> I would like to make a genuine bugfix, but I do not yet > Eric> understand all this well enough to do so right now. Maybe > Eric> John will chime in with a good solution. > > Just a comment for now. If you look at ax.add_collection, it does not > update the datalim. This is by design but it should be documented. > The reason I didn't add it was collecitons were meant to be fast > (they've failed a little bit on that front but they aren't > mind-numbingly slow) and so I left it to the user to set the datalim > manually since this is potentially expensive and the user often knows > the lim for one reason or another. See the finance.py module for > several instances on how to set the data lim with collections. Eg, > > > minx, maxx = (0, len(rangeSegments)) > miny = min([low for low in lows if low !=-1]) > maxy = max([high for high in highs if high != -1]) > > corners = (minx, miny), (maxx, maxy) > ax.update_datalim(corners) > ax.autoscale_view() > > > As for how the datalim handling works, the syntax is > > self.dataLim.update(xys, ignore) > > Note this is different than the ax.update_datalim method, which calls > it. datalim is a bbox which has an ignore state variable (boolean). > > The ignore argument to update datalim can take on three values > > 0: do not ignore the current limits and update them with the xys > 1: ignore the current datalim limits and override with xys > -1: use the datalim ignore state to determine the ignore settings > > This seems a bit complex but arose from experience. Basically a lot > of different objects want to add their data to the datalim. In most > use cases, you want the first object to add data to ignore the current > limits (which are just default values) and subsequent objects to add > to the datalim taking into account the previous limits. The default > behavior of datalim is to set ignore to 1, and after the first call > with -1 set ignore to 0. Thus everyone can call with -1 and have the > desired default behavior . I hope you are all confused now. > > One can manually set the ignore state var with > > datalim.ignore(1) > > Cheers, > JDH > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>>>> "Eric" == Eric Firing <ef...@ha...> writes: Eric> If this strategy sounds reasonable to you, I can go ahead Eric> and implement it. This looks fine; FYI I'll include a post I started in response to your earlier email but failed to push send; this provides a little context To: Eric Firing <ef...@ha...> Cc: Christopher Barker <Chr...@no...>, mat...@li... Subject: Re: [Matplotlib-users] Apparent bug in Data limits with LineCollections From: John Hunter <jdh...@ac...> Eric> I would like to make a genuine bugfix, but I do not yet Eric> understand all this well enough to do so right now. Maybe Eric> John will chime in with a good solution. Just a comment for now. If you look at ax.add_collection, it does not update the datalim. This is by design but it should be documented. The reason I didn't add it was collecitons were meant to be fast (they've failed a little bit on that front but they aren't mind-numbingly slow) and so I left it to the user to set the datalim manually since this is potentially expensive and the user often knows the lim for one reason or another. See the finance.py module for several instances on how to set the data lim with collections. Eg, minx, maxx = (0, len(rangeSegments)) miny = min([low for low in lows if low !=-1]) maxy = max([high for high in highs if high != -1]) corners = (minx, miny), (maxx, maxy) ax.update_datalim(corners) ax.autoscale_view() As for how the datalim handling works, the syntax is self.dataLim.update(xys, ignore) Note this is different than the ax.update_datalim method, which calls it. datalim is a bbox which has an ignore state variable (boolean). The ignore argument to update datalim can take on three values 0: do not ignore the current limits and update them with the xys 1: ignore the current datalim limits and override with xys -1: use the datalim ignore state to determine the ignore settings This seems a bit complex but arose from experience. Basically a lot of different objects want to add their data to the datalim. In most use cases, you want the first object to add data to ignore the current limits (which are just default values) and subsequent objects to add to the datalim taking into account the previous limits. The default behavior of datalim is to set ignore to 1, and after the first call with -1 set ignore to 0. Thus everyone can call with -1 and have the desired default behavior . I hope you are all confused now. One can manually set the ignore state var with datalim.ignore(1) Cheers, JDH
John, Chris Barker found a problem: plotting in an axes, then calling axes.cla, then adding a collection, then calling axes.plot, results in the original plot's dataLim being used as the starting point for the update. I think the problems are: 1) axes.add_line updates the data limits, but add_collection does not; 2) axes.has_data is simply looking to see whether a line or collection has been added, but is using that as an indication of whether the data limits have been set; this is invalid because add_collection does not set the limits. I suggest two changes to address the problem: 1) Use a flag instead of the have_data() method to keep track of whether data limit updating needs to start from scratch. Then axes.cla() can set the flag, and the update_datalim* functions can clear it. 2) Add an optional flag to add_collection, telling it to call the collection's get_verts method and use the result to update the data limits. This would make it easier to use collections in user-level code, without imposing any performance penalty for functions like contour that handle the data limit updating in a more efficient way. If this strategy sounds reasonable to you, I can go ahead and implement it. Eric
On 2006年1月31日, Robert Kern wrote: > Andrew Straw wrote: > > > Now, mostly jokingly, how 'bout a MPL-like VTK interface?? Somehow the > > idea of "borrowing" the MPL interface has playful allure, no? ;) > > *Which* MPL interface? The OO API or the pylab API? Does Prabhu's work with tvtk > strike any chords? E.g. > > http://svn.enthought.com/svn/enthought/trunk/src/lib/enthought/tvtk/tools/mlab.py Also have a look at the screenshot at http://www.enthought.com/enthought/wiki/TVTK (and http://www.enthought.com/enthought/wiki/MayaVi) IMHO: before starting to think about how to incorporate 3D in MPL one should spend some time with the excellent tvtk and MayaVi2 (which is in very good shape already). In case someone wants to try out tvtk and MayaVi2, http://www.scipy.org/ArndBaecker/MayaVi2 might be helpful. Best, Arnd