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



Showing results of 280

<< < 1 .. 6 7 8 9 10 .. 12 > >> (Page 8 of 12)
From: Werner F. B. <wer...@fr...> - 2005年08月10日 17:37:29
Attachments: test2.py test.py setup.py
Hi Michael,
Me again.
What version of matplotlib are you using?
I attached a test.py, test2.py (which is like yours except the import is 
corrected) and a setup.py.
Change in setup.py this
script = "test.py"
to
script = "test2.py"
I can generate both of them and run them on Win XP either as a windows 
or console app, however test2.py looks as if nothing happens as it only 
prints some stuff.
Note that the exe will be under dist/prog.
I based this setup.py on mine and removed all my stuff, however left a 
bit more in then is the absolute minimum (e.g. pytz is only needed if 
you do some date stuff etc etc).
Also you need to remove the Python24 stuff.
Hope this helps to get you going.
See you
Werner
Michael Huster wrote:
> I cross-posted this on py2exe-users w/o getting help yet.
> 
> Yes, I've read the Wiki - http://starship.python.net/crew/theller/moin.cgi/MatPlotLib
> and any other pages I could google. I want to package a pylab (aka scipy, aka matplotlib) app. I'm on Win XP. I've been trying for four days. I've boiled it down to this:
> 
> -----------------------------------------------------
> Test.py:
> import pylab
> a = arange(10)
> print a
> 
> -----------------------------------------------------
> Setup.py:
> from distutils.core import setup
> import py2exe
> import glob
> 
> # from py2exe wiki: matplotlib
> """
> These don't work so I commented them out:
> opts = {
> 'py2exe': { 'excludes': ['_gtkagg', '_tkagg'],
> 'dll_excludes': ['libgdk-win32-2.0-0.dll',
> 'libgobject-2.0-0.dll'],
> 'includes': ['matplotlib.numerix.random_array'],
> }
> }
> """
> 
> setup(
> # This doesn't make it work either:
> data_files = [
> (r'lib\matplotlibdata', glob.glob(r'c:\python23\share\matplotlib\*')),
> (r'lib\matplotlibdata', glob.glob(r'c:\Python23\share\matplotlib\.matplotlibrc')),
> ],
> version = "0.7.0",
> description = "test py2exe & pylab",
> name = "TestPy2exe",
> author = "Michael E Huster",
> # targets to build
> console = ["test.py"]
> 
> )
> -----------------------------------------------------
> I run:
> Prompt> python setup.py py2exe
> Prompt> cd dist
> Prompt> test.exe
> Traceback (most recent call last):
> File "test.py", line 1, in ?
> File "pylab.pyc", line 1, in ?
> File "matplotlib\__init__.pyc", line 509, in ?
> File "matplotlib\__init__.pyc", line 245, in wrapper
> File "matplotlib\__init__.pyc", line 318, in _get_data_path
> RuntimeError: Could not find the matplotlib data files
> 
> Prompt>
> 
> Michael Huster, Ph. D.
> Assistant Professor of Science
> Simpson University
> 2211 College View Dr.
> Redding, CA 96003
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
From: Charles M. <cm...@in...> - 2005年08月10日 17:05:57
Here is a simple setup.py script I am successfully using with the most 
recent version of mpl. I run py2exe like, "python.exe setup.py py2exe 
-c -p numarray,pytz".
-----------------------------------
import os
from distutils.core import setup
import py2exe
import glob
for ver in range(2,5):
 if os.path.exists('C:\\Python2%i\\share\\matplotlib\\' % ver):
 data = glob.glob('C:\\Python2%i\\share\\matplotlib\\*' % ver)
 break
setup( windows = ['nlogui.py'],
 data_files = [('', ['nlo.gif']),
 ('matplotlibdata', data)],
 options={"py2exe":{"optimize":2}},
)
-----------------------------------
Michael Huster wrote:
> I cross-posted this on py2exe-users w/o getting help yet.
> 
> Yes, I've read the Wiki - http://starship.python.net/crew/theller/moin.cgi/MatPlotLib
> and any other pages I could google. I want to package a pylab (aka scipy, aka matplotlib) app. I'm on Win XP. I've been trying for four days. I've boiled it down to this:
> 
> -----------------------------------------------------
> Test.py:
> import pylab
> a = arange(10)
> print a
> 
> -----------------------------------------------------
> Setup.py:
> from distutils.core import setup
> import py2exe
> import glob
> 
> # from py2exe wiki: matplotlib
> """
> These don't work so I commented them out:
> opts = {
> 'py2exe': { 'excludes': ['_gtkagg', '_tkagg'],
> 'dll_excludes': ['libgdk-win32-2.0-0.dll',
> 'libgobject-2.0-0.dll'],
> 'includes': ['matplotlib.numerix.random_array'],
> }
> }
> """
> 
> setup(
> # This doesn't make it work either:
> data_files = [
> (r'lib\matplotlibdata', glob.glob(r'c:\python23\share\matplotlib\*')),
> (r'lib\matplotlibdata', glob.glob(r'c:\Python23\share\matplotlib\.matplotlibrc')),
> ],
> version = "0.7.0",
> description = "test py2exe & pylab",
> name = "TestPy2exe",
> author = "Michael E Huster",
> # targets to build
> console = ["test.py"]
> 
> )
> -----------------------------------------------------
> I run:
> Prompt> python setup.py py2exe
> Prompt> cd dist
> Prompt> test.exe
> Traceback (most recent call last):
> File "test.py", line 1, in ?
> File "pylab.pyc", line 1, in ?
> File "matplotlib\__init__.pyc", line 509, in ?
> File "matplotlib\__init__.pyc", line 245, in wrapper
> File "matplotlib\__init__.pyc", line 318, in _get_data_path
> RuntimeError: Could not find the matplotlib data files
> 
> Prompt>
> 
> Michael Huster, Ph. D.
> Assistant Professor of Science
> Simpson University
> 2211 College View Dr.
> Redding, CA 96003
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Henry P. <hen...@in...> - 2005年08月10日 17:03:36
Christian, thanks for the pointers, interesting indeed.
For now I've solved my problem, I realize I could actually get an array 
with the node numbers connexions. From here it was very easy to plot the 
deformed mesh from the array [node number - deformed coord] with Ryan's 
solution. It works very well.
but I've read the topic you pointed with interest, I may need something 
like this in the future.
--Henry
Christian Kristukat wrote:
> there has been a discussion about that topic some weeks ago on the 
> scipy mailing
> list. Two proposals were given for how to get a structured mesh from some
> irregularly placed points.
>
> The first calculates a 2D surface spline:
> http://www.scipy.org/mailinglists/mailman?fn=scipy-user/2005-July/004887.html 
>
>
> The second does a triangulation. Though I didn't understand what to do 
> with the
> triangulated data, as the result is still not an orthogonal grid. I'd be
> interested in some code that uses triangulation and plots through 
> matplotlib. Up
> to now I'm using the SurfaceMap module of VTK.
> http://www.scipy.org/mailinglists/mailman?fn=scipy-user/2005-July/004855.html 
>
>
> Regards, Christian
From: Christian K. <ck...@ho...> - 2005年08月10日 16:59:29
Chris Barker wrote:
> Christian Kristukat wrote:
> 
>> The second does a triangulation. Though I didn't understand what to do 
>> with the
>> triangulated data, as the result is still not an orthogonal grid.
> 
> 
> Once you've got the triangulation, you can linearly interpolate between 
> the three points of the triangle that a point is in for which you want 
> the value.
I see. Thanks for explaining.
> I've been meaning to wrap Jonathan Shewchuk's triangle code for Python, 
> but haven't gotten around to it yet.
> 
> http://www.cs.cmu.edu/~quake/triangle.html
Does that code include the interpolation, i.e. the extraction of data on a 
regular grid? I can't imagine an easy way to achieve that.
Regards, Christian
From: Alan G I. <ai...@am...> - 2005年08月10日 16:47:27
On 2005年8月10日, Darren Dale apparently wrote: 
> Did you try producing dvi or ps files with these lines of text in them? 
Yes.
My LaTeX distribution (MiKTeX) works fine.
I can also produce beautiful EPS for these exact figures 
using savefig in Matplotlib.
> is text.tex.engine set to TeX or LaTeX in your rc file? If LaTeX, what is 
> fonts.latex.package set to? 
font.latex.package : type1cm
text.tex.engine : latex
> I didnt see anything in your verbose output about TeX or dvips, you should 
> delete your .matplotlib/tex.cache before each trial when debugging (or you 
> can set the debug flag = True in texmanager.py, so it will ignore your 
> tex.cache.) 
That fixed figure 4!?
(I am very puzzled by that!)
Figure 2 and 3 still have the same problems.
New verbose output appended.
Cheers,
Alan Isaac
====================== Script ===========================
#-*-coding:latin-1-*-
#see http://www.scipy.org/wikis/topical_software/UsingTex
from matplotlib import rc, verbose
from matplotlib.numerix import arange, cos, pi
from pylab import figure, axes, plot, xlabel, ylabel, title, \
	 grid, savefig, show
