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
(22)
2
(17)
3
(21)
4
(7)
5
(7)
6
(17)
7
(8)
8
(8)
9
(33)
10
(11)
11
12
(2)
13
(11)
14
(29)
15
(13)
16
(13)
17
(3)
18
(2)
19
(3)
20
(7)
21
(17)
22
(12)
23
(19)
24
(19)
25
(14)
26
(5)
27
(25)
28
(13)




Showing 5 results of 5

From: Paul B. <peb...@gm...> - 2006年02月26日 20:00:23
On 2/25/06, Samuel M. Smith <sm...@sa...> wrote:
>
> There are several fonts installed by matplotlib into the mpl_data
> folder. The names or
> sort of cryptic. I tried matching them up with the family names in
> the matplotlibrc file list for
> font.serif
> font.sans-serif
>
> but the only one that makes sense is Bitstream Vera
> What is the family name for cmt, cms cmex and also the pXXX.afm fonts?
>
These are the default fonts used by TeX and are usually needed for
displaying math symbols.
 -- Paul
From: Alan G I. <ai...@am...> - 2006年02月26日 15:41:41
On 2006年2月22日, Charlie Moad apparently wrote: 
> Notable notes: 
> - Built against numpy-0.9.5 
> - A wealth of bugfixes 
> http://sourceforge.net/project/showfiles.php?group_id=80706 
I'm on Win32 with Python 2.4.
For this I see both an egg and an installer.
The installer is being downloaded 15 times as often.
What are the considerations?
I thought the egg was the simpler choice:
can't it just be put on site-packages and that's that?
But I'm not very familiar with eggs.
Is the issue that one may wish to modify the source,
and the egg doesn't give direct access to that?
Thank you,
Alan Isaac
PS Is it true that with eggs you can have multiple versions 
side by side and use them at will?
From: Darren D. <dd...@co...> - 2006年02月26日 14:54:17
On Sunday 26 February 2006 6:37 am, Steve Schmerler wrote:
> Hi
>
> With 0.87 and 0.86.2 mpl randomly crashes when executing this script:
>
> ---------------------------
> from pylab import *
> from matplotlib import verbose
>
> verbose.level = 'debug-annoying'
> ##verbose.level = 'debug'
>
> rcParams['text.usetex'] = True
> plot([1,2,3])
>
> savefig("image.eps")
> ---------------------------
>
> The crash is triggered when savefig() is called and only if
> rcParams['text.usetex'] = True. The error message is
>
> (test.py:7258): Pango-WARNING **: Invalid UTF-8 string passed to
> pango_layout_set_text()
>
> I tried to track it down but the crash seems to occur in *different*
> code segments (calling "python test.py" several times it crashed
> sometimes after a call to dvips, sometimes dvipng, gs, ...). Sometimes
> it even *doesn't* crash at all.
>
> I have the following pango-stuff installed (Debian):
>
> elcorto@ramrod:~$ COLUMNS=200 dpkg -l | grep pango
> ii libpango1.0-0 1.8.1-1
>
> ii libpango1.0-common 1.8.1-1
>
> ii libpango1.0-dbg 1.8.1-1
>
> ii libpango1.0-dev 1.8.1-1
I can't reproduce your result with pango 1.10.3 installed on a gentoo system 
with python-2.4.2. Does the script crash if you set verbose.level=silent? It 
looks like one of the stdout or stderr messages from dvips/gs/dvipng is 
returning unicode, in which case you could try to convert them to strings 
before passing them to verbose.report. Just a guess.
From: Steve C. <ste...@ya...> - 2006年02月26日 12:12:34
On Fri, 2006年02月24日 at 14:15 -0800, John Hunter wrote:
> This is a bug and I fixed it in CVS (Steve take a look and see
> if you
> agree with the show._mainloop approach) but basically you
> don't want
> to use matplotlib this way.
I don't think show._mainloop is needed - it records the GTK+ state, but
GTK+ already does that itself and provides gtk.main_level() which
returns how many nestings of the mainloop we have running. To fix the
reported error we just need to check the main loop is actually running
before we call gtk.main_quit().
Fixed in CVS.
Steve
Send instant messages to your online friends http://au.messenger.yahoo.com 
From: Steve S. <el...@gm...> - 2006年02月26日 11:37:44
Hi
With 0.87 and 0.86.2 mpl randomly crashes when executing this script:
---------------------------
from pylab import *
from matplotlib import verbose
verbose.level = 'debug-annoying'
##verbose.level = 'debug'
rcParams['text.usetex'] = True
plot([1,2,3])
savefig("image.eps")
---------------------------
The crash is triggered when savefig() is called and only if 
rcParams['text.usetex'] = True. The error message is
 (test.py:7258): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()
