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
(3) |
|
2
|
3
(2) |
4
(1) |
5
(12) |
6
(5) |
7
(3) |
8
(2) |
|
9
(1) |
10
(14) |
11
(11) |
12
(7) |
13
(4) |
14
(8) |
15
(2) |
|
16
(1) |
17
(2) |
18
(1) |
19
|
20
(1) |
21
(10) |
22
(2) |
|
23
(1) |
24
(1) |
25
(7) |
26
(10) |
27
(2) |
28
(1) |
29
(5) |
|
30
(7) |
|
|
|
|
|
|
|
From: Andrew S. <str...@as...> - 2008-11-11 23:43:22
|
Ryan May wrote: > John Hunter wrote: > >> On Tue, Nov 11, 2008 at 1:38 PM, Ryan May <rm...@gm...> wrote: >> >> >>> 1) Have psd(x) call csd(x,x) >>> 2) Have csd() check if y is x, and if so, avoid doing the extra work. >>> >>> Would this be an acceptable solution to reduce code duplication? >>> >> Sure, that should work fine. >> > > Ok, I noticed that specgram() duplicated much of the same code, so I > factored it all out and made a _spectral_helper() function, which pretty > much implements a cross-spectrogram. csd() and specgram() use this, and > then psd still calls csd(). Now all of the spectral analysis stuff is > using the same computational code base. > > >>> On a separate note, once I get done with these tweaks, are there any >>> objections to submitting something based on this to scipy? >>> >> No objections here -- if it were put into numpy though, we could >> depend on it and avoid the duplication. I would campaign for numpy >> first, eg np.fft.psd, etc. >> > > I agree it'd be better for us if it went to numpy, but I've gotten the > sense that they're not really receptive to adding things like this now. > I'll give it a try, but I sense that scipy.signal would end up being a > more likely home. That wouldn't help us with duplication, but would > help the community at large. It's always bugged me that I can't just > grab a psd() function from my general computing packages. (In my > opinion, anything in mlab that doesn't involve plotting should really > exist in a more general package.) There's an interesting case to be made here for modules shared between packages at the version-control-system and bug tracking level (e.g. in a DVCS type system) but installed in separate namespaces and shipped independently when it was time for source and binary distributions of the package to be made. There'd be duplication at the install and distribution level, but at least not at the source level. I'd guess the linux packagers would also find a way to reduce duplication at those other levels, too, for their systems. It seems to me that this would reduce a lot of the developer angst about having multiple sources for the same things, while still making things easy on the users. However, I don't know any VCS that would facilitate such a thing... -Andrew |
|
From: Ryan M. <rm...@gm...> - 2008-11-11 22:00:25
|
John Hunter wrote: > On Tue, Nov 11, 2008 at 1:38 PM, Ryan May <rm...@gm...> wrote: > >> 1) Have psd(x) call csd(x,x) >> 2) Have csd() check if y is x, and if so, avoid doing the extra work. >> >> Would this be an acceptable solution to reduce code duplication? > > Sure, that should work fine. Ok, I noticed that specgram() duplicated much of the same code, so I factored it all out and made a _spectral_helper() function, which pretty much implements a cross-spectrogram. csd() and specgram() use this, and then psd still calls csd(). Now all of the spectral analysis stuff is using the same computational code base. >> On a separate note, once I get done with these tweaks, are there any >> objections to submitting something based on this to scipy? > > No objections here -- if it were put into numpy though, we could > depend on it and avoid the duplication. I would campaign for numpy > first, eg np.fft.psd, etc. I agree it'd be better for us if it went to numpy, but I've gotten the sense that they're not really receptive to adding things like this now. I'll give it a try, but I sense that scipy.signal would end up being a more likely home. That wouldn't help us with duplication, but would help the community at large. It's always bugged me that I can't just grab a psd() function from my general computing packages. (In my opinion, anything in mlab that doesn't involve plotting should really exist in a more general package.) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: John H. <jd...@gm...> - 2008-11-11 19:50:13
|
On Tue, Nov 11, 2008 at 1:38 PM, Ryan May <rm...@gm...> wrote: > 1) Have psd(x) call csd(x,x) > 2) Have csd() check if y is x, and if so, avoid doing the extra work. > > Would this be an acceptable solution to reduce code duplication? Sure, that should work fine. > On a separate note, once I get done with these tweaks, are there any > objections to submitting something based on this to scipy? No objections here -- if it were put into numpy though, we could depend on it and avoid the duplication. I would campaign for numpy first, eg np.fft.psd, etc. JDH |
|
From: Ryan M. <rm...@gm...> - 2008-11-11 19:38:25
|
John Hunter wrote: >> In tweaking mlab.psd(), I'm noticing there is a lot of overlap between >> the keyword args for psd() and csd(). In fact, csd() doesn't document >> them itself, but just references psd(). Additionally, the csd() and >> psd() Axes methods duplicate these docs, with a few additional >> parameters. Would it be a good thing to restructure the duplicated docs >> into it's own string that can be incorporated when necessary? Or is >> this kind of "monkey patching" of the docs something we're trying to >> minimize? > > No, this is something we are doing more of lately (eg see the contour > docs) but the psd, csd, cohere predated this docstring manipulation. > So feel free to consolidate. I've done psd and csd so far. I might get to cohere (and spectrogram) later. It got a little ugly doing the axes methods, since you can only use a single dictionary for string replacement. On a separate note, there is *A LOT* of code duplication between psd() and csd() in mlab. It's bugged me while I've been doing these tweaks, but the problem was that csd() would end up doing an extra FFT vs. the same call to psd. I think I might finally have a solution: 1) Have psd(x) call csd(x,x) 2) Have csd() check if y is x, and if so, avoid doing the extra work. Would this be an acceptable solution to reduce code duplication? On a separate note, once I get done with these tweaks, are there any objections to submitting something based on this to scipy? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: John H. <jd...@gm...> - 2008-11-11 17:04:04
|
On Tue, Nov 11, 2008 at 10:35 AM, Ryan May <rm...@gm...> wrote: > Hi, > > In tweaking mlab.psd(), I'm noticing there is a lot of overlap between > the keyword args for psd() and csd(). In fact, csd() doesn't document > them itself, but just references psd(). Additionally, the csd() and > psd() Axes methods duplicate these docs, with a few additional > parameters. Would it be a good thing to restructure the duplicated docs > into it's own string that can be incorporated when necessary? Or is > this kind of "monkey patching" of the docs something we're trying to > minimize? No, this is something we are doing more of lately (eg see the contour docs) but the psd, csd, cohere predated this docstring manipulation. So feel free to consolidate. JDH |
|
From: Ryan M. <rm...@gm...> - 2008-11-11 16:35:27
|
Hi, In tweaking mlab.psd(), I'm noticing there is a lot of overlap between the keyword args for psd() and csd(). In fact, csd() doesn't document them itself, but just references psd(). Additionally, the csd() and psd() Axes methods duplicate these docs, with a few additional parameters. Would it be a good thing to restructure the duplicated docs into it's own string that can be incorporated when necessary? Or is this kind of "monkey patching" of the docs something we're trying to minimize? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: Gregor T. <gre...@gm...> - 2008-11-11 16:15:02
|
ja...@be... schrieb: > Dear all, > > after looking around for a plotting library I found Matplotlib and I tried to create a gray scale image in a wxpython application. Looks good! > > Now I have to find a line in the image with mainly vertical orientation. To do this a crosshair cursor would be fine. In Pylab I found a SpanSelector which also looks promising. > > Unfortunately I failed in adding a crosshair cursor or a SpanSelector into my wxpython application figure. > > try from matplotlib.widgets import Cursor help(Cursor) If this is not enough, I have once written a Crosshair very similar to SpanSelector - but I don't have it at hand at the moment. Gregor |
|
From: Ryan M. <rm...@gm...> - 2008-11-11 14:59:26
|
Eric Firing wrote: > Ryan, > > I hope you don't mind--I took care of the "FIXME" that I had put in, and > committed the whole thing. Your test passes, and the backend_driver.py > seems happy, so it should be OK. You have stolen my glory! :) Actually, I was thinking at this point it was more your patch anyways, and I had just done the work of tracking down all the problem spots. Saves me the effort of doing the checkin. :) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: Eric F. <ef...@ha...> - 2008-11-11 06:56:10
|
Ryan May wrote: > On Mon, Nov 10, 2008 at 5:54 PM, Eric Firing <ef...@ha... > <mailto:ef...@ha...>> wrote: > > Ryan May wrote: > > Ok, here's a patch that fixes the problem for me, as well as a test > script that tests a bunch of the color options along with having > more, > the same, and less than the number of points passed in. > > This is triggered by passing in a sequence of strings of the > same length > as x, which matplotlib interprets as needing colormapping. > Colormapping > an array of strings explodes nicely. I've fixed this issue by: > > 1) Make scatter() check if c is a sequence of strings. If it > is, use > the colorConverter as expected. > > 2) This requires changing is_string_like() to recognize elements > from > numpy string arrays (type numpy.string_) as strings. These > elements are > actually instances of a subclass of python strings > (isinstance(<element>, str is True), but fail because they have > a shape > attribute (which is explicitly checked). > > 3) Changing colorConverter.to_rgba_array() to accept a 1D numpy > array > containing strings. Currently, there is an explicit check for a 2D > array, and if it is not, and exception is thrown. > > Since this is my first mucking around in internals with which I > am not > familiar, I'd like someone to double check me. It's only a 3 > line diff, > but each line is in a different file, so it's got a pretty wide > (though > thin) footprint. > > > Ryan, > > Here is a modification of your patch that I think will be very > slightly more efficient and general. > > > Thanks. That does look a lot more clean. It would have helped if I had > known about dtype.kind for ease of testing for arrays of strings and > numpy string scalars. > > Anyone else? Ryan, I hope you don't mind--I took care of the "FIXME" that I had put in, and committed the whole thing. Your test passes, and the backend_driver.py seems happy, so it should be OK. Eric > > Ryan > > -- > Ryan May > Graduate Research Assistant > School of Meteorology > University of Oklahoma |
|
From: Ryan M. <rm...@gm...> - 2008-11-11 01:49:22
|
On Mon, Nov 10, 2008 at 5:54 PM, Eric Firing <ef...@ha...> wrote: > Ryan May wrote: > >> Ok, here's a patch that fixes the problem for me, as well as a test >> script that tests a bunch of the color options along with having more, >> the same, and less than the number of points passed in. >> >> This is triggered by passing in a sequence of strings of the same length >> as x, which matplotlib interprets as needing colormapping. Colormapping >> an array of strings explodes nicely. I've fixed this issue by: >> >> 1) Make scatter() check if c is a sequence of strings. If it is, use >> the colorConverter as expected. >> >> 2) This requires changing is_string_like() to recognize elements from >> numpy string arrays (type numpy.string_) as strings. These elements are >> actually instances of a subclass of python strings >> (isinstance(<element>, str is True), but fail because they have a shape >> attribute (which is explicitly checked). >> >> 3) Changing colorConverter.to_rgba_array() to accept a 1D numpy array >> containing strings. Currently, there is an explicit check for a 2D >> array, and if it is not, and exception is thrown. >> >> Since this is my first mucking around in internals with which I am not >> familiar, I'd like someone to double check me. It's only a 3 line diff, >> but each line is in a different file, so it's got a pretty wide (though >> thin) footprint. >> > > Ryan, > > Here is a modification of your patch that I think will be very slightly > more efficient and general. > Thanks. That does look a lot more clean. It would have helped if I had known about dtype.kind for ease of testing for arrays of strings and numpy string scalars. Anyone else? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: Orest K. <ore...@gm...> - 2008-11-11 01:23:01
|
On Ubuntu 8.10 (Intrepid Ibex) I'm using matplotlib 0.98.3 and would like to use the markerscale to make my legend points smaller (e.g. 0.6). However, it does not appear to be working. The following code: plot(arange(0, 100, .1), cos(arange(0, 100, .1)), 'ro', markersize=20, lable='test') legend(markerscale=0.5) draws a legend that has markers the same size as the original plot. I saw someone posted on September 24, and had a response from someone. For some reason, the response was blank (at least as it appears in the list archives), so I thought I'd send another message to see if anyone had figured out what needs to be done to get markerscale working? Thanks Orest |