verbose.level = "debug-annoying"
rc('text', usetex=True)
t = arange(0.0, 1.0+0.01, 0.01)
s = cos(2*2*pi*t)+2
figure(1)
#works fine
ax = axes([0.15, 0.1, 0.8, 0.7])
plot(t, s) 
xlabel(r'time ($s$)',fontsize=16)
ylabel(r'\it{voltage} ($m$)',fontsize=16)
title(r"\TeX\ is Number $\sum_{n=1}^\infty{-e^{i\pi}}/{2^n}$!",
	 fontsize=16, color='r')
savefig('/temp/temp1')
figure(2)
#use bold on ylabel -> missing text
ax = axes([0.15, 0.1, 0.8, 0.7])
plot(t, s) 
xlabel(r'time ($s$)',fontsize=16)
ylabel(r'\bf{voltage} ($m$)',fontsize=16)
title(r"\TeX\ is Number $\sum_{n=1}^\infty{-e^{i\pi}}/{2^n}$!",
	 fontsize=16, color='r')
savefig('/temp/temp2')
figure(3)
#use \frac in title -> missing superscripts
ax = axes([0.15, 0.1, 0.8, 0.7])
plot(t, s) 
xlabel(r'time ($s$)',fontsize=16)
ylabel(r'\it{voltage} ($m$)',fontsize=16)
title(r"\TeX\ is Number $\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!",
	 fontsize=16, color='r')
savefig('/temp/temp3')
figure(4)
# *add* \displaystyle in title -> missing title
ax = axes([0.15, 0.1, 0.8, 0.7])
plot(t, s) 
xlabel(r'time ($s$)',fontsize=16)
ylabel(r'\it{voltage} ($m$)',fontsize=16)
title(r"\TeX\ is Number $\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!",
	 fontsize=16, color='r')
savefig('/temp/temp4')
show()
====================== Verbose Script Output ============
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg._get_agg_font
	findfont failed Lucida Grande
	findfont found Verdana, normal, normal 500, normal, 12.0
findfont returning C:\WINNT\Fonts\verdana.ttf
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/30565a8911a6bb487e3745c
0ea3c8224.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 30565a8911a6bb487e3745c0ea3c8224.aux.
[1] (30565a8911a6bb487e3745c0ea3c8224.aux) )
Output written on 30565a8911a6bb487e3745c0ea3c8224.dvi (1 page, 204 bytes).
Transcript written on 30565a8911a6bb487e3745c0ea3c8224.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/3d522deaf85577451c01974
654b36ad3.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 3d522deaf85577451c01974654b36ad3.aux.
[1] (3d522deaf85577451c01974654b36ad3.aux) )
Output written on 3d522deaf85577451c01974654b36ad3.dvi (1 page, 204 bytes).
Transcript written on 3d522deaf85577451c01974654b36ad3.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/54fbf38cf649866815e0fef
c46a1f6c7.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 54fbf38cf649866815e0fefc46a1f6c7.aux.
[1] (54fbf38cf649866815e0fefc46a1f6c7.aux) )
Output written on 54fbf38cf649866815e0fefc46a1f6c7.dvi (1 page, 204 bytes).
Transcript written on 54fbf38cf649866815e0fefc46a1f6c7.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/e95e1ca27d0e39aa03eb5a6
11ce4122f.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file e95e1ca27d0e39aa03eb5a611ce4122f.aux.
[1] (e95e1ca27d0e39aa03eb5a611ce4122f.aux) )
Output written on e95e1ca27d0e39aa03eb5a611ce4122f.dvi (1 page, 204 bytes).
Transcript written on e95e1ca27d0e39aa03eb5a611ce4122f.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/57eeec0a6974ecb4e9fcf68
fab052f7b.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 57eeec0a6974ecb4e9fcf68fab052f7b.aux.
[1] (57eeec0a6974ecb4e9fcf68fab052f7b.aux) )
Output written on 57eeec0a6974ecb4e9fcf68fab052f7b.dvi (1 page, 204 bytes).
Transcript written on 57eeec0a6974ecb4e9fcf68fab052f7b.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/e4c2e8edac362acab712365
4b9e73432.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file e4c2e8edac362acab7123654b9e73432.aux.
[1] (e4c2e8edac362acab7123654b9e73432.aux) )
Output written on e4c2e8edac362acab7123654b9e73432.dvi (1 page, 204 bytes).
Transcript written on e4c2e8edac362acab7123654b9e73432.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
	findfont failed Lucida Grande
	findfont found Verdana, normal, normal 500, normal, 16.0