I tried to track it down but the crash seems to occur in *different* 
code segments (calling "python test.py" several times it crashed 
sometimes after a call to dvips, sometimes dvipng, gs, ...). Sometimes
it even *doesn't* crash at all.
I have the following pango-stuff installed (Debian):
elcorto@ramrod:~$ COLUMNS=200 dpkg -l | grep pango
ii libpango1.0-0 1.8.1-1 
ii libpango1.0-common 1.8.1-1 
ii libpango1.0-dbg 1.8.1-1 
ii libpango1.0-dev 1.8.1-1
Here's an example debug output:
----------------------------------------------------------------------------------------------------------
elcorto@ramrod:~$ python test.py
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg._get_agg_font
 findfont failed Lucida Grande
 findfont failed Verdana
 findfont failed Geneva
 findfont failed Lucida
 findfont found Bitstream Vera Sans, normal, normal 500, normal, 
12.0
findfont returning 
/usr/lib/python2.3/site-packages/matplotlib/mpl-data/Vera.ttf
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg._get_agg_font
matplotlib data path /usr/lib/python2.3/site-packages/matplotlib/mpl-data
latex -interaction=nonstopmode "/tmp/15f8552d172b5a41c557b4ad371e3782.tex"
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
entering extended mode
(/tmp/15f8552d172b5a41c557b4ad371e3782.tex
LaTeX2e <2001年06月01日>
Babel <v3.7h> and hyphenation patterns for american, french, german, 
ngerman, b
ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, 
iceland
ic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, 
russian, s
lovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2003年01月31日 v2.9n LaTeX2e KOMA document class
(/usr/share/texmf/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2003年01月31日 v2.9n LaTeX2e KOMA package
 Copyright (C) Markus Kohm
) (/usr/share/texmf/tex/latex/base/size11.clo)
(/usr/share/texmf/tex/latex/koma-script/typearea.sty
Package typearea, 2003年01月31日 v2.9n LaTeX2e KOMA package
 Copyright (C) Frank Neukam, 1992-1994
 Copyright (C) Markus Kohm, 1994-2002
)) (/usr/share/texmf/tex/latex/misc/type1cm.sty)
(/usr/share/texmf/tex/latex/psnfss/helvet.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty))
(/usr/share/texmf/tex/latex/psnfss/courier.sty)
(/usr/share/texmf/tex/latex/base/textcomp.sty
(/usr/share/texmf/tex/latex/base/ts1enc.def))
(/usr/share/texmf/tex/latex/misc/psfrag.sty
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def)))
(/usr/share/texmf/tex/latex/graphics/graphicx.sty)
(/usr/share/texmf/tex/latex/graphics/color.sty
(/usr/share/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf/tex/latex/graphics/dvipsnam.def))
(./15f8552d172b5a41c557b4ad371e3782.aux)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/psnfss/ot1pnc.fd)
<15f8552d172b5a41c557b4ad371e3782.eps>
(/usr/share/texmf/tex/latex/psnfss/ot1phv.fd) [1]
(./15f8552d172b5a41c557b4ad371e3782.aux) )
Output written on 15f8552d172b5a41c557b4ad371e3782.dvi (1 page, 2268 bytes).
Transcript written on 15f8552d172b5a41c557b4ad371e3782.log.
dvips -R -T 12.750000in,18.030000in -o 
"/tmp/15f8552d172b5a41c557b4ad371e3782.ps" 
"/tmp/15f8552d172b5a41c557b4ad371e3782.dvi"
(test.py:7286): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()
----------------------------------------------------------------------------------------------------------
Hope anyone can give me a hint.
cheers,
steve
-- 
Random number generation is the art of producing pure gibberish as 
quickly as possible.

Showing 5 results of 5

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 によって変換されたページ (->オリジナル) /