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
(12) |
2
(15) |
3
(4) |
4
|
5
(1) |
6
(13) |
7
(8) |
8
(16) |
9
(10) |
10
(6) |
11
(11) |
12
(20) |
13
(8) |
14
(12) |
15
(10) |
16
(12) |
17
(6) |
18
(7) |
19
(18) |
20
(5) |
21
(9) |
22
|
23
(6) |
24
(3) |
25
|
26
(2) |
27
(26) |
28
(11) |
29
(9) |
30
(21) |
|
>>>>> "Tony" == Tony Mannucci <Ton...@jp...> writes: Tony> John, Thanks for the answer. Tony> My prime mistake was to assume that matlab behavior is Tony> mimicked in matplotlib. (I am not saying it should Tony> be!). matlab has a Line object and this includes the Tony> markers. So, what I called "bugs" was based on a false Tony> expectation. The matlab version of the code will produce Tony> lines and symbols of the same color. Tony> I will spend more time with the matplotlib manual and learn Tony> the differences with matlab, and make progress that way. Hmm, I didn't know matlab behaved this way. I know matlab does have color, markerfacecolor and margeredgecolor, so I assumed that they would be controlled independently. So the behavior is set(l, 'color', 'red') and both the linestyle and markercolor are changed? JDH
> Now on to the bug. There seems to be a problem in the new colorbar > with the extend keyword in matplotlib version 0.87.3. > > The colors/labels on the colorbar are screwed up if I do contourf > plots of arrays in which all of the values are below the minimum > contour or above the maximum contour. As someone pointed out to me, this bug is squashed in the subversion. Sorry for clogging up your inboxes.
John, Thanks for the answer. My prime mistake was to assume that matlab behavior is mimicked in matplotlib. (I am not saying it should be!). matlab has a Line object and this includes the markers. So, what I called "bugs" was based on a false expectation. The matlab version of the code will produce lines and symbols of the same color. I will spend more time with the matplotlib manual and learn the differences with matlab, and make progress that way. Thanks again, -Tony >PLT.hold(False) >PLT.plot(x,y,'+',color='k',linestyle='--') > > Tony> ***Symbol is blue (wrong), line is dashed and black (right) > >A single line object can have a linestyle and a marker and their >colors are independent. The "color" kwarg applies to the linestyle. >The markerfacecolor and markeredgecolor kwargs control the marker >color. > -- Tony Mannucci Supervisor, Ionospheric and Atmospheric Remote Sensing Group Mail-Stop 138-308, Tel > (818) 354-1699 Jet Propulsion Laboratory, Fax > (818) 393-5115 California Institute of Technology, Email > Ton...@jp... 4800 Oak Grove Drive, http://genesis.jpl.nasa.gov Pasadena, CA 91109
<insert praise>I first want to thank you for the awesome plotting package. I used it to generate some figures for a recent publication in Geophysical Research Letters.</insert praise> Now on to the bug. There seems to be a problem in the new colorbar with the extend keyword in matplotlib version 0.87.3. The colors/labels on the colorbar are screwed up if I do contourf plots of arrays in which all of the values are below the minimum contour or above the maximum contour. I've illustrated the problem using the simple script below. (scroll farther down to see the png attachment) * Left plot has array values within the minimum and maximum contours and the colorbar is okay. * Middle plot has array values lower than the smallest contour. The uppermost color in the colorbar is incorrect (it should be black, not green). * Right plot has array values higher than the largest contour. The lower color in the colorbar is incorrect and the labels are in the wrong positions. #--------begin script--------# from pylab import * palette = cm.jet palette.set_over('black', 1.0) palette.set_under('white', 1.0) x = y = arange(-3.0, 3.0, 0.5) X, Y = meshgrid(x, y) Z = X + Y conts = [-4,-3,-2,-1,0,1,2,3] fig = figure(figsize=(12,4)) subplot(131) plt = contourf(X, Y, Z, conts, cmap=palette, extend='both') colorbar(plt, extend='both', shrink=0.8) subplot(132) plt = contourf(X, Y, Z-10, conts, cmap=palette, extend='both') colorbar(plt, extend='both', shrink=0.8) subplot(133) plt = contourf(X, Y, Z+10, conts, cmap=palette, extend='both') colorbar(plt, extend='both', shrink=0.8) show() #---------end script---------#
On 2006年6月28日, James Carroll apparently wrote:=20 > My final distribution is 47MB in 840 files. Does anyone=20 > have an example that does even better?=20 I think PyInstaller is supposed to help with this problem: http://pyinstaller.hpcf.upr.edu/ But I have not used it. Cheers, Alan Isaac
On 6/28/06, G=E9za Groma <gr...@nu...> wrote: > Using Matplotlib 0.87.3 (wxAgg backend), NumPy 0.9.8, SciPy 0.4.9, > wxPython unicode.2.6.3.2, python 2.4.3 the following setup.py worked > well with py2exe 0.6.5 on Widows XP: > I followed your example, and had some luck. Thanks. My final distribution is 47MB in 840 files. Does anyone have an example th= at does even better? Last October, I used numarray + matplotlib in an almost identical project, and managed to bundle it into 11MB and four files. But I can't remember exactly the combination that I used. If I try to use a zip file (comment out the skip_archive) to reduce size and filecount, I get the error: File "matplotlib\backends\backend_wxagg.pyc", line 21, in ? File "matplotlib\figure.pyc", line 5, in ? File "matplotlib\artist.pyc", line 4, in ? File "matplotlib\transforms.pyc", line 215, in ? File "matplotlib\_transforms.pyc", line 1, in ? File "matplotlib\numerix\__init__.pyc", line 52, in ? File "numarray\__init__.pyc", line 42, in ? File "numarray\numarrayall.pyc", line 2, in ? File "numarray\generic.pyc", line 1120, in ? File "numarray\numarraycore.pyc", line 16, in ? File "numarray\_sort.pyc", line 12, in ? File "numarray\_sort.pyc", line 10, in __load File "numpy\__init__.pyc", line 35, in ? File "numpy\_import_tools.pyc", line 173, in __call__ File "numpy\_import_tools.pyc", line 68, in _init_info_modules File "<string>", line 1, in ? File "numpy\random\__init__.pyc", line 3, in ? File "numpy\random\mtrand.pyc", line 12, in ? File "numpy\random\mtrand.pyc", line 10, in __load File "numpy.pxi", line 32, in mtrand AttributeError: 'module' object has no attribute 'dtype' and even in the working example where I do skip_archive, I get the warnings= : The following modules appear to be missing ['FFT', 'LinearAlgebra', 'MA', 'MLab', 'Matrix', 'Numeric', 'Pyrex', 'Pyrex= .Comp iler', 'RandomArray', 'backends.draw_if_interactive', 'backends.new_figure_= manag er', 'backends.pylab_setup', 'backends.show', 'cephes', 'fcompiler.FCompile= r', ' fcompiler.show_fcompilers', 'genapi', 'lib.add_newdoc', 'numerix.ArrayType'= , 'nu merix.Complex', 'numerix.Complex32', 'numerix.Complex64', 'numerix.Float', = 'nume rix.Float32', 'numerix.Float64', 'numerix.Int', 'numerix.Int16', 'numerix.I= nt32' , 'numerix.Int8', 'numerix.NewAxis', 'numerix.UInt16', 'numerix.UInt32', 'n= umeri x.UInt8', 'numerix.absolute', 'numerix.add', 'numerix.allclose', 'numerix.a= lltru e', 'numerix.arange', 'numerix.arccos', 'numerix.arccosh', 'numerix.arcsin'= , 'nu merix.arcsinh', 'numerix.arctan', 'numerix.arctan2', 'numerix.arctanh', 'nu= merix .argmax', 'numerix.argmin', 'numerix.argsort', 'numerix.around', 'numerix.a= rray' , 'numerix.arrayrange', 'numerix.asarray', 'numerix.asum', 'numerix.bitwise= _and' , 'numerix.bitwise_or', 'numerix.bitwise_xor', 'numerix.ceil', 'numerix.cho= ose', 'numerix.clip', 'numerix.compress', 'numerix.concatenate', 'numerix.conjug= ate', 'numerix.convolve', 'numerix.cos', 'numerix.cosh', 'numerix.cross_correlat= e', ' numerix.cumproduct', 'numerix.cumsum', 'numerix.diagonal', 'numerix.divide'= , 'nu merix.dot', 'numerix.equal', 'numerix.exp', 'numerix.fabs', 'numerix.fft.ff= t', ' numerix.fft.inverse_fft', 'numerix.floor', 'numerix.fmod', 'numerix.fromfun= ction ', 'numerix.fromstring', 'numerix.greater', 'numerix.greater_equal', 'numer= ix.hy pot', 'numerix.identity', 'numerix.indices', 'numerix.innerproduct', 'numer= ix.is contiguous', 'numerix.less', 'numerix.less_equal', 'numerix.log', 'numerix.= log10 ', 'numerix.logical_and', 'numerix.logical_not', 'numerix.logical_or', 'num= erix. logical_xor', 'numerix.matrixmultiply', 'numerix.maximum', 'numerix.minimum= ', 'n umerix.mlab.amax', 'numerix.mlab.amin', 'numerix.mlab.cov', 'numerix.mlab.d= iff', 'numerix.mlab.hanning', 'numerix.mlab.rand', 'numerix.mlab.std', 'numerix.= mlab. svd', 'numerix.multiply', 'numerix.negative', 'numerix.nonzero', 'numerix.n= ot_eq ual', 'numerix.nx', 'numerix.ones', 'numerix.outerproduct', 'numerix.pi', '= numer ix.power', 'numerix.product', 'numerix.put', 'numerix.putmask', 'numerix.ra= nk', 'numerix.ravel', 'numerix.repeat', 'numerix.reshape', 'numerix.resize', 'nu= merix .searchsorted', 'numerix.shape', 'numerix.sin', 'numerix.sinh', 'numerix.si= ze', 'numerix.sometrue', 'numerix.sort', 'numerix.sqrt', 'numerix.subtract', 'nu= merix .swapaxes', 'numerix.take', 'numerix.tan', 'numerix.tanh', 'numerix.trace',= 'num erix.transpose', 'numerix.typecode', 'numerix.typecodes', 'numerix.where', = 'nume rix.which', 'numerix.zeros', 'numpy.Complex', 'numpy.Complex32', 'numpy.Com= plex6 4', 'numpy.Float', 'numpy.Float32', 'numpy.Float64', 'numpy.Inf', 'numpy.In= finit y', 'numpy.Int', 'numpy.Int16', 'numpy.Int32', 'numpy.Int8', 'numpy.UInt16'= , 'nu mpy.UInt32', 'numpy.UInt8', 'numpy.absolute', 'numpy.add', 'numpy.amax', 'n= umpy. amin', 'numpy.arange', 'numpy.array', 'numpy.asarray', 'numpy.asarray_chkfi= nite' , 'numpy.cast', 'numpy.concatenate', 'numpy.conjugate', 'numpy.diag', 'nump= y.dot ', 'numpy.exp', 'numpy.extract', 'numpy.eye', 'numpy.finfo', 'numpy.float_'= , 'nu mpy.floor', 'numpy.greater_equal', 'numpy.hstack', 'numpy.identity', 'numpy= .imag ', 'numpy.inf', 'numpy.infty', 'numpy.insert', 'numpy.iscomplexobj', 'numpy= .isfi nite', 'numpy.log', 'numpy.log2', 'numpy.logical_not', 'numpy.matrix', 'num= py.mg rid', 'numpy.newaxis', 'numpy.ogrid', 'numpy.ones', 'numpy.outerproduct', '= numpy .pi', 'numpy.poly1d', 'numpy.product', 'numpy.r_', 'numpy.ravel', 'numpy.re= al', 'numpy.reshape', 'numpy.sign', 'numpy.single', 'numpy.sqrt', 'numpy.subtrac= t', ' numpy.sum', 'numpy.take', 'numpy.transpose', 'numpy.typecodes', 'numpy.type= name' , 'numpy.where', 'numpy.zeros', 'numpy_distutils', 'numpy_distutils.command= .buil d_flib', 'numpy_distutils.command.cpuinfo', 'numpy_distutils.cpuinfo', 'num= py_di stutils.fcompiler', 'pkg_resources', 'pre', 'setuptools', 'setuptools.comma= nd', 'setuptools.command.egg_info', 'matplotlib.numerix.Float', 'matplotlib.nume= rix.F loat32', 'matplotlib.numerix.absolute', 'matplotlib.numerix.alltrue', 'matp= lotli b.numerix.asarray', 'matplotlib.numerix.ceil', 'matplotlib.numerix.equal', = 'matp lotlib.numerix.fromstring', 'matplotlib.numerix.put', 'matplotlib.numerix.r= avel' , 'matplotlib.numerix.sqrt', 'matplotlib.numerix.take', 'matplotlib.numerix= .tran spose', 'matplotlib.numerix.where', 'numarray.Complex', 'numarray.Complex32= ', 'n etc... Help me please! Thanks, -Jim
Using Matplotlib 0.87.3 (wxAgg backend), NumPy 0.9.8, SciPy 0.4.9, wxPython unicode.2.6.3.2, python 2.4.3 the following setup.py worked well with py2exe 0.6.5 on Widows XP: #-------------------------------------------------------------- from distutils.core import setup import py2exe import glob data =3D glob.glob(r'C:Documents and Settings\Apa\.matplotlib\*') data.append(r'C:\Documents and Settings\Apa\.matplotlib\matplotlibrc') includes =3D ['matplotlib.numerix.random_array', 'pytz.zoneinfo.UTC', 'scipy.misc.info'] excludes =3D ['Tkinter'] opts =3D { "py2exe": { 'skip_archive': 1, 'includes': includes, 'excludes': excludes, 'packages': ['numpy'], } } setup( windows =3D [ { "script": 'Wynne.py', "icon_resources": [(1, 'THz.ico')] } ], data_files =3D [('matplotlibdata', data)], options =3D opts ) #-------------------------------------------------------------- Regards, G=E9za --=20 G=E9za Groma Institute of Biophysics Biological Research Center of the Hungarian Academy of Sciences Temesv=E1ri krt. 62. 6701 Szeged, Hungary phone: +36 62 599 620 fax: +36 62 433 133 cellular: +36 20 5648 303 On 6/28/06, James Carroll <mr...@gm...> wrote: > Hi I read on the py2exe wiki that the 0.83 line creates huge > distributions because of trouble excluding backends that are not > wanted. > ( http://starship.python.net/crew/theller/moin.cgi/MatPlotLib ) > > I do need to have a small distribution on windows. Which version of > matplotlib was the last to play nicely with py2exe? > > Has anyone had any luck with 0.83.3 and excluding tk and gtk backends? > (I'm using wx) > > I'm also getting a strange dependancy on the unicode version of > wxPython, when I'm using the non-unicode version, and that's adding > another 5MB onto my distro. > > Thanks, > -Jim > > 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 ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
http://matplotlib.sourceforge.net/installing.html "matplotlib requires at a minimum python 2.2+, Numeric or numarray and freetype." Should mention numpy... fwiw, Alan Isaac
Hi I read on the py2exe wiki that the 0.83 line creates huge distributions because of trouble excluding backends that are not wanted. ( http://starship.python.net/crew/theller/moin.cgi/MatPlotLib ) I do need to have a small distribution on windows. Which version of matplotlib was the last to play nicely with py2exe? Has anyone had any luck with 0.83.3 and excluding tk and gtk backends? (I'm using wx) I'm also getting a strange dependancy on the unicode version of wxPython, when I'm using the non-unicode version, and that's adding another 5MB onto my distro. Thanks, -Jim
Hi, I'm trying to compile 0.87.3 on a RedHat Enterprise Server 4, but I'm running into C++ compilation errors with one of the numpy headers. Here are versions of various requirements: gcc 3.4.3 python 2.4.2 numpy 0.9.8 pygtk 2.8.6 The errors I'm getting are something like: running build_ext building 'matplotlib._ns_transforms' extension gcc options: '-fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O3 -mtune=i686 -mcpu=i686 -march=i686 -O3 -mtune=i686 -m u=i686 -march=i686 -fPIC' compile options: '-Isrc -I. -I/opt/lib/python2.4/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/opt/inclu /python2.4 -c' extra options: '-DSCIPY=1' gcc: src/_ns_transforms.cpp cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from /opt/include/python2.4/Python.h:8, from ./CXX/Objects.hxx:9, from ./CXX/Extensions.hxx:19, from src/_transforms.h:12, from src/_ns_transforms.cpp:4: /opt/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/i386-redhat-linux/bits/os_defines.h:39, from /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/i386-redhat-linux/bits/c++config.h:35, from /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/functional:54, from src/_ns_transforms.cpp:1: /usr/include/features.h:150:1: warning: this is the location of the previous definition In file included from /opt/lib/python2.4/site-packages/numpy/core/include/numpy/arrayobject.h:1346, from src/_ns_transforms.cpp:15: /opt/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.h: In function `int import_array()': /opt/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.h:765: error: expected primary-expression before ')' token /opt/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.h:765: error: `NumPyuint' undeclared (first use this functi ) /opt/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.h:765: error: (Each undeclared identifier is reported only ce for each function it appears in.) /opt/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.h:765: error: expected primary-expression before "void" /opt/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.h:765: error: expected `)' before "PyArray_API" /opt/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.h:771: error: expected `)' before "return" ./CXX/Extensions.hxx: In constructor `Py::PythonExtension<T>::PythonExtension() [with T = LazyValue]': src/_transforms.h:57: instantiated from here ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect ./CXX/Extensions.hxx: In constructor `Py::PythonExtension<T>::PythonExtension() [with T = Func]': src/_transforms.h:378: instantiated from here ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect ./CXX/Extensions.hxx: In constructor `Py::PythonExtension<T>::PythonExtension() [with T = FuncXY]': src/_transforms.h:465: instantiated from here ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect ./CXX/Extensions.hxx: In constructor `Py::PythonExtension<T>::PythonExtension() [with T = Transformation]': src/_transforms.h:537: instantiated from here ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect ./CXX/Extensions.hxx: In constructor `Py::PythonExtension<T>::PythonExtension() [with T = Point]': src/_ns_transforms.cpp:128: instantiated from here ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect ./CXX/Extensions.hxx: In constructor `Py::PythonExtension<T>::PythonExtension() [with T = Interval]': src/_ns_transforms.cpp:143: instantiated from here ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect ./CXX/Extensions.hxx: In constructor `Py::PythonExtension<T>::PythonExtension() [with T = Bbox]': src/_ns_transforms.cpp:192: instantiated from here ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect I'm stumped as to what to try next. Any advice? Thanks, --Dave
Hi list, Platform: Windows XP upgrading from matplotlib 0.83.1 to 0.87.3 On my PC the vline_demo.py from the examples doesn't work anymore after upgrading from 0.83.1 to 0.87.3. I use vlines in my application where I get the same type of error. It worked just fine with 0.83.1. Traceback (most recent call last): File "C:\Python24\Lib\site-packages\matplotlib\examples\vline_demo.py", line 17, in ? vlines(t, [0], s, color='k') File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 2242, in vlines ret = gca().vlines(*args, **kwargs) File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 1987, in vlines color=color, linestyle=linestyle, marker=marker, TypeError: Line2D constructor got multiple values for keyword argument 'color' Any ideas? Thanks for your help in advance! cheers Oliver --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
Hi list, Platform: Windows XP upgrading from matplotlib 0.83.1 to 0.87.3 On my PC the vline_demo.py from the examples doesn't work anymore after upgrading from 0.83.1 to 0.87.3. I use vlines in my application where I get the same type of error. It worked just fine with 0.83.1. Traceback (most recent call last): File "C:\Python24\Lib\site-packages\matplotlib\examples\vline_demo.py", line 17, in ? vlines(t, [0], s, color='k') File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 2242, in vlines ret = gca().vlines(*args, **kwargs) File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 1987, in vlines color=color, linestyle=linestyle, marker=marker, TypeError: Line2D constructor got multiple values for keyword argument 'color' Any ideas? Thanks for your help in advance! cheers Oliver --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
John Hunter <jdh...@ni...> writes: > What appears to be happening is that mpl is finding and using a > native os x font rather than the Vera fonts that mpl ships with. Maybe it would be worth shipping the DejaVu fonts for its more characters rather than Bitstream Vera: "The DejaVu fonts are a font family based on the Bitstream Vera Fonts release 1.10. Its purpose is to provide a wider range of characters (see Current status page for more information) while maintaining the original look and feel [...]" http://dejavu.sourceforge.net/wiki/index.php/Main_Page There are also experimental condensed versions. I'd guess however that files will become even bigger unless font subsetting is available. Cheers, Colin
BTW, I have to use TeX with mpl otherwise it does not work. rc('text', usetex=3DTrue) Benoit Benoit Donnet a =E9crit : > Hello John >=20 >> I am 99% sure this is a font problem. matplotlib embeds the truetype >=20 > Nice intuition. I didn't think about any font problem. I was=20 > expecting some configuration problem >=20 >> font.serif : New Century Schoolbook, Century Schoolbook L, = Utopia, ITC Bookman, Bookman, Bitstream Vera Serif, Nimbus Roman No9 L, T= imes New Roman, Times, Palatino, Charter, serif >> font.sans-serif : Lucida Grande, Verdana, Geneva, Lucida, Bitstr= eam Vera Sans, Arial, Helvetica, Avant Garde, sans-serif >> font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, = cursive >> font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact, West= ern, fantasy >> font.monospace : Andale Mono, Bitstream Vera Sans Mono, Nimbus = Mono L, Courier New, Courier, Fixed, Terminal, monospace >> >> by moving the bitstream fonts to the front. >=20 > I moved the bitstream fonts to the front. >=20 >> I'm inclined to make the bitstream fonts the default (the first item >> in the default rc list) so that others won't be bitten by this until >> we solve the "dump the entire font" problem. Any objections? >> >> Benoit, please let us know if this fixes your problem. =20 >=20 > It is working now. >=20 > Eps files are correctly generated and the resulting files have 'normal'= =20 > sizes (below 100K). >=20 > Thank you very much for the help! I really appreciate. >=20 > Benoit >=20 > After changing >> the rc file, please recursively remove ~/.matplotlib/ttffont.cache >> before rerunning. Also, if you run your script with --verbose-debug >> you will get information about which fonts are loaded. >> >> JDH=20 >> >> >=20 --=20 Benoit Donnet Universit=E9 Pierre & Marie Curie (Paris VI) Laboratoire LIP6 - R=E9seaux & Performances 8, rue du Capitaine Scott 75015 Paris France Phone: 00 33 (0)1 44 27 88 83 traceroute@home Project: http://trhome.sourceforge.net Home Page: http://rp.lip6.fr/~donnet
Hello John > I am 99% sure this is a font problem. matplotlib embeds the truetype Nice intuition. I didn't think about any font problem. I was=20 expecting some configuration problem > font.serif : New Century Schoolbook, Century Schoolbook L, U= topia, ITC Bookman, Bookman, Bitstream Vera Serif, Nimbus Roman No9 L, Ti= mes New Roman, Times, Palatino, Charter, serif > font.sans-serif : Lucida Grande, Verdana, Geneva, Lucida, Bitstre= am Vera Sans, Arial, Helvetica, Avant Garde, sans-serif > font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, c= ursive > font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact, Weste= rn, fantasy > font.monospace : Andale Mono, Bitstream Vera Sans Mono, Nimbus M= ono L, Courier New, Courier, Fixed, Terminal, monospace >=20 > by moving the bitstream fonts to the front. I moved the bitstream fonts to the front. > I'm inclined to make the bitstream fonts the default (the first item > in the default rc list) so that others won't be bitten by this until > we solve the "dump the entire font" problem. Any objections? >=20 > Benoit, please let us know if this fixes your problem. =20 It is working now. Eps files are correctly generated and the resulting files have 'normal'=20 sizes (below 100K). Thank you very much for the help! I really appreciate. Benoit After changing > the rc file, please recursively remove ~/.matplotlib/ttffont.cache > before rerunning. Also, if you run your script with --verbose-debug > you will get information about which fonts are loaded. >=20 > JDH=20 >=20 >=20 --=20 Benoit Donnet Universit=E9 Pierre & Marie Curie (Paris VI) Laboratoire LIP6 - R=E9seaux & Performances 8, rue du Capitaine Scott 75015 Paris France Phone: 00 33 (0)1 44 27 88 83 traceroute@home Project: http://trhome.sourceforge.net Home Page: http://rp.lip6.fr/~donnet
SGksCgpJIHdhcyByZWFkaW5nIHRob3VnaHQgdGhlIGRvY3MgYnV0IHdhcyB1bmFibGUgdG8gZmlu ZCBhIHdheSB0byBkbyB0aGUgZm9sbG93aW5nOgpXaGVuIEkgZ2VuZXJhdGUgYSBncmFwaCBhbmQg dGhlbiBzYXZlIGl0IHRvIGEgZmlsZSB2aWEgc2F2ZWZpZygpIGNhbGwKdGhlcmUgaXMgc29tZSB3 aGl0ZSBzcGFjZSBhcnJvdW5kIHRoZSBncmFwaC4gSG93IGRvIEkgcmVtb3ZlIGl0CgpFeGFtcGxl IGdyYXBoOiBodHRwOi8vc3ZuLnBldGFybWFyaWMuY29tL3BsYXlncm91bmQvdHJ1bmsvdGVzdC5w bmcKU2NyaXB0IHNvdXJjZTogaHR0cDovL3N2bi5wZXRhcm1hcmljLmNvbS9wbGF5Z3JvdW5kL3Ry dW5rL3dlYl9ncmFwaC92aWV3cy5weQoKSSBndWVzcyB0aGlzIGlzIHByb2JhYmx5IGEgcHJldHR5 IG5ld2JlIHF1ZXN0aW9uLCBidXQgSSdtIHJlYWxseSBub3QKaW50byBhbGwgb2YgdGhpcywgSSdt IGp1c3QgYSB1c2VyIHRyeWluZyB0byBtYWtlIHNvbWUgcHJldHR5IHBpY3R1cmVzCmZvciBhIHN0 dWRlbnQgcHJvamVjdCA6KQoKUmVnYXJkcywKLS0gClBldGFyIE1hcmnEhwoqZS1tYWlsOiBwZXRh ci5tYXJpY0BnbWFpbC5jb20KKm1vYmlsZTogKzM4MSAoNjQpIDYxMjI0NjcKCippY3E6IDIyNDcy MDMyMgoqc2t5cGU6IHBldGFyX21hcmljCip3ZWI6IGh0dHA6Ly93d3cucGV0YXJtYXJpYy5jb20v Cg==
Hi Danny, On Tuesday 27 June 2006 13:38, danny shevitz wrote: > TkAgg... GTKAgg. What difference does a letter make. > That helped. I couldn't remember the windows backend. > > I still have a problem, but now it's the same if I import either > matplotlib or pylab: > > ------------------------------------------------------------------------ > Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] > on win32 > Type "help", "copyright", "credits" or "license" for more information. > > >>> import pylab > > D:\ENTHOU~1\lib\site-packages\matplotlib\__init__.py:947: UserWarning: > Bad val " > free" on line #200 > "image.aspect : free # free | preserve" > in file "e:\home\.matplotlib\matplotlibrc" > not a valid aspect specification > warnings.warn('Bad val "%s" on line #%d\n\t"%s"\n\tin file > "%s"\n\t%s' % ( > > ------------------------------------------------------------------------ There have been some changes to the matplotlibrc file, just remove "image.aspect : free # free | preserve" from your file to prevent the message.
Thanks John and Darren. I think i'll use the nan trick for now but the masked array looks incredibly powerful. I'll take a look at the masked array demo. Thanks once again for your help and some really awesome plotting software! --Tom On 6/27/06, Darren Dale <dd...@co...> wrote: > On Tuesday 27 June 2006 14:16, Tom Denniston wrote: > > When you do a line scatter plot in excel and data is missing between > > two observations excel doesn't connect those two observations with a > > line. So what you see is a line with gaps where the data is missing. > > Missing data is > > defined as having x values but no y value or vice versa. Is there a > > good way to get similar behavior in matplotlib? > > If you are using 0.87.3, you can do this: > > plot([1.1, 2, nan, 3, 5]) > > > 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-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
>>>>> "danny" == danny shevitz <dan...@ya...> writes: danny> TkAgg... GTKAgg. What difference does a letter make. That danny> helped. I couldn't remember the windows backend. danny> I still have a problem, but now it's the same if I import danny> either matplotlib or pylab: Your rc file is out of date, in this case the parameters for handling image aspect ratio are different. Try updating your rc file from the recent defaults ### MATPLOTLIBRC FORMAT # This is a sample matplotlib configuration file. It should be placed # in HOME/.matplotlib/matplotlibrc (unix/linux like systems) and # C:\Documents and Settings\yourname\.matplotlib (win32 systems) # # By default, the installer will overwrite the existing file in the # install path, so if you want to preserve your's, please move it to # your HOME dir and set the environment variable if necessary. # # This file is best viewed in a editor which supports python mode # syntax highlighting # # Blank lines, or lines starting with a comment symbol, are ignored, # as are trailing comments. Other lines must have the format # # key : val # optional comment # # Colors: for the color values below, you can either use # - a matplotlib color string, such as r, k, or b # - an rgb tuple, such as (1.0, 0.5, 0.0) # - a hex string, such as ff00ff (no '#' symbol) # - a scalar grayscale intensity such as 0.75 # - a legal html color name, eg red, blue, darkslategray #### CONFIGURATION BEGINS HERE # the default backend; one of GTK GTKAgg GTKCairo FltkAgg QtAgg TkAgg # Agg Cairo GD GDK Paint PS PDF SVG Template backend : GTKAgg numerix : numpy # numpy, Numeric or numarray interactive : False # see http://matplotlib.sourceforge.net/interactive.html toolbar : toolbar2 # None | classic | toolbar2 timezone : UTC # a pytz timezone string, eg US/Central or Europe/Paris # Where your matplotlib data lives if you installed to a non-default # location. This is where the matplotlib fonts, bitmaps, etc reside #datapath : /home/jdhunter/mpldata ### LINES # See http://matplotlib.sourceforge.net/matplotlib.lines.html for more # information on line properties. lines.linewidth : 1.0 # line width in points lines.linestyle : - # solid line lines.color : blue lines.marker : None # the default marker lines.markerfacecolor : blue lines.markeredgecolor : black lines.markeredgewidth : 0.5 # the line width around the marker symbol lines.markersize : 6 # markersize, in points lines.dash_joinstyle : miter # miter|round|bevel lines.dash_capstyle : butt # butt|round|projecting lines.solid_joinstyle : miter # miter|round|bevel lines.solid_capstyle : projecting # butt|round|projecting lines.antialiased : True # render lines in antialised (no jaggies) ### PATCHES # Patches are graphical objects that fill 2D space, like polygons or # circles. See # http://matplotlib.sourceforge.net/matplotlib.patches.html for more # information on patch properties patch.linewidth : 1.0 # edge width in points patch.facecolor : blue patch.edgecolor : black patch.antialiased : True # render patches in antialised (no jaggies) ### FONT # # font properties used by text.Text. See # http://matplotlib.sourceforge.net/matplotlib.font_manager.html for more # information on font properties. The 6 font properties used for font # matching are given below with their default values. # # The font.family property has five values: 'serif' (e.g. Times), # 'sans-serif' (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery), # 'fantasy' (e.g. Western), and 'monospace' (e.g. Courier). Each of # these font families has a default list of font names in decreasing # order of priority associated with them. # # The font.style property has three values: normal (or roman), italic # or oblique. The oblique style will be used for italic, if it is not # present. # # The font.variant property has two values: normal or small-caps. For # TrueType fonts, which are scalable fonts, small-caps is equivalent # to using a font size of 'smaller', or about 83% of the current font # size. # # The font.weight property has effectively 13 values: normal, bold, # bolder, lighter, 100, 200, 300, ..., 900. Normal is the same as # 400, and bold is 700. bolder and lighter are relative values with # respect to the current weight. # # The font.stretch property has 11 values: ultra-condensed, # extra-condensed, condensed, semi-condensed, normal, semi-expanded, # expanded, extra-expanded, ultra-expanded, wider, and narrower. This # property is not currently implemented. # # The font.size property is the default font size for text, given in pts. # 12pt is the standard value. # font.family : sans-serif font.style : normal font.variant : normal font.weight : medium font.stretch : normal # note that font.size controls default text sizes. To configure # special text sizes tick labels, axes, labels, title, etc, see the rc # settings for axes and ticks. Special text sizes can be defined # relative to font.size, using the following values: xx-small, x-small, # small, medium, large, x-large, xx-large, larger, or smaller font.size : 12.0 font.serif : New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Bitstream Vera Serif, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif font.sans-serif : Lucida Grande, Verdana, Geneva, Lucida, Bitstream Vera Sans, Arial, Helvetica, Avant Garde, sans-serif font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand, cursive font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact, Western, fantasy font.monospace : Andale Mono, Bitstream Vera Sans Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace ### TEXT # text properties used by text.Text. See # http://matplotlib.sourceforge.net/matplotlib.text.html for more # information on text properties text.color : black text.usetex : False # use latex for all text handling. For more information, see # http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex text.dvipnghack : False # some versions of dvipng don't handle # alpha channel properly. Use True to correct and flush # ~/.matplotlib/tex.cache before testing ### AXES # default face and edge color, default tick sizes, # default fontsizes for ticklabels, and so on. See # http://matplotlib.sourceforge.net/matplotlib.axes.html#Axes axes.hold : True # whether to clear the axes by default on axes.facecolor : white # axes background color axes.edgecolor : black # axes edge color axes.linewidth : 1.0 # edge linewidth axes.grid : False # display grid or not axes.titlesize : 14 # fontsize of the axes title axes.labelsize : 12 # fontsize of the x any y labels axes.labelcolor : black axes.axisbelow : False # whether axis gridlines and ticks are below # the axes elements (lines, text, etc) polaraxes.grid : True # display grid on polar axes ### TICKS # see http://matplotlib.sourceforge.net/matplotlib.axis.html#Ticks xtick.major.size : 4 # major tick size in points xtick.minor.size : 2 # minor tick size in points xtick.major.pad : 4 # distance to major tick label in points xtick.minor.pad : 4 # distance to the minor tick label in points xtick.color : k # color of the tick labels xtick.labelsize : 12 # fontsize of the tick labels xtick.direction : in # direction: in or out ytick.major.size : 4 # major tick size in points ytick.minor.size : 2 # minor tick size 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 ytick.color : k # color of the tick labels ytick.labelsize : 12 # fontsize of the tick labels ytick.direction : in # direction: in or out ### GRIDS grid.color : black # grid color grid.linestyle : : # dotted grid.linewidth : 0.5 # in points ### Legend legend.isaxes : True legend.numpoints : 4 # the number of points in the legend line legend.fontsize : 14 legend.pad : 0.2 # the fractional whitespace inside the legend border legend.markerscale : 1.0 # the relative size of legend markers vs. original # the following dimensions are in axes coords legend.labelsep : 0.010 # the vertical space between the legend entries legend.handlelen : 0.05 # the length of the legend lines legend.handletextsep : 0.02 # the space between the legend line and legend text legend.axespad : 0.02 # the border between the axes and legend edge legend.shadow : False ### FIGURE # See http://matplotlib.sourceforge.net/matplotlib.figure.html#Figure figure.figsize : 8, 6 # figure size in inches figure.dpi : 80 # figure dots per inch figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray figure.edgecolor : white # figure edgecolor # The figure subplot parameters. All dimensions are fraction of the # figure width or height figure.subplot.left : 0.125 # the left side of the subplots of the figure figure.subplot.right : 0.9 # the right side of the subplots of the figure figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure figure.subplot.top : 0.9 # the top of the subplots of the figure figure.subplot.wspace : 0.2 # the amount of width reserved for blank space between subplots figure.subplot.hspace : 0.2 # the amount of height reserved for white space between subplots ### IMAGES image.aspect : equal # equal | auto | a number image.interpolation : bilinear # see help(imshow) for options image.cmap : jet # gray | jet etc... image.lut : 256 # the size of the colormap lookup table image.origin : upper # lower | upper ### CONTOUR PLOTS contour.negative_linestyle : 6.0, 6.0 # negative contour dashstyle (size in points) ### SAVING FIGURES # the default savefig params can be different for the GUI backends. # Eg, you may want a higher resolution, or to make the figure # background white savefig.dpi : 100 # figure dots per inch savefig.facecolor : white # figure facecolor when saving savefig.edgecolor : white # figure edgecolor when saving # tk backend params tk.window_focus : False # Maintain shell focus for TkAgg tk.pythoninspect : False # tk sets PYTHONINSEPCT # ps backend params ps.papersize : letter # auto, letter, legal, ledger, A0-A10, B0-B10 ps.useafm : False # use of afm fonts, results in small files ps.usedistiller : False # can be: None, ghostscript or xpdf # Experimental: may produce smaller files. # xpdf intended for production of publication quality files, # but requires ghostscript, xpdf and ps2eps ps.distiller.res : 6000 # dpi # pdf backend params pdf.compression : 6 # integer from 0 to 9 # 0 disables compression (good for debugging) # Set the verbose flags. This controls how much information # matplotlib gives you at runtime and where it goes. Ther verbosity # levels are: silent, helpful, debug, debug-annoying. Any level is # inclusive of all the levels below it. If you setting is debug, # you'll get all the debug and helpful messages. When submitting # problems to the mailing-list, please set verbose to helpful or debug # and paste the output into your report. # # The fileo gives the destination for any calls to verbose.report. # These objects can a filename, or a filehandle like sys.stdout. # # You can override the rc default verbosity from the command line by # giving the flags --verbose-LEVEL where LEVEL is one of the legal # levels, eg --verbose-helpful. # # You can access the verbose instance in your code # from matplotlib import verbose. verbose.level : silent # one of silent, helpful, debug, debug-annoying verbose.fileo : sys.stdout # a log filename, sys.stdout or sys.stderr
On Tuesday 27 June 2006 14:16, Tom Denniston wrote: > When you do a line scatter plot in excel and data is missing between > two observations excel doesn't connect those two observations with a > line. So what you see is a line with gaps where the data is missing. > Missing data is > defined as having x values but no y value or vice versa. Is there a > good way to get similar behavior in matplotlib? If you are using 0.87.3, you can do this: plot([1.1, 2, nan, 3, 5])
>>>>> "danny" == danny shevitz <dan...@ya...> writes: danny> thanks for all the help, it's working now. That wasn't even danny> too bad. FWIW, I did download the latest .matplotlibrc danny> file off the web at : danny> http://matplotlib.sourceforge.net/matplotlibrc danny> It is currently out of date as it contains: ### IMAGES danny> image.aspect : free # free | preserve Hey Danny, Thanks for the tip -- I updated the web page JDH
> Charlie -- I thought we were setting the default backend to TkAgg for > win32 installs. and I thought that was settled by being hard coded into setup.py # line 287 if sys.platform=='win32': rc = dict(backend='TkAgg', numerix='Numeric') Danny, can you try deleting your .matplotlib folder and trying again? - Charlie
>>>>> "Tom" == Tom Denniston <tom...@al...> writes: Tom> When you do a line scatter plot in excel and data is missing Tom> between two observations excel doesn't connect those two Tom> observations with a line. So what you see is a line with Tom> gaps where the data is missing. Missing data is defined as Tom> having x values but no y value or vice versa. Is there a Tom> good way to get similar behavior in matplotlib? This from examples/masked_demo.py #!/bin/env python ''' Plot lines with points masked out. This would typically be used with gappy data, to break the line at the data gaps. ''' import matplotlib.numerix.ma as M from pylab import * x = M.arange(0, 2*pi, 0.02) y = M.sin(x) y1 = sin(2*x) y2 = sin(3*x) ym1 = M.masked_where(y1 > 0.5, y1) ym2 = M.masked_where(y2 < -0.5, y2) lines = plot(x, y, 'r', x, ym1, 'g', x, ym2, 'bo') setp(lines[0], linewidth = 4) setp(lines[1], linewidth = 2) setp(lines[2], markersize = 10) legend( ('No mask', 'Masked if > 0.5', 'Masked if < -0.5') , loc = 'upper right') title('Masked line demo') savefig('test.svg') #savefig('test.ps') show()
thanks for all the help, it's working now. That wasn't even too bad. FWIW, I did download the latest .matplotlibrc file off the web at : http://matplotlib.sourceforge.net/matplotlibrc It is currently out of date as it contains: ### IMAGES image.aspect : free # free | preserve thanks, Danny __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
When you do a line scatter plot in excel and data is missing between two observations excel doesn't connect those two observations with a line. So what you see is a line with gaps where the data is missing. Missing data is defined as having x values but no y value or vice versa. Is there a good way to get similar behavior in matplotlib? I tried to attach a bmp that had an example but the mail server rejected it on the grounds it was too large. --Tom