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






Showing 10 results of 10

From: Darren D. <dd...@co...> - 2005年07月30日 14:24:07
On Saturday 30 July 2005 06:18 am, kristen kaasbjerg wrote:
> Dear John
>
> When running the tex_demo.py script I just get a gray
> figure canvas (no curves or anything) and the
> following error message:
[...]
> "C:\Python24\Lib\site-packages\matplotlib\texmanager.py",
> line 296, in get_rgba
> X = readpng(pngfile)
> RuntimeError: _image_module::readpng could not open
> PNG file C:\Documents and
> Settings\Kristen\.matplotlib\tex.cache30565円a8911a6bb487e3745c0ea3c8224_96.
>png for reading
> ______________________________________________________
>
> Any idea of what I'm missing??
Do you have dvipng installed? 
-- 
Darren
From: Gary R. <gr...@bi...> - 2005年07月30日 13:47:46
Hi Kristen,
Looks like you're using the latest version of the relevant file from 
cvs, so I'm not sure what's going on. We'll have to hope for comment 
from the others. I just wanted to say thanks for that version 
information which may help me when I look at this stuff again in a 
couple of weeks. I hope others can sort out your problem in the meantime.
Gary R.
kristen kaasbjerg wrote:
> Hi Gary
> 
> I'm using windows XP, matplotlib 0.83.2, python 2.4
> and latex2e.
> 
> Kristen
<snip>
From: kristen k. <co...@ya...> - 2005年07月30日 13:27:04
Hi Gary
I'm using windows XP, matplotlib 0.83.2, python 2.4
and latex2e.
Kristen
--- Gary Ruben <gr...@bi...> wrote:
> Hi Kristen,
> Last time I looked (a couple of weeks ago), there
> were problems in this
> area of matplotlib with LaTeX not being invoked
> properly.
> Can you please tell us what version of Windows,
> matplotlib and which
> LaTeX distribution you are using.
> I was intending to have another look at the code in
> a week or so from
> now. I'm unable to spend time on it until then.
> However, it looks like
> someone has made more recent changes to the relevant
> code, so I'd
> encourage you to try the latest version of
> matplotlib if the version
> you're using is more that a couple of weeks old. You
> may find that the
> problem you are seeing has been fixed.
> Please report back if you have success after doing
> this.
> Gary R.
> 
> kristen kaasbjerg wrote:
> > Dear John
> > 
> > When running the tex_demo.py script I just get a
> gray
> > figure canvas (no curves or anything) and the
> > following error message:
> > __________________________________________________
> > Exception in Tkinter callback
> > Traceback (most recent call last):
> > File "C:\Python24\lib\lib-tk\Tkinter.py", line
> 1345,
> > in __call__
> > return self.func(*args)
> > File
> >
>
"C:\Python24\Lib\site-packages\matplotlib\backends\backend_tkagg.py",
> > line 148, in resize
> > self.show()
> > File
> >
>
"C:\Python24\Lib\site-packages\matplotlib\backends\backend_tkagg.py",
> > line 151, in draw
> > FigureCanvasAgg.draw(self)
> > File
> >
>
"C:\Python24\Lib\site-packages\matplotlib\backends\backend_agg.py",
> > line 381, in draw
> > self.figure.draw(renderer)
> > File
> >
>
"C:\Python24\Lib\site-packages\matplotlib\figure.py",
> > line 511, in draw
> > for a in self.axes: a.draw(renderer)
> > File
> >
> "C:\Python24\Lib\site-packages\matplotlib\axes.py",
> > line 1387, in draw
> > self.xaxis.draw(renderer)
> > File
> >
> "C:\Python24\Lib\site-packages\matplotlib\axis.py",
> > line 552, in draw
> > tick.draw(renderer)
> > File
> >
> "C:\Python24\Lib\site-packages\matplotlib\axis.py",
> > line 151, in draw
> > if self.label1On: self.label1.draw(renderer)
> > File
> >
> "C:\Python24\Lib\site-packages\matplotlib\text.py",
> > line 848, in draw
> > self._mytext.draw(renderer)
> > File
> >
> "C:\Python24\Lib\site-packages\matplotlib\text.py",
> > line 335, in draw
> > bbox, info = self._get_layout(renderer)
> > File
> >
> "C:\Python24\Lib\site-packages\matplotlib\text.py",
> > line 184, in _get_layout
> > w,h = renderer.get_text_width_height(
> > File
> >
>
"C:\Python24\Lib\site-packages\matplotlib\backends\backend_agg.py",
> > line 241, in get_text_width_height
> > Z = self.texmanager.get_rgba(s, size, dpi,
> rgb)
> > File
> >
>
"C:\Python24\Lib\site-packages\matplotlib\texmanager.py",
> > line 296, in get_rgba
> > X = readpng(pngfile)
> > RuntimeError: _image_module::readpng could not
> open
> > PNG file C:\Documents and
> >
>
Settings\Kristen\.matplotlib\tex.cache30565円a8911a6bb487e3745c0ea3c8224_96.png
> > for reading
> >
>
______________________________________________________
> > 
> > Any idea of what I'm missing??
> > 
> > Kristen
> 
> 
> 
> 
>
-------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies
> from IBM. Find simple to follow Roadmaps,
> straightforward articles,
> informative Webcasts and more! Get everything you
> need to get up to
> speed, fast.
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
>
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
From: Darren D. <dd...@co...> - 2005年07月30日 13:05:45
On Saturday 30 July 2005 08:52 am, Gary Ruben wrote:
> Hi Kristen,
> Last time I looked (a couple of weeks ago), there were problems in this
> area of matplotlib with LaTeX not being invoked properly.
> Can you please tell us what version of Windows, matplotlib and which
> LaTeX distribution you are using.
> I was intending to have another look at the code in a week or so from
> now. I'm unable to spend time on it until then. However, it looks like
> someone has made more recent changes to the relevant code, so I'd
> encourage you to try the latest version of matplotlib if the version
> you're using is more that a couple of weeks old. You may find that the
> problem you are seeing has been fixed.
> Please report back if you have success after doing this.
> Gary R.
Sascha found some problems with the way commands were being passed, which only 
effected windows. I commited her patches.
Sascha, could you comment?.
From: Alan G I. <ai...@am...> - 2005年07月30日 13:03:22
On 2005年7月30日, Gary Ruben apparently wrote: 
> Last time I looked (a couple of weeks ago), there were problems in this 
> area of matplotlib with LaTeX not being invoked properly. 
How does Matplotlib find TeX?
Can it be directed to a specific distribution?
Thanks,
Alan
From: Alan G I. <ai...@am...> - 2005年07月30日 13:03:21
On 2005年7月30日, kristen kaasbjerg apparently wrote: 
> RuntimeError: _image_module::readpng could not open 
> PNG file C:\Documents and 
> Settings\Kristen\.matplotlib\tex.cache30565円a8911a6bb487e3745c0ea3c8224_96.png 
> for reading 
> ______________________________________________________ 
> Any idea of what I'm missing?? 
Not really, but I wonder if it is related to my problem 
below. Both look like a temp file cannot be found.
I am on Win2000; how about you?
Alan Isaac
Traceback (most recent call last):
 File "C:\temp8.py", line 30, in ?
 savefig('/temp.eps')
 File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 773, in savefig
 return fig.savefig(*args, **kwargs)
 File "C:\Python24\Lib\site-packages\matplotlib\figure.py", line 636, in savefig
 self.canvas.print_figure(*args, **kwargs)
 File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 179, in print_figure
 agg.print_figure(filename, dpi, facecolor, edgecolor, orientation)
 File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_agg.py", line 474, in print_figure
 ps.print_figure(filename, dpi, facecolor, edgecolor, orientation)
 File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_ps.py", line 1103, in print_figure
 shutil.move(epsfile, outfile)
 File "C:\Python24\lib\shutil.py", line 189, in move
 copy2(src,dst)
 File "C:\Python24\lib\shutil.py", line 92, in copy2
 copyfile(src, dst)
 File "C:\Python24\lib\shutil.py", line 47, in copyfile
 fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '80bc875819e5bf1b449889aadd91b3af.eps'
From: Gary R. <gr...@bi...> - 2005年07月30日 12:57:21
Hi Kristen,
Last time I looked (a couple of weeks ago), there were problems in this
area of matplotlib with LaTeX not being invoked properly.
Can you please tell us what version of Windows, matplotlib and which
LaTeX distribution you are using.
I was intending to have another look at the code in a week or so from
now. I'm unable to spend time on it until then. However, it looks like
someone has made more recent changes to the relevant code, so I'd
encourage you to try the latest version of matplotlib if the version
you're using is more that a couple of weeks old. You may find that the
problem you are seeing has been fixed.
Please report back if you have success after doing this.
Gary R.
kristen kaasbjerg wrote:
> Dear John
> 
> When running the tex_demo.py script I just get a gray
> figure canvas (no curves or anything) and the
> following error message:
> __________________________________________________
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "C:\Python24\lib\lib-tk\Tkinter.py", line 1345,
> in __call__
> return self.func(*args)
> File
> "C:\Python24\Lib\site-packages\matplotlib\backends\backend_tkagg.py",
> line 148, in resize
> self.show()
> File
> "C:\Python24\Lib\site-packages\matplotlib\backends\backend_tkagg.py",
> line 151, in draw
> FigureCanvasAgg.draw(self)
> File
> "C:\Python24\Lib\site-packages\matplotlib\backends\backend_agg.py",
> line 381, in draw
> self.figure.draw(renderer)
> File
> "C:\Python24\Lib\site-packages\matplotlib\figure.py",
> line 511, in draw
> for a in self.axes: a.draw(renderer)
> File
> "C:\Python24\Lib\site-packages\matplotlib\axes.py",
> line 1387, in draw
> self.xaxis.draw(renderer)
> File
> "C:\Python24\Lib\site-packages\matplotlib\axis.py",
> line 552, in draw
> tick.draw(renderer)
> File
> "C:\Python24\Lib\site-packages\matplotlib\axis.py",
> line 151, in draw
> if self.label1On: self.label1.draw(renderer)
> File
> "C:\Python24\Lib\site-packages\matplotlib\text.py",
> line 848, in draw
> self._mytext.draw(renderer)
> File
> "C:\Python24\Lib\site-packages\matplotlib\text.py",
> line 335, in draw
> bbox, info = self._get_layout(renderer)
> File
> "C:\Python24\Lib\site-packages\matplotlib\text.py",
> line 184, in _get_layout
> w,h = renderer.get_text_width_height(
> File
> "C:\Python24\Lib\site-packages\matplotlib\backends\backend_agg.py",
> line 241, in get_text_width_height
> Z = self.texmanager.get_rgba(s, size, dpi, rgb)
> File
> "C:\Python24\Lib\site-packages\matplotlib\texmanager.py",
> line 296, in get_rgba
> X = readpng(pngfile)
> RuntimeError: _image_module::readpng could not open
> PNG file C:\Documents and
> Settings\Kristen\.matplotlib\tex.cache30565円a8911a6bb487e3745c0ea3c8224_96.png
> for reading
> ______________________________________________________
> 
> Any idea of what I'm missing??
> 
> Kristen
From: kristen k. <co...@ya...> - 2005年07月30日 10:18:56
Dear John
When running the tex_demo.py script I just get a gray
figure canvas (no curves or anything) and the
following error message:
__________________________________________________
Exception in Tkinter callback
Traceback (most recent call last):
 File "C:\Python24\lib\lib-tk\Tkinter.py", line 1345,
in __call__
 return self.func(*args)
 File
"C:\Python24\Lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 148, in resize
 self.show()
 File
"C:\Python24\Lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 151, in draw
 FigureCanvasAgg.draw(self)
 File
"C:\Python24\Lib\site-packages\matplotlib\backends\backend_agg.py",
line 381, in draw
 self.figure.draw(renderer)
 File
"C:\Python24\Lib\site-packages\matplotlib\figure.py",
line 511, in draw
 for a in self.axes: a.draw(renderer)
 File
"C:\Python24\Lib\site-packages\matplotlib\axes.py",
line 1387, in draw
 self.xaxis.draw(renderer)
 File
"C:\Python24\Lib\site-packages\matplotlib\axis.py",
line 552, in draw
 tick.draw(renderer)
 File
"C:\Python24\Lib\site-packages\matplotlib\axis.py",
line 151, in draw
 if self.label1On: self.label1.draw(renderer)
 File
"C:\Python24\Lib\site-packages\matplotlib\text.py",
line 848, in draw
 self._mytext.draw(renderer)
 File
"C:\Python24\Lib\site-packages\matplotlib\text.py",
line 335, in draw
 bbox, info = self._get_layout(renderer)
 File
"C:\Python24\Lib\site-packages\matplotlib\text.py",
line 184, in _get_layout
 w,h = renderer.get_text_width_height(
 File
"C:\Python24\Lib\site-packages\matplotlib\backends\backend_agg.py",
line 241, in get_text_width_height
 Z = self.texmanager.get_rgba(s, size, dpi, rgb)
 File
"C:\Python24\Lib\site-packages\matplotlib\texmanager.py",
line 296, in get_rgba
 X = readpng(pngfile)
RuntimeError: _image_module::readpng could not open
PNG file C:\Documents and
Settings\Kristen\.matplotlib\tex.cache30565円a8911a6bb487e3745c0ea3c8224_96.png
for reading
______________________________________________________
Any idea of what I'm missing??
Kristen
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
From: Vidar G. <vid...@37...> - 2005年07月30日 09:31:54
===== Original message from Gary Ruben | 2005年7月30日:
> "There are appendices that contrast Python/numarray with IDL, I'd be
> happy to include the equivalent for Matlab if anyone who is familiar
> with both would like to write such appendices."
adding IDL commands to the XML instance, it will be easy to
create an IDL, Python/numarray, Matlab cross reference.
it can typeset in any way preferred for inclusion in other
documents.
> It may be nice for your guide to become part of the appendix of that 
> document, and also to live a separate existence, as Vicki suggests may
> happen with the current IDL appendix. Whatever happens, I think it
> would be a good idea for these documents to be married in some way.
this openness is my intension entirely, distibuting the mpy-xref
under GFDL: i can do this work, and anyone else may.
i was wondering, are IDL, PDL (Perl Data Language) and GDL
(GNU Data Language) compliant like MATLAB and Octave or
R and S+, or are there larger differences between these
syntaxes?
-- 
Vidar Bronken Gundersen
From: Gary R. <gr...@bi...> - 2005年07月30日 05:23:08
Good work Vidar.
The Appendix Vicki mentions is in a great document which was mentioned
on the scipy list.
Perry Greenfield, one of the authors, says:
"There are appendices that contrast Python/numarray with IDL, I'd be
happy to include the equivalent for Matlab if anyone who is familiar
with both would like to write such appendices."
It may be nice for your guide to become part of the appendix of that 
document, and also to live a separate existence, as Vicki suggests may 
happen with the current IDL appendix. Whatever happens, I think it would 
be a good idea for these documents to be married in some way.
Gary
Victoria G. Laidler wrote:
> There's a matplotlib cheat sheet for IDL users as Appendix D of the 
> recently posted tutorial
> on using Python for data analysis in astronomy.
> 
> http://www.scipy.org/wikis/topical_software/Tutorial
> http://stsdas.stsci.edu/perry/pydatatut.pdf
> 
> The tutorial PDF document is rather large; appendix D runs from pages 
> 128-135.
> Maybe we'll split it off into a separate document and post it on the new 
> matplotlib wiki.
> 
> Vicki Laidler

Showing 10 results of 10

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





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

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

More information about our ad policies

Ad destination/click URL:

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