SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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)

Showing 10 results of 10

From: James C. <mr...@gm...> - 2006年06月28日 23:34:41
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
From: <gr...@nu...> - 2006年06月28日 19:37:42
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
>
From: Alan I. <ai...@am...> - 2006年06月28日 19:09:16
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
From: James C. <mr...@gm...> - 2006年06月28日 18:38:00
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
From: David C. <dav...@gm...> - 2006年06月28日 17:48:39
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
From: Oliver T. <oli...@ya...> - 2006年06月28日 13:31:37
 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. 
From: Oliver T. <oli...@ya...> - 2006年06月28日 13:31:29
 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.
From: Marquardt, C. <col...@zm...> - 2006年06月28日 09:25:42
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
From: Benoit D. <ben...@li...> - 2006年06月28日 07:04:43
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
From: Benoit D. <ben...@li...> - 2006年06月28日 06:16:35
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
1 message has been excluded from this view by a project administrator.

Showing 10 results of 10

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /