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: Benjamin R. <ben...@ou...> - 2012-01-09 23:17:49
|
On Monday, January 9, 2012, Ethan Gutmann <eth...@gm...> wrote: > Along these lines, it looks to me like plot_surface is not shading when I would expect it to (maybe I just have the wrong expectations?) > > I would expect the following to create a surface with colors from the colormap but shading from a lightsource. > > surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.jet,shade=True) > > However, axes3d.py requires facecolors to be set in order to generate facecolors to shade... > > mpl_toolkits/mplot3d/axes3d.py > line 1378-1380 mpl v1.1.0 > > # Shade the data > if shade and cmap is not None and fcolors is not None: > fcolors = self._shade_colors_lightsource(Z, cmap, lightsource) > > should the if statement be: > if shade and cmap is not None and fcolors is None: > > I'm not sure if this will screw anything else up, but it makes a lot more sense to me as an API. Maybe there are other reasons to require facecolors to be set? > > Ethan No, you are right. This is roughly the requested feature I was talking about. There are multiple features in plot_surface() that are entwined and I would like to figure out how to separate them and allow users to pick and choose. Features I have identified: Coloring edgelines (complicated to determine what color) Coloring based on colormap Coloring based on user-spec facecolors Shading the colors (may or may not include edge lines) Interpolating facecolors (for edgelines, IIRC) These are inter-dependent and need to be made orthogonal. Note, all of this is from memory, details might differ. Cheers! Ben Root |
|
From: Ethan G. <eth...@gm...> - 2012-01-09 22:51:15
|
Along these lines, it looks to me like plot_surface is not shading when I would expect it to (maybe I just have the wrong expectations?)
I would expect the following to create a surface with colors from the colormap but shading from a lightsource.
surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.jet,shade=True)
However, axes3d.py requires facecolors to be set in order to generate facecolors to shade...
mpl_toolkits/mplot3d/axes3d.py
line 1378-1380 mpl v1.1.0
# Shade the data
if shade and cmap is not None and fcolors is not None:
fcolors = self._shade_colors_lightsource(Z, cmap, lightsource)
should the if statement be:
if shade and cmap is not None and fcolors is None:
I'm not sure if this will screw anything else up, but it makes a lot more sense to me as an API. Maybe there are other reasons to require facecolors to be set?
Ethan
On Jan 9, 2012, at 10:28 AM, Zoltán Vörös wrote:
>
>
> On 01/09/2012 05:46 PM, Benjamin Root wrote:
>> When we said that GTK is not supported, (1) is not an official
>> decision, I think, (2) we mean the pure GTK *backend*. We fully
>> support the GTKAgg backend, which is superior to the GTK backend in
>> every way. Please try v1.1.0 before continuing. There were many
>> important changes to mplot3d between v1.0.1 and v1.1.0.
> Indeed, that was the case. The surface plot works as advertised now.
> Thanks for helping out with this! Once I have a viable code for
> phonging, I will send it to you in a personal mail.
> Cheers,
> Zoltán
>
> ------------------------------------------------------------------------------
> 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: Zoltán V. <zv...@gm...> - 2012-01-09 17:28:31
|
On 01/09/2012 05:46 PM, Benjamin Root wrote: > When we said that GTK is not supported, (1) is not an official > decision, I think, (2) we mean the pure GTK *backend*. We fully > support the GTKAgg backend, which is superior to the GTK backend in > every way. Please try v1.1.0 before continuing. There were many > important changes to mplot3d between v1.0.1 and v1.1.0. Indeed, that was the case. The surface plot works as advertised now. Thanks for helping out with this! Once I have a viable code for phonging, I will send it to you in a personal mail. Cheers, Zoltán |
|
From: Benjamin R. <ben...@ou...> - 2012-01-09 16:47:06
|
2012/1/9 Zoltán Vörös <zv...@gm...> > > On 01/09/2012 05:30 PM, Benjamin Root wrote: > > The problem is that the faces themselves are transparent. But if I set > shade to False, it becomes solid, so that must be the solution. > >> >> > What version of mpl are you using? For me (on master) I never get > transparent faces. > > I have 1.0.1 that comes with ubuntu. I was considering installing 1.1, but > then I saw that the gtk backend is not supported, so I decided against it. > > When we said that GTK is not supported, (1) is not an official decision, I think, (2) we mean the pure GTK *backend*. We fully support the GTKAgg backend, which is superior to the GTK backend in every way. Please try v1.1.0 before continuing. There were many important changes to mplot3d between v1.0.1 and v1.1.0. Ben Root |
|
From: Zoltán V. <zv...@gm...> - 2012-01-09 16:41:29
|
On 01/09/2012 05:30 PM, Benjamin Root wrote:
> The problem is that the faces themselves are transparent. But if I set
> shade to False, it becomes solid, so that must be the solution.
>
>
>
> What version of mpl are you using? For me (on master) I never get
> transparent faces.
I have 1.0.1 that comes with ubuntu. I was considering installing 1.1,
but then I saw that the gtk backend is not supported, so I decided
against it.
By the way, here is an example of the transparent faces (I think it
won't show on the mailing list). I can definitely see through the
surface. The code I used is
for y in range(ylen):
for x in range(xlen):
colors[x, y] = (1, 0.0, 1, 1.)
surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, facecolors=colors,
linewidth=0.1, antialiased=False, shade=True)
|
|
From: Benjamin R. <ben...@ou...> - 2012-01-09 16:31:16
|
2012/1/9 Zoltán Vörös <zv...@gm...> > Thanks for the reply! > > surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, facecolors=colors, >> linewidth=0.0, antialiased=True) >> > > Is the issue that you have transparent lines between the faces? Set the > "shade" kwarg to True and the "antialiased" kwarg to False. > > The problem is that the faces themselves are transparent. But if I set > shade to False, it becomes solid, so that must be the solution. > > If the shading is not what you want, it has been a feature request to > implement the smooth coloring that shading does, but without a > lightsource. I have yet to do this, and there have been some attempts to > get this right, but nothing finalized yet. Contributions would be welcomed! > > OK, I will try to get this done and send you an implementation. > Cheers, > Zoltán > What version of mpl are you using? For me (on master) I never get transparent faces. Ben Root |
|
From: Zoltán V. <zv...@gm...> - 2012-01-09 16:28:28
|
Thanks for the reply! > > surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, > facecolors=colors, > linewidth=0.0, antialiased=True) > > > Is the issue that you have transparent lines between the faces? Set > the "shade" kwarg to True and the "antialiased" kwarg to False. The problem is that the faces themselves are transparent. But if I set shade to False, it becomes solid, so that must be the solution. > If the shading is not what you want, it has been a feature request to > implement the smooth coloring that shading does, but without a > lightsource. I have yet to do this, and there have been some attempts > to get this right, but nothing finalized yet. Contributions would be > welcomed! OK, I will try to get this done and send you an implementation. Cheers, Zoltán |
|
From: Benjamin R. <ben...@ou...> - 2012-01-09 16:05:16
|
2012/1/8 Zoltán Vörös <zv...@gm...> > colors = np.empty(X.shape, tuple) > for y in range(ylen): > for x in range(xlen): > colors[x, y] = (0, 0, 1, 1) > > surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, facecolors=colors, > linewidth=0.0, antialiased=True) > Is the issue that you have transparent lines between the faces? Set the "shade" kwarg to True and the "antialiased" kwarg to False. If the shading is not what you want, it has been a feature request to implement the smooth coloring that shading does, but without a lightsource. I have yet to do this, and there have been some attempts to get this right, but nothing finalized yet. Contributions would be welcomed! Ben Root |
|
From: Ryan M. <rm...@gm...> - 2012-01-09 14:58:44
|
On Mon, Jan 9, 2012 at 5:28 AM, <kei...@bt...> wrote: > I just installed matplotlib 1.1.0. When I try the animation examples from http://matplotlib.sourceforge.net/examples/animation/index.html, they just flash up a window for a fraction of a second, and then terminate with no message (animate_decay.py, strip_chart_demo.py, etc). Is this what they are supposed to do? The documentation at http://matplotlib.sourceforge.net/api/animation_api.html is very terse. When I include the line > > im_ani.save('im.mp4') > > in animate_basic_example.py, I get this crash: > > kbriggs@gold:~> python animate_basic_example.py > > Traceback (most recent call last): > File "animate_basic_example.py", line 32, in <module> > im_ani.save('im.mp4') > File "/usr/local/lib/python2.7/site-packages/matplotlib/animation.py", line 127, in save > self._make_movie(filename, fps, codec, frame_prefix) > File "/usr/local/lib/python2.7/site-packages/matplotlib/animation.py", line 164, in _make_movie > stdout=PIPE, stderr=PIPE) > File "/usr/local/lib/python2.7/subprocess.py", line 679, in __init__ > errread, errwrite) > File "/usr/local/lib/python2.7/subprocess.py", line 1228, in _execute_child > raise child_exception > OSError: [Errno 2] No such file or directory Saving generally requires ffmpeg. You could try installing that or commenting out the call to save(). Given that saving is half-baked at this point, a good maintainer of this code *cough*me*cough* would probably make a problem saving not completely crap out the script. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: <kei...@bt...> - 2012-01-09 11:41:25
|
I just installed matplotlib 1.1.0. When I try the animation examples from http://matplotlib.sourceforge.net/examples/animation/index.html, they just flash up a window for a fraction of a second, and then terminate with no message (animate_decay.py, strip_chart_demo.py, etc). Is this what they are supposed to do? The documentation at http://matplotlib.sourceforge.net/api/animation_api.html is very terse. When I include the line im_ani.save('im.mp4') in animate_basic_example.py, I get this crash: kbriggs@gold:~> python animate_basic_example.py Traceback (most recent call last): File "animate_basic_example.py", line 32, in <module> im_ani.save('im.mp4') File "/usr/local/lib/python2.7/site-packages/matplotlib/animation.py", line 127, in save self._make_movie(filename, fps, codec, frame_prefix) File "/usr/local/lib/python2.7/site-packages/matplotlib/animation.py", line 164, in _make_movie stdout=PIPE, stderr=PIPE) File "/usr/local/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/local/lib/python2.7/subprocess.py", line 1228, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Keith |
|
From: Georg B. <g.b...@gm...> - 2012-01-09 09:59:07
|
On 01/05/2012 05:58 PM, Benjamin Root wrote: > > > On Thu, Jan 5, 2012 at 10:40 AM, Benjamin Root <ben...@ou... > <mailto:ben...@ou...>> wrote: > > > At the very least, it would help in compartmentallizing all the possible > drawing attributes that are common across all artists. Currently, I am > envisioning using a defaultdict object (which was introduced in python > 2.5) or subclassing from it. This might help in keeping compatibility > with existing code. Subclassing would allow for modifying __get__ and > __set__ to treat some elements like 'c' and 'color', 'lw' and > 'linewidth' and so on as the same. > > > Grrrr, in defaultdict(), the default_factory is called without arguments, so a > factory can't be made to produce a default value for a given key, unless I > resort to more hackary... FWIW, defaultdict() only uses the __missing__ dictionary hook, and that one is passed the key. It's easy to implement a similar class that calls the factory with a key argument. Georg |