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
(16) |
2
(31) |
3
(17) |
4
(18) |
5
(7) |
|
6
(5) |
7
(16) |
8
(9) |
9
(19) |
10
(18) |
11
(17) |
12
(7) |
|
13
(6) |
14
(15) |
15
(16) |
16
(15) |
17
(19) |
18
(27) |
19
(10) |
|
20
(5) |
21
(5) |
22
(19) |
23
(7) |
24
(11) |
25
(19) |
26
(1) |
|
27
(36) |
28
(37) |
29
(28) |
30
(36) |
|
|
|
|
From: Jae-Joon L. <lee...@gm...> - 2009-09-27 02:59:17
|
As specified in the doc http://matplotlib.sourceforge.net/api/axis_api.html?highlight=get_majorticklabels#matplotlib.axis.Axis.get_majorticklabels it returns a list of Text instances. You may use http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.text.Text.get_text to retrieve the strings associated. For example, [t.get_text() for t in ax.xaxis.get_majorticklabels()] -JJ On Fri, Sep 25, 2009 at 12:45 PM, Gökhan Sever <gok...@gm...> wrote: > > > On Fri, Sep 25, 2009 at 6:52 AM, John Hunter <jd...@gm...> wrote: >> >> On Thu, Sep 24, 2009 at 3:29 PM, Gökhan Sever <gok...@gm...> >> wrote: >> > Hello, >> > >> > One easy one harder two questions :) >> > >> > My screenshot http://img213.imageshack.us/img213/3443/snapshot5.png >> > >> > 1-) I want to link bottom and top x axes as well as left and right y >> > axes. >> > For now on the x-axis xticks are the time in seconds from midnight, not >> > sure >> > how to add the secondary top x axis with time in regular HH:MM:SS >> > representation, without plotting the same data again. Right y-axis is >> > there >> > thanks to twinx however that and left one don't snap each other when I >> > zoom >> > in the plot. There is the twin function but couldn't figure out how to >> > achieve what I explained here. >> > >> >> You might be able to manually add text for the upper tick labels, as >> in this example: >> >> >> http://matplotlib.sourceforge.net/examples/pylab_examples/boxplot_demo2.html >> >> JDH > > Hi John, > > Allright, previously I was blocking the plotting event while trying to > update ticks instead of ticklabels. Hah trying to use 8103 ticks kills the > action :) > > After looking at that example I brought parx = host.twiny() into the game. > > Now when I do parx.xaxis.set_ticklabels(dccn.hms) I only get 5 wrong > ticklabels. If I do a simple plot(dccn.hms) ticklabels are properly set. I > know a few additional steps needed to make this work, but couldn't manage to > solve this yet. > > On your suggested example try zooming into the plot, bottom and top x-axes > behave differently. JJ suggested to use xlim_changed and ylim_changed event > connection but how ? :) > > One more question; > > Say simply when I do: parx.xaxis.set_ticks(arange(10)), and later query: > > I[30]: parx.xaxis.get_majorticklocs() > O[30]: array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) > > whereas > > I[31]: parx.xaxis.get_majorticklabels() > O[31]: <a list of 10 Text major ticklabel objects> > > I get objects here. Is there a way to see their actual values, besides the > object representation like in get_majorticklocs() method? > > Thank you. > > -- > Gökhan > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Jae-Joon L. <lee...@gm...> - 2009-09-27 02:51:04
|
On Fri, Sep 25, 2009 at 1:14 AM, Gökhan Sever <gok...@gm...> wrote: > With twin and proper Affine2D transformation I could not make the secondary > y-axis data being shown on the figure. Please post a simple, complete code that does not work. Just saying "it didn't work" does not help. I think the following change (or something like this) in you code (dccn_plot.py) seems to work to my eyes. If this is not what you want, you have to describe why it is not. import matplotlib.transforms as mtransforms aux_trans = mtransforms.Affine2D().translate(0., -0.5).scale(1., 3500/0.45) #pary = host.twinx() pary = host.twin(aux_trans) Regards, -JJ |
|
From: Phillip M. F. <pfe...@ve...> - 2009-09-27 02:43:56
|
Ah! I have version 9.98.5. Thanks very much! Phillip Ryan May wrote: > On Sat, Sep 26, 2009 at 8:27 PM, Dr. Phillip M. Feldman > <pfe...@ve...> wrote: > >> When I try to import register_cmap from matplotlib, matplotlib.colors, or any >> of the other likely candidate modules in which it might be contained, I get >> a "cannot import" error. It would be great if the documentation indicated >> how to import this and provided at least one working example. >> > > We do. plt.register_cmap works for me with SVN HEAD and it looks > like it's present in 0.99. You probably just have an older version, > as register_cmap is a recent addition. What version of matplotlib do > you have installed? > > python -c 'import matplotlib;print matplotlib.__version__' > > Try updating. That should fix it. > > Ryan > > |
|
From: Jae-Joon L. <lee...@gm...> - 2009-09-27 02:40:56
|
On Fri, Sep 25, 2009 at 8:53 AM, Leopold Stadler <Leo...@we...> wrote: > Is there some simple solution to draw a patch collection with no edges or to set the edgecolor to the > facecolor? I believe that for single polygons the color = XY comand should work. > While I believe that setting linewidth=0 will prevent edge-drawing, see if edgecolor="none" works. It is hard to tell without any screenshot. So please post a complete code and a screenshot if possible. My guess is that what you see is an artifact of antialiasing. > The second question is if it is possible to fill patches with color gradients based on corner values? The svn version of mpl has a support for gouraud shading. other than that there is no support of gradient in mpl as far as I know. You may create your own gradient image as in the example below. http://matplotlib.sourceforge.net/examples/pylab_examples/gradient_bar.html Regards, -JJ |
|
From: Gökhan S. <gok...@gm...> - 2009-09-27 02:27:57
|
Hello, Is it possible use a gradient color say from blue to red and/or specifying certain color threshold for a line plot (i.e I have air temperature plotted and I want to segment the color of the plot for temp > 0C red, and below 0 make it blue.) Would be much nicer with gradient however I am content for the second option as well :) Thanks. -- Gökhan |
|
From: Gökhan S. <gok...@gm...> - 2009-09-27 02:23:21
|
First the first part, my understanding is if twiny() could accept tranforms this like twin() this issued might be resolved. When I use twin() and transforms with different scaled data sources, I can't get one of them being plotted correctly. Just FYI, Maybe someone can further look into this. Thank you. On Fri, Sep 25, 2009 at 11:45 AM, Gökhan Sever <gok...@gm...>wrote: > > > On Fri, Sep 25, 2009 at 6:52 AM, John Hunter <jd...@gm...> wrote: > >> On Thu, Sep 24, 2009 at 3:29 PM, Gökhan Sever <gok...@gm...> >> wrote: >> > Hello, >> > >> > One easy one harder two questions :) >> > >> > My screenshot http://img213.imageshack.us/img213/3443/snapshot5.png >> > >> > 1-) I want to link bottom and top x axes as well as left and right y >> axes. >> > For now on the x-axis xticks are the time in seconds from midnight, not >> sure >> > how to add the secondary top x axis with time in regular HH:MM:SS >> > representation, without plotting the same data again. Right y-axis is >> there >> > thanks to twinx however that and left one don't snap each other when I >> zoom >> > in the plot. There is the twin function but couldn't figure out how to >> > achieve what I explained here. >> > >> >> You might be able to manually add text for the upper tick labels, as >> in this example: >> >> >> http://matplotlib.sourceforge.net/examples/pylab_examples/boxplot_demo2.html >> >> JDH >> > > Hi John, > > Allright, previously I was blocking the plotting event while trying to > update ticks instead of ticklabels. Hah trying to use 8103 ticks kills the > action :) > > After looking at that example I brought parx = host.twiny() into the game. > > Now when I do parx.xaxis.set_ticklabels(dccn.hms) I only get 5 wrong > ticklabels. If I do a simple plot(dccn.hms) ticklabels are properly set. I > know a few additional steps needed to make this work, but couldn't manage to > solve this yet. > > On your suggested example try zooming into the plot, bottom and top x-axes > behave differently. JJ suggested to use xlim_changed and ylim_changed event > connection but how ? :) > > One more question; > > Say simply when I do: parx.xaxis.set_ticks(arange(10)), and later query: > > I[30]: parx.xaxis.get_majorticklocs() > O[30]: array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) > > whereas > > I[31]: parx.xaxis.get_majorticklabels() > O[31]: <a list of 10 Text major ticklabel objects> > > I get objects here. Is there a way to see their actual values, besides the > object representation like in get_majorticklocs() method? > > Thank you. > > -- > Gökhan > -- Gökhan |
|
From: Ryan M. <rm...@gm...> - 2009-09-27 02:17:54
|
On Sat, Sep 26, 2009 at 8:27 PM, Dr. Phillip M. Feldman <pfe...@ve...> wrote: > > When I try to import register_cmap from matplotlib, matplotlib.colors, or any > of the other likely candidate modules in which it might be contained, I get > a "cannot import" error. It would be great if the documentation indicated > how to import this and provided at least one working example. We do. plt.register_cmap works for me with SVN HEAD and it looks like it's present in 0.99. You probably just have an older version, as register_cmap is a recent addition. What version of matplotlib do you have installed? python -c 'import matplotlib;print matplotlib.__version__' Try updating. That should fix it. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: Jae-Joon L. <lee...@gm...> - 2009-09-27 02:09:54
|
It seems that you're using an older version of matplotlib. register_cmap is available in the current version of mpl, which is 0.99.1. And the example works fine. While it is best if the documentation states which functionality became available at which version, unfortunately it is not. If you want to contribute, it is always welcomed. -JJ On Sat, Sep 26, 2009 at 9:27 PM, Dr. Phillip M. Feldman <pfe...@ve...> wrote: > > When I try to import register_cmap from matplotlib, matplotlib.colors, or any > of the other likely candidate modules in which it might be contained, I get > a "cannot import" error. It would be great if the documentation indicated > how to import this and provided at least one working example. > -- > View this message in context: http://www.nabble.com/where-does-register_cmap-come-from--tp25630125p25630125.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Dr. P. M. F. <pfe...@ve...> - 2009-09-27 01:27:43
|
When I try to import register_cmap from matplotlib, matplotlib.colors, or any of the other likely candidate modules in which it might be contained, I get a "cannot import" error. It would be great if the documentation indicated how to import this and provided at least one working example. -- View this message in context: http://www.nabble.com/where-does-register_cmap-come-from--tp25630125p25630125.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Dr. P. M. F. <pfe...@ve...> - 2009-09-27 00:59:01
|
When I try to access that Wiki, I get the following message: This page does not exist yet. <snip> Check this wiki item and the associated mailing list thread: http://www.scipy.org/wikis/topical_software/LoadingAColormapDynamically -- View this message in context: http://www.nabble.com/Custom-colormaps-tp881450p25630036.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Dr. P. M. F. <pfe...@ve...> - 2009-09-27 00:55:16
|
When I try to run the sample custom colormap code provided at http://matplotlib.sourceforge.net/examples/pylab_examples/custom_cmap.html , I get the following error message: AttributeError Traceback (most recent call last) colormaps.py in <module>() 114 115 blue_red2 = LinearSegmentedColormap('BlueRed2', cdict2) --> 116 plt.register_cmap(cmap=blue_red2) 117 118 # Third, for LinearSegmentedColormap only, AttributeError: 'module' object has no attribute 'register_cmap' WARNING: Failure executing file: <colormaps.py> -- View this message in context: http://www.nabble.com/sample-colormap-code-is-broken-tp25630022p25630022.html Sent from the matplotlib - users mailing list archive at Nabble.com. |