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
|
2
(13) |
3
(5) |
4
(5) |
5
(21) |
6
(10) |
7
(9) |
|
8
(4) |
9
(11) |
10
(9) |
11
(11) |
12
(25) |
13
(5) |
14
(2) |
|
15
(5) |
16
(8) |
17
(16) |
18
(11) |
19
(15) |
20
(5) |
21
(8) |
|
22
(4) |
23
(24) |
24
(9) |
25
(14) |
26
(5) |
27
(28) |
28
(2) |
|
29
(13) |
30
(14) |
31
(11) |
|
|
|
|
|
From: Eric F. <ef...@ha...> - 2012-01-02 20:40:29
|
On 01/02/2012 08:36 AM, Chao YUE wrote:
> Dear all,
>
> I want to draw a contourf with the data covering N>45 (high latitude)
> using a 'npstere' projection.
>
> The problem is if I draw continents with a gray color,
> (m.fillcontinents(color='0.5'))
> the contourf lay which comes later will be below the continents and
> completely invisible.
> Does anyone else have this and any suggestions?
I think you will be able to solve this problem be setting the zorder of
each patch collection in the object returned by the call to contourf,
something like this:
CS = contourf(Z)
for col in CS.collections:
col.set_zorder(2.5)
The default zorder for solids is 2, so I expect that is what the filled
continents are; boosting the patch collections to 2.5 should ensure they
are above the continents.
Eric
>
> thanks,
>
> Chao
> --
> ***********************************************************************************
> Chao YUE
> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
> UMR 1572 CEA-CNRS-UVSQ
> Batiment 712 - Pe 119
> 91191 GIF Sur YVETTE Cedex
> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
> ************************************************************************************
>
|
|
From: Álvaro J. [T. <alv...@gm...> - 2012-01-02 18:49:44
|
Done! https://github.com/matplotlib/matplotlib/issues/654 Thanks for the support. On Mon, Jan 2, 2012 at 16:28, Benjamin Root <ben...@ou...> wrote: > On Mon, Jan 2, 2012 at 11:25 AM, Álvaro Justen [Turicas] > <alv...@gm...> wrote: >> >> Hello, >> When I use Figure.autofmt_xdate (it uses rotation by default) the >> graph is not moved/scaled so it is cropped in the image. >> I noticed this problem when I was trying to crop white border in >> images using bbox_inches='tight' and pad_inches=0 in Figure.savefig. >> There are attached: >> * Simple code to reproduce the bug >> * Output images of two cases (with and without bbox_inches + pad_inches) >> >> My system's info: >> - uname -a: Linux E04679 2.6.38-13-generic #53-Ubuntu SMP Mon Nov 28 >> 19:33:45 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux >> - matplotlib version: 0.99.3, installed using pip >> - Nothing in matplotlibrc >> - Nothing special in verbose options >> >> Thanks, >> -- >> Álvaro Justen "Turicas" > > > Turicas, > > Confirmed with the v1.1.x branch. Could you file a bug report on github? > > Thanks! > Ben Root > -- Álvaro Justen "Turicas" http://blog.justen.eng.br http://twitter.com/turicas http://CursoDeArduino.com.br http://github.com/turicas +55 21 9898-0141 |
|
From: Chao Y. <cha...@gm...> - 2012-01-02 18:36:19
|
Dear all, I want to draw a contourf with the data covering N>45 (high latitude) using a 'npstere' projection. The problem is if I draw continents with a gray color, (m.fillcontinents(color='0.5')) the contourf lay which comes later will be below the continents and completely invisible. Does anyone else have this and any suggestions? thanks, Chao -- *********************************************************************************** Chao YUE Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL) UMR 1572 CEA-CNRS-UVSQ Batiment 712 - Pe 119 91191 GIF Sur YVETTE Cedex Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16 ************************************************************************************ |
|
From: Chao Y. <cha...@gm...> - 2012-01-02 18:33:20
|
Thanks Ben. cheers, Chao 2012/1/2 Benjamin Root <ben...@ou...> > On Mon, Jan 2, 2012 at 11:10 AM, Chao YUE <cha...@gm...> wrote: > >> Dear all matplotlib users, >> >> Happy New Year. >> I try to check the distribution of a 2D array and I find that the >> histogram plot function doesn't respect the numpy masked array? >> >> >> In [188]: a=range(1,6); b=np.array(a+a[::-1]) >> >> In [189]: b=np.ma.masked_equal(b,2); b=np.ma.masked_equal(b,5) >> >> In [190]: b >> Out[190]: >> masked_array(data = [1 -- 3 4 -- -- 4 3 -- 1], >> mask = [False True False False True True False False >> True False], >> fill_value = 5) >> >> >> In [191]: n,bins,patches=plt.hist(b) >> >> In [192]: n >> Out[192]: array([2, 0, 2, 0, 0, 2, 0, 2, 0, 2]) >> >> In [193]: n.sum() >> Out[193]: 10 >> >> it seems that all the elements (masked or not) are counted in the history >> plotting? >> and the original value is used but not the fill_value? >> >> I attach a figure below. >> >> In [194]: plt.show() >> >> > Yes, this is a known issue (at least, from the comments within the > function). Looks like hist() uses np.asarray() instead of np.asanyarray(), > which would result in the array being stripped of its mask. However, I > don't think the fix is as straight-forward as changing that to > np.asanyarray(). I will take a peek and see what can be done. > > Ben Root > > -- *********************************************************************************** Chao YUE Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL) UMR 1572 CEA-CNRS-UVSQ Batiment 712 - Pe 119 91191 GIF Sur YVETTE Cedex Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16 ************************************************************************************ |
|
From: Benjamin R. <ben...@ou...> - 2012-01-02 18:28:55
|
On Mon, Jan 2, 2012 at 11:25 AM, Álvaro Justen [Turicas] < alv...@gm...> wrote: > Hello, > When I use Figure.autofmt_xdate (it uses rotation by default) the > graph is not moved/scaled so it is cropped in the image. > I noticed this problem when I was trying to crop white border in > images using bbox_inches='tight' and pad_inches=0 in Figure.savefig. > There are attached: > * Simple code to reproduce the bug > * Output images of two cases (with and without bbox_inches + pad_inches) > > My system's info: > - uname -a: Linux E04679 2.6.38-13-generic #53-Ubuntu SMP Mon Nov 28 > 19:33:45 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > - matplotlib version: 0.99.3, installed using pip > - Nothing in matplotlibrc > - Nothing special in verbose options > > Thanks, > -- > Álvaro Justen "Turicas" > Turicas, Confirmed with the v1.1.x branch. Could you file a bug report on github? Thanks! Ben Root |
|
From: Benjamin R. <ben...@ou...> - 2012-01-02 18:13:40
|
On Mon, Jan 2, 2012 at 11:10 AM, Chao YUE <cha...@gm...> wrote: > Dear all matplotlib users, > > Happy New Year. > I try to check the distribution of a 2D array and I find that the > histogram plot function doesn't respect the numpy masked array? > > > In [188]: a=range(1,6); b=np.array(a+a[::-1]) > > In [189]: b=np.ma.masked_equal(b,2); b=np.ma.masked_equal(b,5) > > In [190]: b > Out[190]: > masked_array(data = [1 -- 3 4 -- -- 4 3 -- 1], > mask = [False True False False True True False False True > False], > fill_value = 5) > > > In [191]: n,bins,patches=plt.hist(b) > > In [192]: n > Out[192]: array([2, 0, 2, 0, 0, 2, 0, 2, 0, 2]) > > In [193]: n.sum() > Out[193]: 10 > > it seems that all the elements (masked or not) are counted in the history > plotting? > and the original value is used but not the fill_value? > > I attach a figure below. > > In [194]: plt.show() > > Yes, this is a known issue (at least, from the comments within the function). Looks like hist() uses np.asarray() instead of np.asanyarray(), which would result in the array being stripped of its mask. However, I don't think the fix is as straight-forward as changing that to np.asanyarray(). I will take a peek and see what can be done. Ben Root |
|
From: Álvaro J. [T. <alv...@gm...> - 2012-01-02 17:25:44
|
Hello, When I use Figure.autofmt_xdate (it uses rotation by default) the graph is not moved/scaled so it is cropped in the image. I noticed this problem when I was trying to crop white border in images using bbox_inches='tight' and pad_inches=0 in Figure.savefig. There are attached: * Simple code to reproduce the bug * Output images of two cases (with and without bbox_inches + pad_inches) My system's info: - uname -a: Linux E04679 2.6.38-13-generic #53-Ubuntu SMP Mon Nov 28 19:33:45 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux - matplotlib version: 0.99.3, installed using pip - Nothing in matplotlibrc - Nothing special in verbose options Thanks, -- Álvaro Justen "Turicas" http://blog.justen.eng.br http://twitter.com/turicas http://CursoDeArduino.com.br http://github.com/turicas +55 21 9898-0141 |
|
From: Tony Yu <ts...@gm...> - 2012-01-02 15:21:41
|
On Mon, Jan 2, 2012 at 6:01 AM, Virgil Stokes <vs...@it...> wrote: > The following link should link you to a very interesting graphical display, > > > http://www.ecb.int/stats/exchange/eurofxref/html/eurofxref-graph-nok.en.html > > This type of graphical output (or at least something quite similar) can be > found > in other web pages that display financial data. > > Has anyone been able to produce a similar interactive graphical display > using > Matplotlib? A challenge for 2012 :-) > > --V > This shouldn't be too difficult. If you take a look at the event handling examples<http://matplotlib.sourceforge.net/examples/event_handling/index.html>there are some good starting points. For example, the data browser example<http://matplotlib.sourceforge.net/examples/event_handling/data_browser.html>does something similar, except you click to select data (you can change this by hooking into 'motion_notify_event' instead of 'pick_event'). The one difficult part might be displaying your data-point info. Its easy enough to just print out description to a terminal, but I'm not sure how easy it is to display a tooltip. This SO question<http://stackoverflow.com/questions/7908636/possible-to-make-labels-appear-when-hovering-over-a-point-in-matplotlib>may help with that. Best, -Tony |
|
From: Alexander H. <mat...@2s...> - 2012-01-02 14:04:41
|
very similar: http://www.google.com/finance?hl=en&q=CURRENCY:AUDUSD On 01/02/2012 05:01 AM, Virgil Stokes wrote: > The following link should link you to a very interesting graphical display, > > http://www.ecb.int/stats/exchange/eurofxref/html/eurofxref-graph-nok.en.html > > This type of graphical output (or at least something quite similar) can be found > in other web pages that display financial data. > > Has anyone been able to produce a similar interactive graphical display using > Matplotlib? A challenge for 2012 :-) > > --V > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Logi R. <lo...@be...> - 2012-01-02 11:55:31
|
Eric Firing wrote: > > On Wed, Dec 28, 2011 at 1:11 AM, Jeff Whitaker <js...@fa...> wrote: >> >> On 12/27/11 12:07 PM, Logi Ragnarsson wrote: >> >>> Is it supposed to be possible to do a filled contour plot with alpha levels in the colour map? I'm plotting weather data on top of maps and would very much like to plot low levels of wind and precipitation as mostly transparent, with higher levels more opaque. >>> >> Logi: It looks like alpha transparency is controlled with the alpha keyword, so you can't specify different alphas for each contour level. You may have to call contourf multiple times, changing the alpha as needed for each set of contour levels. >> >> -Jeff > > It looks like this is something I can fix by modifying ListedColormap. It is discarding the alpha values, and I don't think there is any reason it needs to do so. > > Eric I feel that this would be a worth-while improvement to the library. In the mean-time, I have realized that the source is all there for me to read, and I can probably create my own patched version of ListedColormap. Actually, I've been interpolating colours to feed to contourf, but it would be much more sensible to use a LinearSegmentedColormap for this. Unfortunately it also discards alpha levels. Regards, Logi PS I was getting digests of the list, so I couldn't properly respond to Eric's mail, in case the headers look funny. |
|
From: Virgil S. <vs...@it...> - 2012-01-02 11:27:02
|
The following link should link you to a very interesting graphical display, http://www.ecb.int/stats/exchange/eurofxref/html/eurofxref-graph-nok.en.html This type of graphical output (or at least something quite similar) can be found in other web pages that display financial data. Has anyone been able to produce a similar interactive graphical display using Matplotlib? A challenge for 2012 :-) --V |
|
From: Eric F. <ef...@ha...> - 2012-01-02 07:54:58
|
On 12/30/2011 01:57 PM, Paul Ivanov wrote: > Eric Firing, on 2011-12-27 15:31, wrote: >> It looks like this is something I can fix by modifying ListedColormap. >> It is discarding the alpha values, and I don't think there is any reason >> it needs to do so. > > One of my first attempts at a contribution to matplotlib three > years ago was related to this. It was in reply to a similar > question on list, and I wrote a patch, but never saw it through > to inclusion because it wasn't something I needed. > > http://www.mail-archive.com/mat...@li.../msg09216.html > > I think it's a helpful starting point, as I include a discussion > on the limitation of mpl colormaps there. Thank you. I think that some of the sorts of changes you had in your patch have actually been made in the interim. I now have a branch with a few small changes that I think may be all that is necessary for full support of variable alpha in colormaps. I will turn it into a pull request shortly, after a bit more testing and inclusion of an example, assuming I don't run into a major problem along the way. Eric |