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
(1) |
2
(4) |
3
(3) |
4
(2) |
5
(4) |
6
(15) |
7
(17) |
8
(4) |
9
(5) |
10
(14) |
11
(16) |
12
(37) |
13
(38) |
14
(16) |
15
(2) |
16
(6) |
17
(4) |
18
(14) |
19
(4) |
20
(1) |
21
(14) |
22
(2) |
23
(6) |
24
(16) |
25
(4) |
26
(1) |
27
(10) |
28
(30) |
29
(7) |
30
(4) |
31
(15) |
|
|
|
|
|
Nick, svn 2635 has a fix for this bug. Eric Nick Fotopoulos wrote: > Dear matplotlib-users, > > I'd like to report a bug in Polygon, which is crashing with an > unhelpful error message where an exception would be appropriate. The > problem occurs when you feed Polygon an Nx2 array instead of an N- > length list of 2-tuples. This is on my PPC OSX system, with > everything freshly checked out from SVN (should the matplotlib > version still be 0.87.4?). > > Versions: > In [152]: numpy.__version__ > Out[152]: '1.1.2881' > In [154]: matplotlib.__version__ > Out[154]: '0.87.4' > > > Code: > import pylab, numpy > > theta = numpy.pi/4*numpy.arange(9,dtype=float) > > x = numpy.cos(theta) > y = numpy.sin(theta) > > # The following line works > #p = pylab.Polygon(zip(x,y)) > > # The following line causes a crash > p = pylab.Polygon(numpy.vstack((x,y)).T) > > ax = pylab.subplot(111) > ax.add_patch(p) > pylab.show()
Nick, Thanks for the bug report. I have been making some changes to use numerix more consistently internally, and fixing this bug would be a step in that direction. I will take a look. Eric Nick Fotopoulos wrote: > Dear matplotlib-users, > > I'd like to report a bug in Polygon, which is crashing with an > unhelpful error message where an exception would be appropriate. The > problem occurs when you feed Polygon an Nx2 array instead of an N- > length list of 2-tuples. This is on my PPC OSX system, with > everything freshly checked out from SVN (should the matplotlib > version still be 0.87.4?). > > Versions: > In [152]: numpy.__version__ > Out[152]: '1.1.2881' > In [154]: matplotlib.__version__ > Out[154]: '0.87.4' > > > Code: > import pylab, numpy > > theta = numpy.pi/4*numpy.arange(9,dtype=float) > > x = numpy.cos(theta) > y = numpy.sin(theta) > > # The following line works > #p = pylab.Polygon(zip(x,y)) > > # The following line causes a crash > p = pylab.Polygon(numpy.vstack((x,y)).T) > > ax = pylab.subplot(111) > ax.add_patch(p) > pylab.show() > > > Output: > In [155]: run plot_polygon.py > ------------------------------------------------------------------------ > --- > exceptions.TypeError Traceback (most > recent call last) > > /Users/nvf/Documents/S.M. Thesis/plot_polygon.py > 10 > 11 ax = pylab.subplot(111) > ---> 12 ax.add_patch(p) > 13 pylab.show() 14 > > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- > packages/matplotlib/axes.py in add_patch(self, p) > 899 p.get_transform(), p.get_verts()) > 900 #for x,y in xys: print x,y > --> 901 self.update_datalim(xys) > 902 self.patches.append(p) > 903 > > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- > packages/matplotlib/axes.py in update_datalim(self, xys) > 913 # Otherwise, it will compute the bounds of it's > current data > 914 # and the data in xydata > --> 915 self.dataLim.update(xys, -1) > 916 > 917 > > TypeError: CXX : Error creating object of type N2Py5TupleE > WARNING: Failure executing file: <plot_polygon.py> > > > Instead of converting from crash to exception, though, would it be > possible to make it accept an Nx2 array? > > Please at least cc me in any replies, as I am not subscribed to this > list. > > Thanks, > Nick > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>>> "PGM" == PGM <pgm...@gm...> writes: PGM> Richard, in matplotlib/dates.py, change line 155 from PGM> remainder = x - ix to remainder = float(x) - ix Thanks for th tip -- I'll commit this to svn. JDH
On Friday 28 July 2006 17:19, Richard Ruth wrote: > I upgraded to matplotlib-0.87.4 Now I receive an error like the following > every time I try to use matplotlib.dates. The following error messages > were generated when I tried to run matplotlib-0.87.4/examples/date_demo1.py > > Any Idea on how I can get dates working again? > (I am running the 2.6.17.6 kernel on a 64-bit linux system) Richard, in matplotlib/dates.py, change line 155 from remainder = x - ix to remainder = float(x) - ix The problem is that matplotlib uses numpy arrays for the xaxis. As you have a 64b system, the arrays are in float64scalars, that divmod doesn't know how to process (unless you have a very recent of numpy). The trick above forces a downcasting of float64scalar to float32scalar, divmod can now work.
Till Wagner <sac...@ya...> writes: > The program should be localized to german, frensh, italian and > spanish, so the names can include some umlauts and special > characters (like ä, ü, ö, ß, ß, é and so on). In my program it works > well, but in the matplotlib-graphs are only squares where the > umlauts should be. Same with the legend. Any help or tips? The font encoding doesn't match the encoding you're using. Using unicode strings, e.g. u"\u00e4" for ä, may work better, assuming of course that the font does have the characters you need and that the backend implements unicode text. Some resources about Unicode in Python are http://www.jorendorff.com/articles/unicode/python.html http://dalchemy.com/opensource/unicodedoc/ -- Jouni
It can't find tk.h so it looks like you need to install the tk dev packages. On 7/28/06, se...@ma... <se...@ma...> wrote: > Here is the output of an attempt to install 0.87.4 with tkagg. > > It installs fine without it. > > > Any ideas will be appreciated. > > TIA, > -sen > > compile options: > '-I/usr/lib/python2.4/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/local/include > -I/usr/include -I. -I/ > usr/include/pygtk-2.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/inc > lude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 > -I/usr/include/freetype2/config -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/i > nclude/python2.4 -c' > extra options: '-DSCIPY=1' > gcc: src/_ns_backend_gdk.c > gcc -pthread -shared build/temp.linux-i686-2.4/src/_ns_backend_gdk.o > -L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/lib -lgobject-2.0 > -lglib-2.0 -lgtk > -x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 > -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 > -o build/lib.linu > x-i686-2.4/matplotlib/backends/_ns_backend_gdk.so > building 'matplotlib.backends._tkagg' extension > C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > -fasynchronous-un > wind-tables -D_GNU_SOURCE -fPIC -fPIC > > compile options: '-I/usr/include -I/usr/include -I/usr/local/include > -I/usr/include -I. -Isrc -Iswig -Iagg23/include > -I. -I/usr/local/include -I/usr/includ > e -I. -I/usr/include/freetype2 -I/usr/include/freetype2 > -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 > -Isrc/freetype2 -Iswig/freety > pe2 -Iagg23/include/freetype2 -I./freetype2 > -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 > -I/usr/include/python2.4 -c' > gcc: src/_tkagg.cpp > src/_tkagg.cpp:28:18: error: tk.h: No such file or directory > src/_tkagg.cpp:36: error: ISO C++ forbids declaration of 'Tcl_Interp' > with no type > src/_tkagg.cpp:36: error: expected ';' before '*' token > src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope > src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope > src/_tkagg.cpp:40: error: 'interp' was not declared in this scope > src/_tkagg.cpp:41: error: expected primary-expression before 'int' > src/_tkagg.cpp:41: error: expected primary-expression before 'char' > src/_tkagg.cpp:41: error: initializer expression list treated as > compound expression > src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token > src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)': > src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope > src/_tkagg.cpp:174: error: 'interp' was not declared in this scope > src/_tkagg.cpp:183: error: expected primary-expression before ')' > token > src/_tkagg.cpp:183: error: expected `;' before 'arg' > src/_tkagg.cpp:188: error: 'struct TkappObject' has no member named > 'interp' > src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this > scope > src/_tkagg.cpp:194: error: expected primary-expression before ')' > token > src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope > src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in > this scope > src/_tkagg.cpp:195: error: expected primary-expression before ')' > token > src/_tkagg.cpp:195: error: 'Tcl_CreateCommand' was not declared in > this scope > src/_tkagg.cpp:28:18: error: tk.h: No such file or directory > src/_tkagg.cpp:36: error: ISO C++ forbids declaration of 'Tcl_Interp' > with no type > src/_tkagg.cpp:36: error: expected ';' before '*' token > src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope > src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope > src/_tkagg.cpp:40: error: 'interp' was not declared in this scope > src/_tkagg.cpp:41: error: expected primary-expression before 'int' > src/_tkagg.cpp:41: error: expected primary-expression before 'char' > src/_tkagg.cpp:41: error: initializer expression list treated as > compound expression > src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token > src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)': > src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope > src/_tkagg.cpp:174: error: 'interp' was not declared in this scope > src/_tkagg.cpp:183: error: expected primary-expression before ')' > token > src/_tkagg.cpp:183: error: expected `;' before 'arg' > src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this > scope > src/_tkagg.cpp:194: error: expected primary-expression before ')' > token > src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope > src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in > this scope > src/_tkagg.cpp:195: error: expected primary-expression before ')' > token > src/_tkagg.cpp:195: error: 'Tcl_CreateCommand' was not declared in > this scope > error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g > -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 > -mtune=pentium4 -fasynchronou > s-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include > -I/usr/include -I/usr/local/include -I/usr/include -I. -Isrc -Iswig > -Iagg23/include -I. -I/usr/loc > al/include -I/usr/include -I. -I/usr/include/freetype2 > -I/usr/include/freetype2 -I/usr/local/include/freetype2 > -I/usr/include/freetype2 -I./freetype2 -Isrc > /freetype2 -Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2 > -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 > -I/usr/include/py > thon2.4 -c src/_tkagg.cpp -o build/temp.linux-i686-2.4/src/_tkagg.o" > failed with exit status 1 > > >