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-07 17:18:09
|
On Saturday, January 7, 2012, Jae-Joon Lee <lee...@gm...> wrote: > Please post a complete (but simple) example that we can easily test. > Doing the *subplot_adjust* will mess up the location of colorbars, but > I believe that colorbars should be still there. > If you're using v1.1 and later, see if using the "use_gridspec" > parameter works. For example, > > colorbar(use_gridspec=True) > > Regards, > > -JJ > > Personally, I just simply use the AxesGrid1 toolkit which automatically allocates space for colorbars if I tell it to. Very easy to use. Ben Root |
|
From: Benjamin R. <ben...@ou...> - 2012-01-07 17:13:40
|
On Saturday, January 7, 2012, Mingkui Li <ken...@gm...> wrote: > Yes, I think this is the origin of the Error. > Thank you all! > BTW, why the email title of all other people posts begin with '[matplotlib-user]'? does this should be added by hand every time when I post a topic? > No, don't do that. The added part of the title is done automatically by the list server. However, on this list, we post replies on the bottom. Ben Root |
|
From: Jae-Joon L. <lee...@gm...> - 2012-01-07 14:57:35
|
On Fri, Jan 6, 2012 at 4:56 AM, Skipper Seabold <jss...@gm...> wrote:
> but when I call show, it seems the width of
> the box is reset.
Yes. Because the location of the texts are backend-dependent, the
location of the xbox surrounding the text are recalculated during the
drawing time. I don't think there is no easy workaround unfortunately.
If you are experienced in matplotlib, you may try is to rewrite the
get_path method of the bbox. The example code below, while a bit
complicated, tries to make the the bbox align with the axes.
ax.title.set_ha("left")
bbox_get_path = bbox.get_path
def my_get_path():
pad = bbox.get_boxstyle().pad*bbox.get_mutation_scale()
x0, y0 = bbox.get_transform().transform_point((0,0))
xx = ax.bbox.x0 - x0
bbox.set_x(xx+pad)
bbox.set_width(ax.bbox.width-2*pad)
return bbox_get_path()
bbox.get_path = my_get_path
regards,
-JJ
|
|
From: Jae-Joon L. <lee...@gm...> - 2012-01-07 13:52:29
|
Please post a complete (but simple) example that we can easily test. Doing the *subplot_adjust* will mess up the location of colorbars, but I believe that colorbars should be still there. If you're using v1.1 and later, see if using the "use_gridspec" parameter works. For example, colorbar(use_gridspec=True) Regards, -JJ On Sat, Jan 7, 2012 at 8:34 PM, davcra <dcd...@gm...> wrote: > > Hi, I need to add a colorbar to each plot in a subplot but cant seem to get > it to work. My code is as follows, > > # Plot time series of slowness, baz, abs.power and rel.power > labels = 'rel.power abs.power baz slow'.split() > > fig = plt.figure() > for i, lab in enumerate(labels): > ax = fig.add_subplot(4, 1, i + 1) > ax.scatter(out[:, 0], out[:, i + 1], c=out[:, 1], alpha=0.6, > edgecolors='none') > ax.set_ylabel(lab) > colorbar() > fig.autofmt_xdate() > fig.subplots_adjust(top=0.95, right=0.95, bottom=0.2, hspace=0.25) > plt.show() > > Dont get any error but the colorbar is missing from the plot, anyone know > how it is done???? > -- > View this message in context: http://old.nabble.com/Colorbar-on-each-subplot-tp33098035p33098035.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > 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: davcra <dcd...@gm...> - 2012-01-07 11:34:40
|
Hi, I need to add a colorbar to each plot in a subplot but cant seem to get
it to work. My code is as follows,
# Plot time series of slowness, baz, abs.power and rel.power
labels = 'rel.power abs.power baz slow'.split()
fig = plt.figure()
for i, lab in enumerate(labels):
ax = fig.add_subplot(4, 1, i + 1)
ax.scatter(out[:, 0], out[:, i + 1], c=out[:, 1], alpha=0.6,
edgecolors='none')
ax.set_ylabel(lab)
colorbar()
fig.autofmt_xdate()
fig.subplots_adjust(top=0.95, right=0.95, bottom=0.2, hspace=0.25)
plt.show()
Dont get any error but the colorbar is missing from the plot, anyone know
how it is done????
--
View this message in context: http://old.nabble.com/Colorbar-on-each-subplot-tp33098035p33098035.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: davcra <dcd...@gm...> - 2012-01-07 10:51:03
|
Hi, I need to add a colorbar to each plot in a subplot but cant seem to get
it to work. My code is as follows,
# Plot time series of slowness, baz, abs.power and rel.power
labels = 'rel.power abs.power baz slow'.split()
fig = plt.figure()
for i, lab in enumerate(labels):
ax = fig.add_subplot(4, 1, i + 1)
ax.scatter(out[:, 0], out[:, i + 1], c=out[:, 1], alpha=0.6,
edgecolors='none')
ax.set_ylabel(lab)
colorbar()
fig.autofmt_xdate()
fig.subplots_adjust(top=0.95, right=0.95, bottom=0.2, hspace=0.25)
plt.show()
Dont get any error but the colorbar is missing from the plot, anyone know
how it is done????
--
View this message in context: http://old.nabble.com/How-to-use-colorbar-in-subplot-tp33097878p33097878.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Mingkui Li <ken...@gm...> - 2012-01-07 07:04:06
|
Yes, I think this is the origin of the Error.
Thank you all!
BTW, why the email title of all other people posts begin with
'[matplotlib-user]'? does this should be added by hand every time when I
post a topic?
On Sat, Jan 7, 2012 at 11:44 AM, Michiel de Hoon <mjl...@ya...>wrote:
> The problem seems to originate from this line in lib/matplotlib/sankey.py:
>
> patch = PathPatch(Path(vertices, codes),
> fc=kwargs.pop('fc', kwargs.pop('facecolor',
> '#bfd1d4')), # Custom defaults
> lw=kwargs.pop('lw', kwargs.pop('linewidth',
> '0.5')),
> **kwargs)
>
> Note that the linewidth is set to the string '0.5' rather than the float
> 0.5. gc.set_linewidth is then called with the string '0.5' as the argument,
> which triggers the error. If I replace '0.5' by 0.5, the example runs fine
> with the MacOSX backend.
>
> Is there a reason why this needs to be a string here? I would think that
> in general gc.set_linewidth should only accept floats and ints.
>
> -Michiel.
>
>
>
>
> --- On *Fri, 1/6/12, Mingkui Li <ken...@gm...>* wrote:
>
>
> From: Mingkui Li <ken...@gm...>
> Subject: [Matplotlib-users] matplotlib 1.1 "TypeError: a float is
> required" problem
> To: mat...@li...
> Date: Friday, January 6, 2012, 10:54 AM
>
>
> I just updated matplotlib to 1.1 and want try the new features Sankey
> Diagrams
>
> and
> Animation
>
> but when I try the api example code: sankey_demo_basics.py
>
> I got the error messages as below:
>
> ==============================================================================
> Traceback (most recent call last):
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py",
> line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/figure.py",
> line 884, in draw
> func(*args)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py",
> line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/axes.py",
> line 1983, in draw
> a.draw(renderer)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py",
> line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/patches.py",
> line 385, in draw
> gc.set_linewidth(lw)
> TypeError: a float is required
> Traceback (most recent call last):
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py",
> line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/figure.py",
> line 884, in draw
> func(*args)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py",
> line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/axes.py",
> line 1983, in draw
> a.draw(renderer)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py",
> line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/patches.py",
> line 385, in draw
> gc.set_linewidth(lw)
> TypeError: a float is required
>
> ==================================================================================
>
> Then I looked into the
> file /Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/patches.py
> at the line 384 the code is: gc.set_linewidth(lw)
> I added "lw = np.float(lw)" before "gc.set_linewidth(lw)", then the
> example code runs successfully.
>
> Any help?
>
> Thanks for any reply.
>
> --
> Mingkui Li
>
>
> -----Inline Attachment Follows-----
>
>
>
> ------------------------------------------------------------------------------
> 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
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...<http://mc/compose?to=...@li...>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
Mingkui Li
|
|
From: Michiel de H. <mjl...@ya...> - 2012-01-07 03:44:54
|
The problem seems to originate from this line in lib/matplotlib/sankey.py:
patch = PathPatch(Path(vertices, codes),
fc=kwargs.pop('fc', kwargs.pop('facecolor',
'#bfd1d4')), # Custom defaults
lw=kwargs.pop('lw', kwargs.pop('linewidth',
'0.5')),
**kwargs)
Note that the linewidth is set to the string '0.5' rather than the float 0.5. gc.set_linewidth is then called with the string '0.5' as the argument, which triggers the error. If I replace '0.5' by 0.5, the example runs fine with the MacOSX backend.
Is there a reason why this needs to be a string here? I would think that in general gc.set_linewidth should only accept floats and ints.
-Michiel.
--- On Fri, 1/6/12, Mingkui Li <ken...@gm...> wrote:
From: Mingkui Li <ken...@gm...>
Subject: [Matplotlib-users] matplotlib 1.1 "TypeError: a float is required" problem
To: mat...@li...
Date: Friday, January 6, 2012, 10:54 AM
I just updated matplotlib to 1.1 and want try the new features
Sankey Diagrams
and
Animation
but when I try the api example code: sankey_demo_basics.py
I got the error messages as below:==============================================================================Traceback (most recent call last): File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs) File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/figure.py", line 884, in draw func(*args)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/axes.py", line 1983, in draw
a.draw(renderer) File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/patches.py", line 385, in draw gc.set_linewidth(lw)TypeError: a float is required
Traceback (most recent call last): File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/figure.py", line 884, in draw func(*args) File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs) File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/axes.py", line 1983, in draw a.draw(renderer)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/patches.py", line 385, in draw
gc.set_linewidth(lw)TypeError: a float is required==================================================================================
Then I looked into the file /Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/patches.py
at the line 384 the code is: gc.set_linewidth(lw)I added "lw = np.float(lw)" before "gc.set_linewidth(lw)", then the example code runs successfully.
Any help?
Thanks for any reply.
--
Mingkui Li
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
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
-----Inline Attachment Follows-----
_______________________________________________
Matplotlib-users mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|
|
From: Gökhan S. <gok...@gm...> - 2012-01-07 00:14:20
|
Hello group, I am trying to align contour labels on my plot. Using the latest git clone I was able to position the labels somewhat nicer than the default positioning. (Following from https://github.com/matplotlib/matplotlib/issues/613 ) However, it requires manual specification of right data coords to create this plot and it is not easy to align them properly. Is there a mechanism to position and align labels on a specified line? See the linked image for better demonstration. http://imageshack.us/photo/my-images/210/cimage.png/ Thanks -- Gökhan |