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
(10) |
2
(12) |
3
(6) |
4
(5) |
5
(6) |
6
(2) |
|
7
(1) |
8
(20) |
9
(11) |
10
(3) |
11
(6) |
12
(3) |
13
(1) |
|
14
(2) |
15
(1) |
16
(5) |
17
(9) |
18
(17) |
19
(7) |
20
|
|
21
(1) |
22
(1) |
23
(1) |
24
|
25
(4) |
26
(4) |
27
|
|
28
(2) |
29
(2) |
30
(6) |
31
(5) |
|
|
|
|
From: Al S. <a.d...@wo...> - 2004-03-05 17:47:19
|
I am generating a plot with multi-line ticklabels.
Although the plot displays normally, clicking on the SAVE icon fails
(after selecting the target file name).
I tracked this down as far as afm.get_str_bbox(), line 307 in afm.py
It appears to me that the '\n' character in my multi-line label is
causing the following error:
File "/usr/local/lib/python2.3/site-packages/matplotlib/afm.py", line
307, in get_str_bbox
wx, name, bbox = self._metrics[ord(c)]
KeyError: 10
Note that '\n' == 10. I confirmed the failure with a tiny example:
Run the following and click on the SAVE icon, enter a file name, and
observe the failure.
################################
from matplotlib.matlab import *
plot([1,2,3,4], [1,4,9,16])
set(gca(), 'xticks', [1,2,3,4])
t = set(gca(), 'xticklabels', ['Frogs\nOKAY 1', 'Hogs\nFine 2',
'Bogs\nGOOD 3', 'Slogs'])
show()
################################
Although I realize that computing the bounding box of a multi-line text
is a bit more complex, I would really like to see this supported.
Also, I don't know in how many other places the embedded '\n' will cause
problems.
Thanks.
--
Al Schapira <a.d...@wo...>
|
|
From: John W. <jd...@go...> - 2004-03-05 17:11:30
|
I am using the latest CVS release of matplotlib from sourceforge, and when I try to run the wx backend example I get gyrotwystron examples # python embedding_in_wx.py Could not import mathtext (build with ft2font) GThread-ERROR **: GThread system may only be initialized once. aborting... Aborted The gtk backend examples work fine (although I still get the mathtext warning). I have python 2.3 and wxPython 2.4.2.4 on a gentoo linux system. Thanks! jgw |
|
From: Al S. <a.d...@wo...> - 2004-03-05 16:21:56
|
I found that multi-line ticklabels work fine in normal (hortizontal)
mode. However, after a set(t, 'rotation', 'vertical') the plot fails
as shown below. The plot window pops up, then disappears.
System is RH linux 9, matplotlib 0.51, pygtk 2.0.0,
Are multi-line labels supported? In vertical mode too?
Thanks for your help.
-Al Schapira, a.d...@wo...
### This is based upon the "vertical_ticklabels.py" in /examples.
[ads@ADS1 py]$ cat vertical_ticklabels.py
from matplotlib.matlab import *
plot([1,2,3,4], [1,4,9,16])
set(gca(), 'xticks', [1,2,3,4])
t = set(gca(), 'xticklabels', ['Frogs\nOKAY 1', 'Hogs\nFine 2',
Bogs\nGOOD 3', 'Slogs'])
set(t, 'rotation', 'vertical') # UNCOMMENT THIS to make the above fail
show()
[ads@ADS1 py]$ python vertical_ticklabels.py
The program 'vertical_ticklabels.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 1083 error_code 8 request_code 73 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
function.)
|
|
From: Andrew S. <str...@as...> - 2004-03-05 12:06:05
|
G'day all!
I'm back to using matplotlib after a few months away. I'm very
impressed with the recent progress!
I often plot the instantaneous variance of repeated recordings made
under the same conditions using a shaded area to surround the mean. I'm
trying to find a way to do this with matplotlib. Included below is a
"filly" (fill y) function I wrote to attempt to do this. It doesn't
quite work yet, and I'd like some help. (BTW, I don't know of how this
would be done in Matlab, so if there's a more compatible way, I'd be
happy to change the approach.)
1) How do I make the data fill the axes automatically, such as the
"plot" function?
2) Is it a bug that the polygon is not filled, or am I missing
something?
I've only tried this in the PS backend -- I'm having troubles with the
others at the moment. Also, this is using the version of matplotlib I
checked out with CVS. This version fails to build the agg backend with:
running build_py
package init file 'ttfquery/__init__.py' not found (or not a regular
file)
package init file 'FontTools/__init__.py' not found (or not a regular
file)
package init file 'FontTools/fontTools/__init__.py' not found (or not a
regular file)
package init file 'FontTools/fontTools/encodings/__init__.py' not found
(or not a regular file)
error: package directory 'FontTools/fontTools/misc' does not exist
Cheers!
Andrew
-=-=-=-=-=-=-= filly.py -=-=-=-=-=-=-=-=
from matplotlib.matlab import *
from matplotlib.patches import Rectangle, Polygon
def filly(x,y1,y2,**kwargs):
ax = gca()
xy = []
for xi, yi in zip(x,y1):
xy.append( (xi,yi) )
for xi, yi in zip(x[::-1],y2[::-1]):
xy.append( (xi,yi) )
xy.append( xy[0] )
polygon = Polygon(
ax.dpi, ax.bbox,
xy,
transx = ax.xaxis.transData, # what does this do?
transy = ax.yaxis.transData, # and this??
**kwargs)
ax.add_patch(polygon)
return polygon
figure(1)
t = arange(0.0, 1.0, 0.01)
s_mean = 0.5*sin(2*2*pi*t)
s_lo = s_mean-0.1
s_hi = s_mean+0.1
#plot(t,s_mean,'k')
filly(t,s_lo,s_hi,fill=1,facecolor='g')
gca().xaxis.autoscale_view() # why doesn't this help?
gca().yaxis.autoscale_view()
savefig('filly')
#show()
|
|
From: matthew a. <ma...@ca...> - 2004-03-05 06:01:12
|
On Thu, 4 Mar 2004, matthew arnison wrote:
> * if I savefig('file.eps') from the TkAgg backend, the EPS file is sized
> to something much bigger than A4 (but it still works fine from the GTK
> backend)
I've just found I've had similar problems saving EPS figures from the GTK
backend of matplotlib 0.51 too.
Plus TkAgg doesn't like it if you close a plot using the window close box
(not the X in the toolbar):
[I have TkAgg as my default backend in ~/.matplotlibrc and interactive
set to True]
$ python
Python 2.2.2 (#1, Feb 24 2003, 19:13:11)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from matplotlib.matlab import *
>>> x = arange(0.0, 3.14, 0.01)
>>> plot(x, sin(x))
[<matplotlib.lines.Line2D instance at 0x84143b4>]
... click on window close button (not toolbar close button) ...
>>> plot(x, sin(x))
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/site-packages/matplotlib/matlab.py", line 788,
in plot
draw_if_interactive()
File
"/usr/lib/python2.2/site-packages/matplotlib/backends/backend_tkagg.py",
line 46, in draw_if_interactive
figManager.show()
File
"/usr/lib/python2.2/site-packages/matplotlib/backends/backend_tkagg.py",
line 121, in show
self.window.deiconify()
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1343, in wm_deiconify
return self.tk.call('wm', 'deiconify', self._w)
TclError: can't invoke "wm" command: application has been destroyed
m.
|
|
From: matthew a. <ma...@ca...> - 2004-03-05 05:07:16
|
Hi Now that we have the lovely new syntax for setting legend labels for each line: plot(x, sin(x), label='sin(x)') plot(x, cos(x), label='cos(x)') how do we then move the legend from the default upper right location? legend() turns the legend on, but the LOC argument has to be second or third, after the LINES and/or LABELS. What about a new loc keyword for legend? E.g. legend(loc=5) While we're talking about problems inherited from matlab's use of positional arguments, is there some easy way to set the x or y axis limits without setting the other axis? E.g. if I want to leave the x axis automatic, but manually set the y axis? I looked at help(axis) and at http://matplotlib.sourceforge.net/matlab_commands.html and I couldn't see anything obvious like xaxis or yaxis functions. This works: autoaxis = axis() autoaxis[2:4] = (ymin, ymax) axis(autoaxis) but what if I add a plot afterwards that changes the x axis limits? And it seems like hard work compared to: yaxis(ymin, ymax) Cheers, Matthew. |