findfont returning C:\WINNT\Fonts\verdana.ttf
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/1d9043c3c132b358ea45fbc
83af5350b.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 1d9043c3c132b358ea45fbc83af5350b.aux.
[1] (1d9043c3c132b358ea45fbc83af5350b.aux) )
Output written on 1d9043c3c132b358ea45fbc83af5350b.dvi (1 page, 260 bytes).
Transcript written on 1d9043c3c132b358ea45fbc83af5350b.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/6008647277c4454cecd97d3
3c069f0ca.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 6008647277c4454cecd97d33c069f0ca.aux.
[1] (6008647277c4454cecd97d33c069f0ca.aux) )
Output written on 6008647277c4454cecd97d33c069f0ca.dvi (1 page, 204 bytes).
Transcript written on 6008647277c4454cecd97d33c069f0ca.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/d1bd83a33f1a841ab7fda32
449746cc4.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file d1bd83a33f1a841ab7fda32449746cc4.aux.
[1] (d1bd83a33f1a841ab7fda32449746cc4.aux) )
Output written on d1bd83a33f1a841ab7fda32449746cc4.dvi (1 page, 204 bytes).
Transcript written on d1bd83a33f1a841ab7fda32449746cc4.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/8221435bcce913b5c2dc22e
af6cb6590.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 8221435bcce913b5c2dc22eaf6cb6590.aux.
[1] (8221435bcce913b5c2dc22eaf6cb6590.aux) )
Output written on 8221435bcce913b5c2dc22eaf6cb6590.dvi (1 page, 204 bytes).
Transcript written on 8221435bcce913b5c2dc22eaf6cb6590.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/55c82b601deae028c1c5e87
fd820923d.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 55c82b601deae028c1c5e87fd820923d.aux.
[1] (55c82b601deae028c1c5e87fd820923d.aux) )
Output written on 55c82b601deae028c1c5e87fd820923d.dvi (1 page, 204 bytes).
Transcript written on 55c82b601deae028c1c5e87fd820923d.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/258ac8a1232afd54ae95225
146e36f32.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 258ac8a1232afd54ae95225146e36f32.aux.
[1] (258ac8a1232afd54ae95225146e36f32.aux) )
Output written on 258ac8a1232afd54ae95225146e36f32.dvi (1 page, 264 bytes).
Transcript written on 258ac8a1232afd54ae95225146e36f32.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/c3793f328990e951f8699cf
054c46952.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file c3793f328990e951f8699cf054c46952.aux.
[1] (c3793f328990e951f8699cf054c46952.aux) )
Output written on c3793f328990e951f8699cf054c46952.dvi (1 page, 576 bytes).
Transcript written on c3793f328990e951f8699cf054c46952.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/3e083eb158916721d46bcd0
91dcd2137.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 3e083eb158916721d46bcd091dcd2137.aux.
[1] (3e083eb158916721d46bcd091dcd2137.aux) )
Output written on 3e083eb158916721d46bcd091dcd2137.dvi (1 page, 268 bytes).
Transcript written on 3e083eb158916721d46bcd091dcd2137.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1Trying to make PK font "cmbx10" (at 640 DPI)...
Creating "cmbx10.pk"...
"mf" \mode:=cx; \mag:=2+40/300;nonstopmode;input cmbx10
This is METAFONT, Version 2.71828 (MiKTeX 2.4)
(c:\programs\texmf\fonts\source\public\cm\cmbx10.mf
(c:\programs\texmf\fonts\source\public\cm\cmbase.mf)
(c:\programs\texmf\fonts\source\public\cm\roman.mf
! Missing `:' has been inserted
! This can't happen (copy).
mode_param->if.unknown.mode_guard_(EXPR5000)
 :(EXPR5000):=(EXPR1);mode_guard_...
cx_->mode_param(pixels_per_inch,300)
 ;mode_param(blacker,0);mode_param(fillin...
<scantokens> cx_
 
<to be read again> 
 ;
mode_setup->...nput "&mode)else:mode_name[mode]fi;
 if.unknown.mag:mag=1;fi.if...
l.12 mode_setup
 ; font_setup;
Transcript written on cmbx10.log.
METAFONT failed for some reason
] 
makepk: METAFONT failed on "cmbx10".
dvipng warning: font cmbx10 at 640 dpi not found, characters will be left blank 
RendererAgg._get_agg_font
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/db52c6f0d92d313f3c948b8
04642f468.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file db52c6f0d92d313f3c948b804642f468.aux.
[1] (db52c6f0d92d313f3c948b804642f468.aux) )
Output written on db52c6f0d92d313f3c948b804642f468.dvi (1 page, 556 bytes).
Transcript written on db52c6f0d92d313f3c948b804642f468.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1Trying to make PK font "cmmi5" (at 640 DPI)...
Creating "cmmi5.pk"...
"mf" \mode:=cx; \mag:=2+40/300;nonstopmode;input cmmi5
This is METAFONT, Version 2.71828 (MiKTeX 2.4)
(c:\programs\texmf\fonts\source\public\cm\cmmi5.mf
(c:\programs\texmf\fonts\source\public\cm\cmbase.mf)
(c:\programs\texmf\fonts\source\public\cm\mathit.mf
! Missing `:' has been inserted
! This can't happen (copy).
mode_param->if.unknown.mode_guard_(EXPR5000)
 :(EXPR5000):=(EXPR1);mode_guard_...
cx_->mode_param(pixels_per_inch,300)
 ;mode_param(blacker,0);mode_param(fillin...
<scantokens> cx_
 
<to be read again> 
 ;
mode_setup->...nput "&mode)else:mode_name[mode]fi;
 if.unknown.mag:mag=1;fi.if...
l.7 mode_setup
 ; font_setup;
Transcript written on cmmi5.log.
METAFONT failed for some reason
] 
makepk: METAFONT failed on "cmmi5".
dvipng warning: font cmmi5 at 640 dpi not found, characters will be left blank 
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(C:/Documents and Settings/aisaac/.matplotlib/tex.cache/0885e19fbc15d1bc2b5e1d3
ac6018bee.tex
LaTeX2e <2003年12月01日>
Babel <v3.7m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(c:\programs\texmf\tex\latex\base\article.cls
Document Class: article 2004年02月16日 v1.4f Standard LaTeX document class
(c:\programs\texmf\tex\latex\base\size10.clo))
(c:\programs\texmf\tex\latex\type1cm\type1cm.sty)
No file 0885e19fbc15d1bc2b5e1d3ac6018bee.aux.
[1] (0885e19fbc15d1bc2b5e1d3ac6018bee.aux) )
Output written on 0885e19fbc15d1bc2b5e1d3ac6018bee.dvi (1 page, 608 bytes).
Transcript written on 0885e19fbc15d1bc2b5e1d3ac6018bee.log.
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1Trying to make PK font "cmbx10" (at 512 DPI)...
Creating "cmbx10.pk"...
"mf" \mode:=cx; \mag:=1+212/300;nonstopmode;input cmbx10
This is METAFONT, Version 2.71828 (MiKTeX 2.4)
(c:\programs\texmf\fonts\source\public\cm\cmbx10.mf
(c:\programs\texmf\fonts\source\public\cm\cmbase.mf)
(c:\programs\texmf\fonts\source\public\cm\roman.mf
! Missing `:' has been inserted
! This can't happen (copy).
mode_param->if.unknown.mode_guard_(EXPR5000)
 :(EXPR5000):=(EXPR1);mode_guard_...
cx_->mode_param(pixels_per_inch,300)
 ;mode_param(blacker,0);mode_param(fillin...
<scantokens> cx_
 
<to be read again> 
 ;
mode_setup->...nput "&mode)else:mode_name[mode]fi;
 if.unknown.mag:mag=1;fi.if...
l.12 mode_setup
 ; font_setup;
Transcript written on cmbx10.log.
METAFONT failed for some reason
] 
makepk: METAFONT failed on "cmbx10".
dvipng warning: font cmbx10 at 512 dpi not found, characters will be left blank 
RendererAgg._get_agg_font
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1Trying to make PK font "cmmi5" (at 512 DPI)...
Creating "cmmi5.pk"...
"mf" \mode:=cx; \mag:=1+212/300;nonstopmode;input cmmi5
This is METAFONT, Version 2.71828 (MiKTeX 2.4)
(c:\programs\texmf\fonts\source\public\cm\cmmi5.mf
(c:\programs\texmf\fonts\source\public\cm\cmbase.mf)
(c:\programs\texmf\fonts\source\public\cm\mathit.mf
! Missing `:' has been inserted
! This can't happen (copy).
mode_param->if.unknown.mode_guard_(EXPR5000)
 :(EXPR5000):=(EXPR1);mode_guard_...
cx_->mode_param(pixels_per_inch,300)
 ;mode_param(blacker,0);mode_param(fillin...
<scantokens> cx_
 
<to be read again> 
 ;
mode_setup->...nput "&mode)else:mode_name[mode]fi;
 if.unknown.mag:mag=1;fi.if...
l.7 mode_setup
 ; font_setup;
Transcript written on cmmi5.log.
METAFONT failed for some reason
] 
makepk: METAFONT failed on "cmmi5".
dvipng warning: font cmmi5 at 512 dpi not found, characters will be left blank 
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1] 
From: Alan G I. <ai...@am...> - 2005年08月10日 16:47:25
On 2005年8月10日, Gary apparently wrote: 
> [OT] I'm curious about Alan's savefig('\temp1'). Are you 
> writting to the root of the drive? Is this your c: drive? 
Old habits die hard.
It's a *personal* compter. ;-)
Cheers,
Alan
From: <zu...@zu...> - 2005年08月10日 16:19:51
On Wed, Aug 10, 2005 at 08:50:44AM -0500, John Hunter wrote:
> ...matplotlib will fall over to exponential ticking above
> 10^4, so 1000 is pretty much your worst case.
I haven't tried, but hopefully below 10^-4 as well...
> Let us know when the new plots are up!
> I assume you are using 
> matplotlib.use('Agg')
> for the main site and not GTKAgg....
Sure thing!
 James Phillips
 http://zunzun.com
From: Michael H. <mh...@si...> - 2005年08月10日 16:09:13
I cross-posted this on py2exe-users w/o getting help yet.
Yes, I've read the Wiki - =
http://starship.python.net/crew/theller/moin.cgi/MatPlotLib
and any other pages I could google. I want to package a pylab (aka =
scipy, aka matplotlib) app. I'm on Win XP. I've been trying for four =
days. I've boiled it down to this:
-----------------------------------------------------
Test.py:
import pylab
a =3D arange(10)
print a
-----------------------------------------------------
Setup.py:
from distutils.core import setup
import py2exe
import glob
# from py2exe wiki: matplotlib
"""
These don't work so I commented them out:
opts =3D {
 'py2exe': { 'excludes': ['_gtkagg', '_tkagg'],
 'dll_excludes': ['libgdk-win32-2.0-0.dll',
 'libgobject-2.0-0.dll'],
 'includes': ['matplotlib.numerix.random_array'],
 }
 }
"""
setup(
 # This doesn't make it work either:
 data_files =3D [
 (r'lib\matplotlibdata', =
glob.glob(r'c:\python23\share\matplotlib\*')),
 (r'lib\matplotlibdata', =
glob.glob(r'c:\Python23\share\matplotlib\.matplotlibrc')),
 ],
 version =3D "0.7.0",
 description =3D "test py2exe & pylab",
 name =3D "TestPy2exe",
 author =3D "Michael E Huster",
 # targets to build
 console =3D ["test.py"]
 )
-----------------------------------------------------
I run:
Prompt> python setup.py py2exe
Prompt> cd dist
Prompt> test.exe
Traceback (most recent call last):
 File "test.py", line 1, in ?
 File "pylab.pyc", line 1, in ?
 File "matplotlib\__init__.pyc", line 509, in ?
 File "matplotlib\__init__.pyc", line 245, in wrapper
 File "matplotlib\__init__.pyc", line 318, in _get_data_path
RuntimeError: Could not find the matplotlib data files
Prompt>
Michael Huster, Ph. D.
Assistant Professor of Science
Simpson University
2211 College View Dr.
Redding, CA 96003
From: Tom D. <tom...@gm...> - 2005年08月10日 15:23:36
Hi all,
I have been looking at the Matplotlib widget examples particularly the
Slider one and then looking at the widgets available in
matplotlib.widgets. I noticed that there are no list or drop down
widgets available? Is this something that is available elsewhere in
Matplotlib or something that needs to be added? It would be extremely
convenient to be able to use drop down boxes in plots to control the
data going into the plot.
Does anyone have any thoughts or suggestions. Is this something
others are interested in or already working on? Is there a technical
difficulty that drop downs present that has caused people to be
hesitate to add them?
--Tom
From: John H. <jdh...@ac...> - 2005年08月10日 14:26:20
>>>>> "W" == W Pessenhofer <w.p...@tu...> writes:
 W> Is this possible within one script, or do I have to split it
 W> into several shorter ones ?
Can you not just create two separate figures in your script
 figure()
 plot_your_spectras()
 figure()
 do_your_calibration()
 show()
The following functions might be useful to you in one way or another.
 fig = figure(num) - create figure num
 close(num) - close figure(num)
 cla() - clear the crrent axes
 clf() - clear the current figure
 hold(True|False) - modify the current hold strate
 ishold() - inspect the current hold state
I do not understand exactly your problem -- hope this helps. 
JDH
From: Carlos P. <car...@ya...> - 2005年08月10日 14:19:02
Hi!
>Fortunately for you, there is already an Cursor class which uses these
>new techniques; See examples/widgets/cursor.py in the last matplotlib
> 
>
>There are two modes in the Cursor class: useblit=True and
>useblit=False. The former uses the copy/restore region feature you
>describe for fast animated drawing and is available in the GTKAgg
>backend in the last matplotlib release and in TkAgg in matplotlib CVS.
>
I've been looking at the example, great! Sadly I'm using wx as
my backend so I guess I would not be able to take advantage of
useblit=True. 
>The other alternative is to use GUI native drawing on top of the
>matplotlib FigureCanvas; for the wx backend, there is an example
>illustrating this in examples/wxcursor_demo.py.
> 
>
This demo performs notably better for wx.
Thank you very much!
Regards,
Carlos
>JDH
>
> 
>
	
	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 
From: W. P. <w.p...@tu...> - 2005年08月10日 14:10:51
Hi,
I wrote a script for automatically plot spectra data from multiple raw 
files into one plot. After that, I implemented a calibration function to 
extract specific values from the spectras and want to plot them in an 
extra plot window.
Executing script with "python plotfile.py":
hold(True)
"loop for plotting the spectras into one plot."
show()
# Plot is appearing, can be stored, script continous after closing the 
window.
hold(False) # using a new window
" Calibration function"
show()
# New plot is appearing, can be stored.
I know, that I should avoid to use show() several times, but I didn't find 
any other solution for it. The problem is, I would favor to use ipython 
running the script and then being in interactive mode to correct something 
interactively.
Unfortunately, using ipython results in one overall plot, appearing after 
the end of the whole script, containing the spectras and the calibration 
function.
So what I want to do is:
1) Plotting the spectras with a script
2) Interactively change them
3) Save the plots and close the GUI
4) Make the calibration with the script
5) Interactively change this plot
6) Save and exit
Is this possible within one script, or do I have to split it into several 
shorter ones ?
Regards
Werner
>>>>> "philopensource@hotmail" == philopensource@hotmail com <phi...@ho...> writes:
 phil> Hi list, I successefully draw and add a
 phil> matplotlib figure in a notebook page.
 phil> Thanks to John Hunter and it's powerfull
 phil> FigureCanvasGTK.
 phil> I add a navigationToolbar2GTK. But now, i
 phil> am stuck to have callbacks when a button
 phil> is pressed. Even the selection drawned
 phil> when we use the zoom is not displayed.
 phil> How can i easily used callbacks ever
 phil> written instead of rewriting all of them?
 phil> Thanks a lot, Philippe Collet
