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
(8) |
2
|
3
|
4
|
|
5
(15) |
6
(4) |
7
(2) |
8
(1) |
9
(1) |
10
(6) |
11
(1) |
|
12
(1) |
13
(3) |
14
(2) |
15
|
16
|
17
|
18
|
|
19
(1) |
20
|
21
(3) |
22
(2) |
23
|
24
|
25
|
|
26
|
27
(1) |
28
(3) |
29
|
30
(3) |
|
|
|
From: Edin S. <edi...@gm...> - 2006-11-10 23:21:50
|
I'm posting this because of the other thread Darren started. I managed to reinstall python (and the modules I use) several days ago and tried again to run matplotlib with Numeric as the default backend, but got the same error (the same error Darren is getting). Then I installed numpy, and everything was fixed :) Best, Edin On 10/22/06, Edin Salkovic <edi...@gm...> wrote: > Unfortunately, I forgot to do it :( > > Then, just after sending the message to the list, it sprang to my > mind. To make it worse, I then mistakenly entered: > rm -Rf /path/to/site-packages > > no matplotlib at the end, and hit enter. > > There goes my beautiful Python install. :'( > > Is there some switch to setup.py to make it remove the mpl dir or does > one allways have to do it by hand? > > Cheers, > Edin > > On 10/22/06, Darren Dale <dd...@co...> wrote: > > Did you try deleting your old mpl directory from site-packages, remove the > > build directory from you mpl sources, and rebuild from scratch? > > > > > > > > On Sunday 22 October 2006 6:59 am, Edin Salkovic wrote: > > > Hi, > > > > > > I built and installed the latest matplotlib from SVN. > > > > > > When I type: > > > >>> from pylab import * > > > >>> plot([1,2,3]) > > > > > > I get: > > > > > > Traceback (most recent call last): > > > File "<stdin>", line 1, in ? > > > File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line > > > 2027, in plot > > > ret = gca().plot(*args, **kwargs) > > > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line > > > 2131, in plot self.autoscale_view(scalex=scalex, scaley=scaley) > > > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line > > > 985, in autoscale_view > > > self.set_xlim(XL) > > > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line > > > 1227, in set_xlim > > > self.viewLim.intervalx().set_bounds(xmin, xmax) > > > TypeError: only length-1 arrays can be converted to Python scalars. > > > > > > I'm using Numeric as numerix. I'm on a Ubuntu box with python 2.4. > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > > > Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > > > Matplotlib-devel mailing list > > > Mat...@li... > > > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > > -- > > Darren S. Dale, Ph.D. > > dd...@co... > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Matplotlib-devel mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > |
|
From: Nicolas G. <nic...@ga...> - 2006-11-10 22:08:12
|
I'm playing with subplots_adjust, and I'm not comfortable with
parameters wspace and hspace.
Reading the doc, and the code, I've understood that:
- left, bottom, right and top can be considered as a "percentage" of
figure's width and height
- wspace and hspace can be considered as a "percentage" of subplots's
width and height
In other words, left/bottom/right/top and wspace/hspace are not given
in the same "unit": the former is given in "figure unit" whereas the
latter is given in "subplot unit".
I find these convention difficult to use when you try, for example, to have:
wspace = left margin + right margin
hspace = top margin + bottom margin
Here is some Python code to be clear:
left_margin, bottom_margin, right_margin, top_margin = 0.06, 0.06, 0, 0.1
pylab.subplots_adjust(
left=left_margin,
bottom=bottom_margin,
right=1-right_margin,
top=1-top_margin,
wspace=left_margin+right_margin,
hspace=bottom_margin+top_margin
)
I tried, but it doesn't work as intended because i guessed wspace and
hspace are a ratio of figure's size, but it seems they are a ratio of
subplot's size, aren't they?
Is it a design choice or just a matter of fact? Do you want to keep it
that way or do you agree to change it?
For example, with R (where I came from), figure's margin and subplot's
margin are expressed in the same unit: inches or "lines" (a unit
corresponding to the height of a line... very useful).
Nicolas Grilly
|
|
From: Darren D. <dd...@co...> - 2006-11-10 22:04:33
|
Let me correct that, I only see this problem with Numeric. numarray and numpy appear to be fine. On Friday 10 November 2006 13:23, Darren Dale wrote: > Can anyone reproduce this error? I am using up-to-date svn matplotlib, with > either numpy or numeric: > > plot([1,2]) > > --------------------------------------------------------------------------- > exceptions.TypeError Traceback (most recent > call last) > > /home/darren/<ipython console> > > /usr/lib64/python2.4/site-packages/matplotlib/pylab.py in plot(*args, > **kwargs) > 3087 hold(h) > 3088 try: > -> 3089 ret = gca().plot(*args, **kwargs) > 3090 draw_if_interactive() > 3091 except: > > /usr/lib64/python2.4/site-packages/matplotlib/axes.py in plot(self, *args, > **kwargs) > 2137 lines = [line for line in lines] # consume the generator > 2138 > -> 2139 self.autoscale_view(scalex=scalex, scaley=scaley) > 2140 return lines > 2141 > > /usr/lib64/python2.4/site-packages/matplotlib/axes.py in > autoscale_view(self, tight, scalex, scaley) > 991 if xl[1] < xl[0]: > 992 XL = XL[::-1] > --> 993 self.set_xlim(XL) > 994 if scaley: > 995 yl = self.get_ylim() > > /usr/lib64/python2.4/site-packages/matplotlib/axes.py in set_xlim(self, > xmin, xmax, emit) > 1233 xmax += 1e-38 > 1234 > -> 1235 self.viewLim.intervalx().set_bounds(xmin, xmax) > 1236 if emit: self._send_xlim_event() > 1237 return xmin, xmax > > TypeError: only length-1 arrays can be converted to Python scalars. |
|
From: John H. <jdh...@ac...> - 2006-11-10 20:17:50
|
>>>>> "Nicolas" == Nicolas Grilly <nic...@ga...> writes:
Nicolas> I guess there is a very little error in documentation of
Nicolas> pylab.subplots_adjust.
Nicolas> The order of the arguments in the current doc is:
Nicolas> subplots_adjust(left=None, right=None, bottom=None,
Nicolas> top=None, wspace=0.2, hspace=0.2)
Nicolas> The correct order of the arguments seems to be:
Nicolas> subplots_adjust(left=None, bottom=None, right=None,
Nicolas> top=None, wspace=0.2, hspace=0.2)
Nicolas> Is it correct?
Yep that's right, thanks. I always use the kwarg version and hadn't
noticed the docstring bug.
JDH
|
|
From: Nicolas G. <nic...@ga...> - 2006-11-10 20:06:53
|
I guess there is a very little error in documentation of
pylab.subplots_adjust.
The order of the arguments in the current doc is:
subplots_adjust(left=None, right=None, bottom=None, top=None, wspace=0.2,
hspace=0.2)
The correct order of the arguments seems to be:
subplots_adjust(left=None, bottom=None, right=None, top=None, wspace=0.2,
hspace=0.2)
Is it correct?
Thanks,
Nicolas
--
Garden - Conseil en Marketing & Datamining
Nicolas Grilly
Tel +33 1 45 72 48 78
Mob +33 6 03 00 25 34
www.garden-paris.com
|
|
From: Darren D. <dd...@co...> - 2006-11-10 18:23:22
|
Can anyone reproduce this error? I am using up-to-date svn matplotlib, with
either numpy or numeric:
plot([1,2])
---------------------------------------------------------------------------
exceptions.TypeError Traceback (most recent
call last)
/home/darren/<ipython console>
/usr/lib64/python2.4/site-packages/matplotlib/pylab.py in plot(*args,
**kwargs)
3087 hold(h)
3088 try:
-> 3089 ret = gca().plot(*args, **kwargs)
3090 draw_if_interactive()
3091 except:
/usr/lib64/python2.4/site-packages/matplotlib/axes.py in plot(self, *args,
**kwargs)
2137 lines = [line for line in lines] # consume the generator
2138
-> 2139 self.autoscale_view(scalex=scalex, scaley=scaley)
2140 return lines
2141
/usr/lib64/python2.4/site-packages/matplotlib/axes.py in autoscale_view(self,
tight, scalex, scaley)
991 if xl[1] < xl[0]:
992 XL = XL[::-1]
--> 993 self.set_xlim(XL)
994 if scaley:
995 yl = self.get_ylim()
/usr/lib64/python2.4/site-packages/matplotlib/axes.py in set_xlim(self, xmin,
xmax, emit)
1233 xmax += 1e-38
1234
-> 1235 self.viewLim.intervalx().set_bounds(xmin, xmax)
1236 if emit: self._send_xlim_event()
1237 return xmin, xmax
TypeError: only length-1 arrays can be converted to Python scalars.
Darren
|