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
(11) |
2
(1) |
3
(5) |
4
(25) |
5
(14) |
6
(36) |
7
(13) |
8
(15) |
9
|
10
(5) |
11
(5) |
12
(11) |
13
(15) |
14
(9) |
15
(16) |
16
(3) |
17
(13) |
18
(7) |
19
(9) |
20
(12) |
21
(2) |
22
(6) |
23
|
24
(2) |
25
(1) |
26
(16) |
27
(7) |
28
(11) |
29
(8) |
30
(1) |
Hi Don, On Sunday 17 September 2006 7:06 pm, Don Peterson wrote: > For my Windows XP machine, I downloaded enthon-python2.4-1.0.0.exe and > matplotlib-0.87.5.win32-py2.4.exe. I installed python first (it's version > 2.4.3) via the Enthought executable; it installed fine with no errors. > Then matplotlib installed fine with no errors. > > I installed the matplotlib_examples_0.87.1.zip examples and tried to run > the barchart_demo.py script; here's the error message I got: > > RuntimeError: module compiled against version 1000002 of C-API but this > version of numpy is 90907 > > The import of the numpy version of the nxutils module, > _nsnxutils, failed. This is is either because numpy was > unavailable when matplotlib was compiled, because a dependency of > _nsnxutils could not be satisfied, or because the build flag for > this module was turned off in setup.py. If it appears that > _nsnxutils was not built, make sure you have a working copy of > numpy and then re-install matplotlib. Otherwise, the following > traceback gives more details: > > Traceback (most recent call last): > File "barchart_demo.py", line 3, in ? > from pylab import * > File "C:\bin\PYTHON~1\Lib\site-packages\pylab.py", line 1, in ? > from matplotlib.pylab import * > File "C:\bin\PYTHON~1\Lib\site-packages\matplotlib\pylab.py", line 198, > in ? import mlab #so I can override hist, psd, etc... > File "C:\bin\PYTHON~1\Lib\site-packages\matplotlib\mlab.py", line 64, in > ? import nxutils > File "C:\bin\PYTHON~1\Lib\site-packages\matplotlib\nxutils.py", line 17, > in ? from matplotlib._ns_nxutils import * > ImportError: numpy.core.multiarray failed to import > > The following shows I can import numpy OK: > > --> python > Python 2.4.3 - Enthought Edition 1.0.0 (#69, Aug 2 2006, 12:09:59) [MSC > v.1310 32 bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > > >>> from numpy import * > > I would very much like to be able to use matplotlib, as it looks much > better suited to my needs than gnuplot. Any ideas on how to address this > problem? Enthought includes matplotlib, so you dont need to install it seperately. The reason for the problem is that your enthought executable includes an older version of numpy and matplotlib. The newest matplotlib is compatible with numpy1-0b5 and later. Darren PS- Please turn off HTML formatting when posting to lists like these
>>>>> "Zack" == Zack <za...@gm...> writes: Zack> """ Public attributes transData - transform data coords Zack> to display coords transAxis - transform axis coords to Zack> display coords Zack> """ LABELPAD = 5 -------------- You can use it: ax.xaxis.LABELPAD = 10 ax.yaxis.LABELPAD = 10 We could make it a property and rc param, though, so it is consistent with the rest of the API. JDH
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font size="+1"><font face="Helvetica, Arial, sans-serif">For my Windows XP machine, I downloaded enthon-python2.4-1.0.0.exe and matplotlib-0.87.5.win32-py2.4.exe. I installed python first (it's version 2.4.3) via the Enthought executable; it installed fine with no errors. Then matplotlib installed fine with no errors.<br> <br> I installed the matplotlib_examples_0.87.1.zip examples and tried to run the barchart_demo.py script; here's the error message I got:<br> <br> </font></font><font size="+1"><tt>RuntimeError: module compiled against version 1000002 of C-API but this version<br> of numpy is 90907<br> <br> The import of the numpy version of the nxutils module,<br> _nsnxutils, failed. This is is either because numpy was<br> unavailable when matplotlib was compiled, because a dependency of<br> _nsnxutils could not be satisfied, or because the build flag for<br> this module was turned off in setup.py. If it appears that<br> _nsnxutils was not built, make sure you have a working copy of<br> numpy and then re-install matplotlib. Otherwise, the following<br> traceback gives more details:<br> <br> Traceback (most recent call last):<br> File "barchart_demo.py", line 3, in ?<br> from pylab import *<br> File "C:\bin\PYTHON~1\Lib\site-packages\pylab.py", line 1, in ?<br> from matplotlib.pylab import *<br> File "C:\bin\PYTHON~1\Lib\site-packages\matplotlib\pylab.py", line 198, in ?<br> import mlab #so I can override hist, psd, etc...<br> File "C:\bin\PYTHON~1\Lib\site-packages\matplotlib\mlab.py", line 64, in ?<br> import nxutils<br> File "C:\bin\PYTHON~1\Lib\site-packages\matplotlib\nxutils.py", line 17, in ?<br> from matplotlib._ns_nxutils import *<br> ImportError: numpy.core.multiarray failed to import<br> <br> </tt></font><font size="+1"><font face="Helvetica, Arial, sans-serif">The following shows I can import numpy OK:<br> <br> </font></font><font size="+1"><tt>--> python<br> Python 2.4.3 - Enthought Edition 1.0.0 (#69, Aug 2 2006, 12:09:59) [MSC v.1310<br> 32 bit (Intel)] on win32<br> Type "help", "copyright", "credits" or "license" for more information.<br> >>> from numpy import *<br> >>></tt></font><font size="+1"><font face="Helvetica, Arial, sans-serif"><br> <br> I would very much like to be able to use matplotlib, as it looks much better suited to my needs than gnuplot. Any ideas on how to address this problem?<br> <br> </font></font> </body> </html>
Hi, John! On Sunday 17 September 2006 19:26, John Hunter wrote: > The tick labels are part of the Tick, so this setting will affect > them. The Axis labels are automatically placed to be below (or to the > left of) the tick labels. So it may be enough to simply set the pad. I have found the parameter I need. It was placed inside of Axis class definition. -------------- class Axis(Artist): """ Public attributes transData - transform data coords to display coords transAxis - transform axis coords to display coords """ LABELPAD = 5 -------------- I'm wondering if it might be possible to release this parameter, that anyone could adjust it according his needs. It will make matplotlib even more flexible. Thanks for the great lib! -- Alexey
Hi: Thanks for you last reply John you where right on. Yet another newbie question, how do I take off the frame off ? I have tried frameon=False, and played with the figsize and dpi, and I just can't get rid of the gray (or white) border around my image. I want the image to expand to take on the whole sizer I can't afford the padding on the side. This is how I am adding my image to the figure: (I don't know if I should be using add_subplot(111) ? ) figure = Figure() self.axes = figure.add_subplot(111) self.axes.imshow(self.image, interpolation='nearest') self.axes.axis('off') Thanks. Daniel.
While compiling matplotlib-0.87.5 with python-2.5 on debian testing some errors occured: gcc: src/agg.cxx cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ src/agg.cxx: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)': src/agg.cxx:1231: error: invalid conversion from 'const char*' to 'char*' src/agg.cxx: In function 'void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)': src/agg.cxx:27624: error: invalid conversion from 'const char*' to 'char*' cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ src/agg.cxx: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)': src/agg.cxx:1231: error: invalid conversion from 'const char*' to 'char*' src/agg.cxx: In function 'void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)': src/agg.cxx:27624: error: invalid conversion from 'const char*' to 'char*' error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Iagg23/include -Isrc -Iswig -I/home/achim/local/include/python2.5 -c src/agg.cxx -o build/temp.linux-i686-2.5/src/agg.o" failed with exit status 1 similar errors occured in src/swig_runtime.h src/swig_runtime.h: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)': src/swig_runtime.h:1140: error: invalid conversion from 'const char*' to 'char*' a fix is attached. Achim
>>>>> "Zack" == Zack <za...@gm...> writes: Zack> Hi, Thanks for your help. Zack> On Sunday 17 September 2006 16:54, John Hunter wrote: >> From code, you can also control the pad with, for example, for >> tick in ax.xaxis.get_major_ticks(): tick.set_pad(6) Zack> And how do I do same thing with labels? They are instances Zack> of Text object not ticks. The tick labels are part of the Tick, so this setting will affect them. The Axis labels are automatically placed to be below (or to the left of) the tick labels. So it may be enough to simply set the pad. JDH
Hi, Thanks for your help. On Sunday 17 September 2006 16:54, John Hunter wrote: > From code, you can also control the pad with, for example, > for tick in ax.xaxis.get_major_ticks(): > tick.set_pad(6) And how do I do same thing with labels? They are instances of Text object not ticks. -- Alexey
>>>>> "Daniel" == Daniel Kornhauser <kor...@re...> writes: Daniel> I know I should find this in the documentation, but I am Daniel> finding all kinds of bells and whistles about the Daniel> interpolation and the fancy agg features except how to Daniel> disable antialiasing . When you say antialiasing, do you mean interpolation? AFAIK, antialiasing doesn't really come into play on the images. Perhaps what you want is ax.imshow(nx.mlab.rand(10,10), interpolation='nearest') JDH
>>>>> "Zack" == Zack <za...@gm...> writes: Zack> Hi, all how to change the spacing between axes and ticks Zack> labels, ticks labels and axes labels? I mean vertical Zack> spacing for X axis and horizontal one for Y. See these parameters from your matplotlibrc file: http://matplotlib.sf.net/matplotlibrc xtick.major.pad : 4 # distance to major tick label in points xtick.minor.pad : 4 # distance to the minor tick label in points ytick.major.pad : 4 # distance to major tick label in points ytick.minor.pad : 4 # distance to the minor tick label in points >From code, you can also control the pad with, for example, for tick in ax.xaxis.get_major_ticks(): tick.set_pad(6) ditto for the yaxis and minor ticks.. JDH
Hi, all how to change the spacing between axes and ticks labels, ticks labels and axes labels? I mean vertical spacing for X axis and horizontal one for Y. Thanks, -- Alexey
I know I should find this in the documentation, but I am finding all kinds of bells and whistles about the interpolation and the fancy agg features except how to disable antialiasing . Sorry for the newbie question. Daniel.
I've added full directional control and the ability to specify something besides the joining distance for the vertical axis. I've also changed things so that the program doesn't use linestyle='steps' to make the branches, as a result you now have the ability to specify line styles for different branches in addition to color (useful if you're publishing in black & white). If anyone has any suggestions for additional features they'd like to see, let me know and I'll see what I can do. If you'd like to write your own modifications, feel free to pass them along to me and I'll post an updated version that includes your modifications. http://www.umit.maine.edu/~r.springuel/000CCFE8-80000018/ -- R. Padraic Springuel Teaching Assistant Department of Physics and Astronomy University of Maine Bennett 309 Office Hours: Wednesday 2-3pm