Can you please provide a minimal code example which demonstrates your
problem -- it will be much easier for us to help you that way. 
Also, have you considered using the GTKAgg canvas of the GTK canvas.
It has more features and nicer looking figures, in my opinion.
JDH
From: John H. <jdh...@ac...> - 2005年08月10日 13:51:21
>>>>> "zunzun" == zunzun <zu...@zu...> writes:
 zunzun> Since I will not know in advance the values users are
 zunzun> plotting, I cannot directly set the plot limits as far as
 zunzun> I know. Any advice on how best to handle this problem? I
 zunzun> could try to calculate a best limit for each plot, or
 zunzun> simply use a single large value such that the Y axis label
 zunzun> is never pushed off the graph. Any other advice or ideas?
This is basically the best approach. You can make the default
subplots_adjust(left=.1) or something like that to give yourself
extra room. matplotlib will fall over to exponential ticking above
10^4, so 1000 is pretty much your worst case. Just make sure you can
fit the ylabel on this case and you should be OK
 pylab.scatter([1000, 5000], [1000, 5000])
 pylab.subplots_adjust(left=0.1)
Let us know when the new plots are up!
I assume you are using 
 import matplotlib
 matplotlib.use('Agg')
for the main site and not GTKAgg....
JDH
From: Gary <pa...@in...> - 2005年08月10日 13:26:16
Alan G Isaac wrote:
>On 2005年8月08日, John Hunter apparently wrote: 
> 
>
>>post the complete script and output file (test.png). Also include 
>>the output of running your script with --verbose-debug-annoying. 
>> 
>>
>
>Script and script output below.
>Figures here: http://nw08.american.edu/~aisaac/temp.htm
>(I assume you don't want these sent to the list.)
>
>Cheers,
>Alan
> 
>
I tried Alan's script, and it doesn't work for me. I get no labels and 
titles at all. Well, two of them give me that red line in the title. 
The eps script he posted previously works just fine. Below is the output 
of --verbose-debug-annoying. To me it looks just like Alan's. 
My .matplotlibrc seems to have the correct settings. It is currently 
living in c:\python23\share\matplotlib. Is that OK? Did I just see 
something that says it should be in HOME\.matplotlib? Is that now a 
requirement, recommendation, or option? Oh, wait, I see from the 
verbose dump that my matplotlibrc was found and loaded.
[OT] I'm curious about Alan's savefig('\temp1'). Are you writting to 
the root of the drive? Is this your c: drive? 
I've got WinXP, python 2.3.4, mpl 0.83.2, MikTeX [just updated]
I'll poke around, too. Any pointers to where I might poke are welcome.
-gary
------------------------------------------------------------------------------
C:\Documents and Settings\Gary\My Documents\python\mpl>python tex2.py 
--verbose-
debug-annoying
matplotlib data path C:\Python23\share\matplotlib
$HOME=C:\Documents and Settings\Gary
CONFIGDIR=C:\Documents and Settings\Gary\.matplotlib
loaded rc file C:\Python23\share\matplotlib\matplotlibrc
matplotlib version 0.83.2
verbose.level debug-annoying
interactive is False
platform is win32
loaded modules: ['__future__', 'copy_reg', 'sre_compile', 'distutils', 
'locale',
 '_sre', '__main__', 'site', '__builtin__', 'datetime', 
'matplotlib.tempfile', '
encodings', 'os.path', 'encodings.encodings', 'sre_constants', 
'distutils.string
', 'dateutil', 'matplotlib.datetime', 'strop', '_random', 'tempfile', 
'errno', '
matplotlib.warnings', 'encodings.codecs', 'matplotlib.sys', 're', 
'ntpath', 'pyt
z.sys', 'UserDict', 'distutils.sysconfig', 'encodings.exceptions', 'nt', 
'pytz.s
ets', 'math', 'stat', 'zipimport', 'string', 'warnings', 
'encodings.types', '_co
decs', 'sets', 'distutils.os', 'matplotlib', 'encodings.cp1252', 'sys', 
'pytz.tz
info', 'pytz', 'pytz.datetime', 'matplotlib.__future__', 'codecs', 
'distutils.re
', 'matplotlib.pytz', 'types', 'matplotlib.dateutil', '_locale', 
'matplotlib.os'
, 'thread', 'sre', 'bisect', 'matplotlib.distutils', 'signal', 
'distutils.errors
', 'random', 'linecache', 'itertools', 'time', 'exceptions', 
'sre_parse', 'pytz.
bisect', 'distutils.sys', 'os']
numerix Numeric 23.6
font search path ['C:\\Python23\\share\\matplotlib', 'C', 
'\\windows\\fonts']
trying fontname C:\windows\fonts\lvnm.ttf
trying fontname C:\windows\fonts\UPCJB.TTF
trying fontname C:\windows\fonts\ANGSAB.TTF
trying fontname C:\windows\fonts\GOTHICI.TTF
trying fontname C:\windows\fonts\ANGSAU.TTF
trying fontname C:\windows\fonts\timesbd.ttf
trying fontname C:\windows\fonts\CORDIAUI.TTF
trying fontname C:\windows\fonts\ANTQUAI.TTF
trying fontname C:\windows\fonts\david.ttf
trying fontname C:\windows\fonts\UPCIL.TTF
trying fontname C:\Python23\share\matplotlib\Vera.ttf
loaded ttfcache file C:\Documents and 
Settings\Gary\.matplotlib\ttffont.cache
backend TkAgg version 8.4
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg._get_agg_font
 findfont failed Lucida Grande
 findfont found Verdana, normal, normal 500, normal, 12.0
findfont returning c:\windows\fonts\verdana.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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg._get_agg_font
 findfont failed Lucida Grande
 findfont found Verdana, normal, normal 500, normal, 16.0
findfont returning c:\windows\fonts\verdana.ttf
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
FigureCanvasAgg.print_figure
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
FigureCanvasAgg.draw
RendererAgg.__init__
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.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
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
RendererAgg._get_agg_font
RendererAgg._get_agg_font
From: Darren D. <dd...@co...> - 2005年08月10日 12:46:14
Did you try producing dvi or ps files with these lines of text in them?
is text.tex.engine set to TeX or LaTeX in your rc file? If LaTeX, what is 
fonts.latex.package set to?
I didnt see anything in your verbose output about TeX or dvips, you should 
delete your .matplotlib/tex.cache before each trial when debugging (or you 
can set the debug flag = True in texmanager.py, so it will ignore your 
tex.cache.)
Darren
On Monday 08 August 2005 10:16 pm, Alan G Isaac wrote:
> On 2005年8月08日, John Hunter apparently wrote:
> > post the complete script and output file (test.png). Also include
> > the output of running your script with --verbose-debug-annoying.
>
> Script and script output below.
> Figures here: http://nw08.american.edu/~aisaac/temp.htm
> (I assume you don't want these sent to the list.)
>
> Cheers,
> Alan
>
> ++++++++++++++++++ Script ++++++++++++++++++++++++++++
> #-*-coding:latin-1-*-
> #see http://www.scipy.org/wikis/topical_software/UsingTex
> from matplotlib import rc
> from matplotlib.numerix import arange, cos, pi
> from pylab import figure, axes, plot, xlabel, ylabel, title, \
> 	 grid, savefig, show
>
> rc('text', usetex=True)
> t = arange(0.0, 1.0+0.01, 0.01)
> s = cos(2*2*pi*t)+2
>
> figure(1)
> #works fine
> ax = axes([0.15, 0.1, 0.8, 0.7])
> plot(t, s)
> xlabel(r'time ($s$)',fontsize=16)
> ylabel(r'\it{voltage} ($m$)',fontsize=16)
> title(r"\TeX\ is Number $\sum_{n=1}^\infty{-e^{i\pi}}/{2^n}$!",
> 	 fontsize=16, color='r')
> savefig('/temp1')
>
> figure(2)
> #use bold on ylabel -> missing text
> ax = axes([0.15, 0.1, 0.8, 0.7])
> plot(t, s)
> xlabel(r'time ($s$)',fontsize=16)
> ylabel(r'\bf{voltage} ($m$)',fontsize=16)
> title(r"\TeX\ is Number $\sum_{n=1}^\infty{-e^{i\pi}}/{2^n}$!",
> 	 fontsize=16, color='r')
> savefig('/temp2')
>
> figure(3)
> #use \frac in title -> missing superscripts
> ax = axes([0.15, 0.1, 0.8, 0.7])
> plot(t, s)
> xlabel(r'time ($s$)',fontsize=16)
> ylabel(r'\it{voltage} ($m$)',fontsize=16)
> title(r"\TeX\ is Number $\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!",
> 	 fontsize=16, color='r')
> savefig('/temp3')
>
> figure(4)
> # *add* \displaystyle in title -> missing title
> ax = axes([0.15, 0.1, 0.8, 0.7])
> plot(t, s)
> xlabel(r'time ($s$)',fontsize=16)
> ylabel(r'\it{voltage} ($m$)',fontsize=16)
> title(r"\TeX\ is Number
> $\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!", fontsize=16,
> color='r')
> savefig('/temp4')
>
> show()
>
> ++++++++++++++++++ Script Output +++++++++++++++++++++
> matplotlib data path C:\Python24\share\matplotlib
> $HOME=C:\Documents and Settings\aisaac
> CONFIGDIR=C:\Documents and Settings\aisaac\.matplotlib
> loaded rc file C:\Python24\share\matplotlib\matplotlibrc
> matplotlib version 0.83.2
> verbose.level debug-annoying
> interactive is False
> platform is win32
> loaded modules: ['_bisect', '__future__', 'copy_reg', 'sre_compile',
> 'distutils', 'locale', '_sre', '__main__', 'site', '__builtin__',
> 'datetime', 'matplotlib.tempfile', 'encodings', 'os.path', 'pytz.datetime',
> 'sre_constants', 'distutils.string', 'dateutil', 'matplotlib.datetime',
> 'strop', '_random', 'tempfile', 'errno', 'matplotlib.warnings', 'binascii',
> 'encodings.codecs', 'matplotlib.sys', 're', 'ntpath', 'pytz.sys',
> 'UserDict', 'distutils.sysconfig', 'encodings.exceptions', 'nt',
> 'pytz.sets', 'math', 'stat', 'zipimport', 'string', 'warnings',
> 'encodings.types', '_codecs', 'distutils.os', 'matplotlib',
> 'encodings.cp1252', 'sys', 'pytz.tzinfo', 'pytz', 'matplotlib.__future__',
> 'codecs', 'distutils.re', 'matplotlib.pytz', 'types',
> 'matplotlib.dateutil', '_locale', 'matplotlib.os', 'thread', 'sre',
> 'bisect', 'matplotlib.distutils', 'signal', 'distutils.errors', 'random',
> 'linecache', 'itertools', 'encodings.aliases', 'sets', 'exceptions',
> 'sre_parse', 'pytz.bisect', 'distutils.sys', 'os'] numerix Numeric 23.8
> font search path ['C:\\Python24\\share\\matplotlib']
> trying fontname C:\Python24\share\matplotlib\cmsy10.ttf
> trying fontname C:\Python24\share\matplotlib\VeraMoBI.ttf
> trying fontname C:\Python24\share\matplotlib\cmex10.ttf
> trying fontname C:\Python24\share\matplotlib\VeraBI.ttf
> trying fontname C:\Python24\share\matplotlib\Vera.ttf
> loaded ttfcache file C:\Documents and
> Settings\aisaac\.matplotlib\ttffont.cache backend TkAgg version 8.4
> FigureCanvasAgg.print_figure
> FigureCanvasAgg.draw
> RendererAgg.__init__
> RendererAgg._get_agg_font
> 	findfont failed Lucida Grande
> 	findfont found Verdana, normal, normal 500, normal, 12.0
> findfont returning C:\WINNT\Fonts\verdana.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.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> 	findfont failed Lucida Grande
> 	findfont found Verdana, normal, normal 500, normal, 16.0
> findfont returning C:\WINNT\Fonts\verdana.ttf
> 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
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> FigureCanvasAgg.print_figure
> FigureCanvasAgg.draw
> RendererAgg.__init__
> 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.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> 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
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> FigureCanvasAgg.print_figure
> FigureCanvasAgg.draw
> RendererAgg.__init__
> 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.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> 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
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> FigureCanvasAgg.print_figure
> FigureCanvasAgg.draw
> RendererAgg.__init__
> 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.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> 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
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> FigureCanvasAgg.draw
> RendererAgg.__init__
> 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.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> 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
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> FigureCanvasAgg.draw
> RendererAgg.__init__
> 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.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> 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
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> FigureCanvasAgg.draw
> RendererAgg.__init__
> 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.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> 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
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> FigureCanvasAgg.draw
> RendererAgg.__init__
> 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.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> 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
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
>
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-- 
Darren
From: John H. <jdh...@ac...> - 2005年08月10日 12:00:12
>>>>> "Steve" == Steve Schmerler <el...@gm...> writes:
 Steve> Hi Ups I think I missunderstood the meaning of VERBOSE =
 Steve> True in setup.py when compiling.
 Steve> When I start ipython -pylab and try to plot mpl prints a
 Steve> lot of mesages and _these_ are the ones of interest, sorry.
 Steve> OK here is the output of some tests:
...
 Steve> This was with GTKAgg. The same happens with Agg, TkAgg,
 Steve> GTK.
 Steve> This bug really annoys me by now and I'm wondering why mpl
 Steve> 0.82 installed as Debian package works.
Steve,
Thanks for the patient tests. I am taking this offlist so we don't annoy
everyone with too much mail on this subject, but am CC-ing the parties
who might have additional insight.
It is interesting that it happens both on Agg and non-Agg backends --
that narrows things down a bit. It is also most interesting that it
only happens when you run as a normal user and not root. The VERBOSE
output you posted suggests the problem is not occurring inside a mpl
extension code function, since it ends with "RendererAgg::draw_polygon
DONE"
I'm about out of suggestions sadly, but do have one more request
 Compile 0.82 from src. Since that version is working in the debian
 build, it would be interesting to see if it works when *you* build
 it. Ie, is there something wrong with matplotlib, or something
 wrong with your build environment.
 Also, how do you compile matplotlib, as a normal user or as root?
 If you are compiling and installing as root, may I suggests
 installing sudo (apt-get install sudo) and adding yourself to
 /etc/sudoers. Then compile matplotlib as a normal user and install
 with sudo
 > python setup.py build
 > sudo python setup.py install
 Or is this the way you are already doing it.
As always, before anything else, sudo rm -rf site-packages/matplotlib
and the build dir of your matplotlib src tree.
One other thing that would be helpful, you can start inserting debug
print statements in lib/matplotlib/pylab.py
print "ich bin hier 1"
skip 20 lines
print "ich bin hier 2"
skip 20 lines
print "ich bin hier 3"
and try and figure out exactly where in the module the failure occurs
(it could also be in lib/matplotlib/__init__.py). Once you have the
crash narrowed down between two lines, you can add more print
statements further subdivide it and triangulate down to the true evil
line. If we could at least figure out which part of the code is
triggering the failure, it might help diagnose and fix it. This can
be tedious, but is sometimes the best way to resolve these problems.
JDH
From: Steve S. <el...@gm...> - 2005年08月10日 11:42:56
Hi
Ups I think I missunderstood the meaning of VERBOSE = True in setup.py 
when compiling.
When I start ipython -pylab and try to plot mpl prints a lot of mesages 
and _these_ are the ones of interest, sorry.
OK here is the output of some tests:
Starting iython -pylab:
#########################################################################
elcorto@bach:~/Install/Matplotlib/matplotlib-0.83.2$ ipython -pylab
LazyValue::init_type
Value::init_type
BinOp::init_type
Point::init_type
Interval::init_type
Bbox::init_type
Func::init_type
FuncXY::init_type
Transformation::init_type
SeparableTransformation::init_type
NonseparableTransformation::init_type
Affine::init_type
init_nc_transforms
Glyph::init_type
FT2Font::init_type
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_bbox
Bbox::Bbox
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_bbox
Bbox::Bbox
_transforms_module::new_func
_transforms_module::new_func
_transforms_module::new_separable_transformation
BBoxTransformation::BBoxTransformation
SeparableTransformation::SeparableTransformation
init_nc_image
Image::init_type
_transforms_module::new_value
Value::~Value
init_nc_backend_agg
/usr/lib/python2.3/site-packages/IPython/Shell.py:627: 
GtkDeprecationWarning: gtk.timeout_add is deprecated, use 
gobject.timeout_add instead
 self.gtk.timeout_add(self.TIMEOUT, self.on_timer)
Python 2.3.5 (#2, May 4 2005, 08:51:39)
Type "copyright", "credits" or "license" for more information.
IPython 0.6.15 -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
%magic -> Information about IPython's 'magic' % functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
 Welcome to pylab, a matplotlib-based Python environment.
 For more information, type 'help(pylab)'.
In [1]:
#########################################################################
Plotting:
#########################################################################
In [1]: plot([1,2,3])
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_bbox
Bbox::Bbox
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_bbox
Bbox::Bbox
_transforms_module::new_func
_transforms_module::new_func
_transforms_module::new_separable_transformation
BBoxTransformation::BBoxTransformation
SeparableTransformation::SeparableTransformation
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
LazyValue::number
BinOp::BinOp
LazyValue::number
BinOp::BinOp
_transforms_module::new_point
Point::Point
_transforms_module::new_bbox
Bbox::Bbox
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_bbox
Bbox::Bbox
_transforms_module::new_func
_transforms_module::new_func
_transforms_module::new_separable_transformation
BBoxTransformation::BBoxTransformation
SeparableTransformation::SeparableTransformation
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_bbox
Bbox::Bbox
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_bbox
Bbox::Bbox
_transforms_module::new_func
_transforms_module::new_func
_transforms_module::new_separable_transformation
BBoxTransformation::BBoxTransformation
SeparableTransformation::SeparableTransformation
SeparableTransformation::~SeparableTransformation
Func::~Func
Func::~Func
BBoxTransformation::~BBoxTransformation
Bbox::~Bbox
Point::~Point
Value::~Value
Value::~Value
Point::~Point
Value::~Value
Value::~Value
Bbox::~Bbox
Point::~Point
Value::~Value
Value::~Value
Point::~Point
Value::~Value
Value::~Value
Transformation::~Transformation
Value::get
Value::set
Value::set
Bbox::get_bounds
Value::get
Value::get
RendererAgg::RendererAgg
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_value
_transforms_module::new_value
_transforms_module::new_point
Point::Point
_transforms_module::new_bbox
Bbox::Bbox
SeparableTransformation::eval_scalars
Transformation::seq_xy_tups
SeparableTransformation::operator
SeparableTransformation::operator
SeparableTransformation::operator
SeparableTransformation::operator
RendererAgg::draw_polygon
GCAgg::GCAgg
GCAgg::points_to_pixels
GCAgg::get_color
GCAgg::antialiased
GCAgg::_set_linecap
GCAgg::_set_joinstyle
GCAgg::_set_dashes
GCAgg::_set_clip_rectangle
RendererAgg::_get_rgba_face
RendererAgg::rgb_to_color
RendererAgg::set_clipbox_rasterizer
RendererAgg::set_clipbox_rasterizer done
RendererAgg::draw_polygon DONE
---------------------------------------------------------------------------
exceptions.SystemError Traceback (most 
recent call last)
SystemError: ../Objects/moduleobject.c:48: bad argument to internal function
Speicherzugriffsfehler
elcorto@bach:~/Install/Matplotlib/matplotlib-0.83.2$
#########################################################################
This was with GTKAgg. The same happens with Agg, TkAgg, GTK.
This bug really annoys me by now and I'm wondering why mpl 0.82 
installed as Debian package works.
cheers,
steve
From: John H. <jdh...@ac...> - 2005年08月10日 11:37:35
>>>>> "Carlos" == Carlos Pita <car...@ya...> writes:
 Carlos> if at renderer or at artist level. The rulers must follow
 Carlos> the mouse and everytime they are moved the contents
 Carlos> "below" them must be restored. I don't know how to do it
 Carlos> (to save the underlying contents before rendering the
 Carlos> ruler). Another matter is tranformation between data and
 Carlos> screen coordinates, how could I do it? I played a little
 Carlos> with events, line artist and with the renderer api but I
 Carlos> would welcome any clue from you.
matplotlib has very recently added the ability to do just what you
describe (save and restore a background region, selectively draw
certain artists). The details of this are discussed at the matplotlib
wiki http://www.scipy.org/wikis/topical_software/Animations.
Fortunately for you, there is already an Cursor class which uses these
new techniques; See examples/widgets/cursor.py in the last matplotlib
release which uses the Cursor class at
http://matplotlib.sf.net/matplotlib.widgets.html#Cursor. I suggest
studying the source code for the Cursor class in matplotlib.widgets.py
since it implements exactly what you describe and thus will serve as
a good example for you if you want to understand animation further.
There are two modes in the Cursor class: useblit=True and
useblit=False. The former uses the copy/restore region feature you
describe for fast animated drawing and is available in the GTKAgg
backend in the last matplotlib release and in TkAgg in matplotlib CVS.
With useblit=False, cursoring will work but will be slower. Let me
know which backend/GUI you plan to be using.
The other alternative is to use GUI native drawing on top of the
matplotlib FigureCanvas; for the wx backend, there is an example
illustrating this in examples/wxcursor_demo.py.
JDH
From: Carlos P. <car...@ya...> - 2005年08月10日 04:27:02
Hi!
I need to draw ruler lines (parallel to axes) intersecting
the mouse pointer position. That is:
 
 y| |
 |--------------*--------------
 | |
 | |
 | |
 | |
 | |
 +-----------------------------
 x
I'm not sure where is the best place to do such a thing:
if at renderer or at artist level. The rulers
must follow the mouse and everytime they are
moved the contents "below" them must be restored.
I don't know how to do it (to save the underlying
contents before rendering the ruler). Another matter
is tranformation between data and screen coordinates,
how could I do it? I played a little
with events, line artist and with the renderer api but
I would welcome any clue from you.
Thank you in advance.
Regards,
Carlos
	
	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 
From: Fernando P. <Fer...@co...> - 2005年08月10日 04:22:10
Charles Moad wrote:
> I would consider this a python bug, and I just added a quick fix for me.
> 
> Changed line 511 in Prompts.py to say
> 	if self.Pprint and hasattr(arg, '__repr__'):
> instead of
> 	if self.Pprint:
> 
> You probably don't want to add this for everything, but would it be possible to 
> override the display method of the CachedOutput when the pylab option is 
> specified? Further, you could only do this for python v.2.4.
Since it's really a python bug, I'd rather see it fixed upstream than adding 
(yet another) hack in ipython to defend against it. But I also don't want 
ipython to crash for users, that's for sure.
Let's see if John can get his pycxx animals to grow a __repr__, which will fix 
the issue. If that doesn't work, I'll go ahead and stick in a 
version-specific defense layer into Prompts.py to at least help the ipython 
users, while python fixes the problem upstream.
Cheers,
f
From: John H. <jdh...@ac...> - 2005年08月10日 03:51:00
>>>>> "Charles" == Charles Moad <cm...@in...> writes:
 Charles> I would consider this a python bug, and I just added a
 Charles> quick fix for me. Changed line 511 in Prompts.py to say
 Charles> if self.Pprint and hasattr(arg, '__repr__'): instead of
 Charles> if self.Pprint:
 Charles> You probably don't want to add this for everything, but
 Charles> would it be possible to override the display method of
 Charles> the CachedOutput when the pylab option is specified?
 Charles> Further, you could only do this for python v.2.4.
I'll see if I can add repr to all the pycxx mpl classes. Perhaps this
is the cause of the issubclass segfault as well, which would be a
great bonus.
JDH
From: John H. <jdh...@ac...> - 2005年08月10日 03:26:47
>>>>> "Jeff" == Jeff Peery <jef...@se...> writes:
 Jeff> Hello, I'm using scatter to plot markers that I would like
 Jeff> to be transparent, so I use the keyword alpha = 0.2 to set
 Jeff> transparency at 20%. But the markers are not transparent. I
 Jeff> was informed by this list prior that there is a bug with
 Jeff> using plot() and the transparency does not work. Is this the
 Jeff> same bug for scatter as well?
alpha on scatter works for me, eg examples/scatter_demo2.py. Not all
backends support transparency (PS, GTK, WX) but for those that do
(GTKAgg, TkAgg, WXAgg, etc, SVG) it should work fine.
 http://matplotlib.sf.net/examples/scatter_demo2.py
JDH
From: Pina K. <ke...@ho...> - 2005年08月10日 03:09:27
Hi, everyone.
I want to use matplotlib to plot data and render the result in a webpage.
I have found several tutorials showing how to make a temporary file and 
serving that temporary file.
However, I would prefer to use SVG and thought it might make more sense to 
return directly the xml code, without having to write to disk and then 
reading the file again.
I have tried using StringIO without success.
Any ideas on how I can do that?
Thanks in advance for your help.
Kelwin Pina
From: Alan G I. <ai...@am...> - 2005年08月10日 02:43:01
On 2005年8月08日, John Hunter apparently wrote: 
> If the docs are misleading, please provide a patch or 
> a pointer to where the docs are wrong. 
I've never produced a patch before.
It's just a unified diff, right?
Attached.
If I'm doing it wrong, I'm happy to try again.
Cheers, 
Alan 
==================== patch follows =======================
--- texmanager.py	Mon Aug 08 21:28:14 2005
+++ texmanager.py	Mon Aug 08 21:39:21 2005
@@ -1,7 +1,7 @@
 """
 This module supports embedded TeX expressions in matplotlib via dvipng
 and dvips for the raster and postscript backends. The tex and
-dvipng/dvips information is cached in ~/.tex.cache for reuse between
+dvipng/dvips information is cached in ~/.matplotlib/tex.cache for reuse between
 sessions
 
 Requirements:
@@ -26,8 +26,10 @@
 Z = self.texmanager.get_rgba(s, size=12, dpi=80, rgb=(1,0,0))
 
 To enable tex rendering of all text in your matplotlib figure, set
-text.usetex in your matplotlibrc file
-(http://matplotlib.sf.net/matplotlibrc)
+text.usetex in your matplotlibrc file (http://matplotlib.sf.net/matplotlibrc)
+or include these two lines in your script:
+from matplotlib import rc
+rc('text', usetex=True)
 
 """
 
3 messages has been excluded from this view by a project administrator.

Showing results of 280

<< < 1 .. 6 7 8 9 10 .. 12 > >> (Page 8 of 12)
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 によって変換されたページ (->オリジナル) /