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



Showing results of 432

<< < 1 .. 7 8 9 10 11 .. 18 > >> (Page 9 of 18)
From: Jouni K. S. <jk...@ik...> - 2008年12月15日 16:47:02
"Haibao Tang" <tan...@gm...> writes:
> However, the following issue is still there. In the following script, I try
> to display an image in a pdf. This would run. Now please change the
> maize.pdf to maize.png and generate yet another file. Zoom and look closely
> at the two files generated. You see that the pdf quality is substantially
> lower than the png.
I can reproduce this; it looks like I introduced this bug in revision
4933, which was necessary to fix another problem, and never got back to
fixing the problem that the change caused with image resolution. I'll
look into this tonight (Finnish time). Thanks for the report!
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Angus M. <am...@gm...> - 2008年12月15日 16:46:36
Hi guys,
I'm trying to use sphinx and your mathmpl extension to document some
of my own code, but I'm getting an error saying, in the simplest
instance:
Warning: Could not render math expression $alpha$
Is mathmpl dependent on a particular version of sphinx? I'm using
0.4.2-1 from debian at the moment. If that's not the problem, any idea
what else could be going wrong?
Thanks,
Angus.
-- 
AJC McMorland
Post-doctoral research fellow
Neurobiology, University of Pittsburgh
From: Michael D. <md...@st...> - 2008年12月15日 16:39:02
I'm having trouble getting your C code to compile (maybe a gsl version 
mismatch...?)
In the meantime, perhaps you could try something for me.
If you add the kwarg "solid_joinstyle='bevel'" or 
"solid_joinstyle='round'" to your plot command, does that improve 
things? If so, we could consider changing the default.
Cheers,
Mike
mtcoder wrote:
> All, 
>
> Thanks for the quick and informative responses. I've attached the code
> (testode.c). It requires the GSL library. I've also attached the script I
> was using to read and plot the data (odetest.py). [Note: If you do any tests
> with the python script make sure to change the savefig directory in plot()
> to something local. ]
>
> http://www.nabble.com/file/p20996825/testode.zip testode.zip test code
>
> John: I'm using evince to view pdf's (but acroread produces the same
> behavior as Michael's attachments showed). 
>
> Michael: I changed the backend to Cairo and saved the figures directly to
> pdf. Same results. To be clear, to do this I changed the matplotlibrc file
> (backend GTKAgg -> Cairo) and then changed the filename in savefig to end
> with ".pdf". I assume that is what you had in mind. 
>
> In addition, as requested here are two screenshots in png format of the
> actual pylab/matplotlib output:
>
> http://www.nabble.com/file/p20996825/odetest_pylabimg.png
> odetest_pylabimg.png output
> http://www.nabble.com/file/p20996825/odetest_pylabimg_zoom.png
> odetest_pylabimg_zoom.png output zoomed. 
>
> Thanks for the help,
> -Jesse
>
>
> Michael Droettboom-3 wrote:
> 
>> Also -- for mtcoder:
>>
>> Can you send us the script that generates your plot?
>>
>> Also, if you set your backend to Cairo, and then generate the pdf, to 
>> you get the same result?
>>
>> Cheers,
>> Mike
>>
>> Michael Droettboom wrote:
>> 
>>> There's something funny going on with line caps, maybe? It looks like 
>>> the corners aren't getting capped in the same way as Agg does.
>>>
>>> I've created screenshots of Jesse's pdf file in acrobat and evince.
>>>
>>> Any thought, Jouni?
>>>
>>> Cheers,
>>> Mike
>>>
>>> John Hunter wrote:
>>> 
>>>> On Thu, Dec 11, 2008 at 11:16 PM, mtcoder <jbe...@gm...> wrote:
>>>>
>>>> 
>>>> 
>>>>> http://www.nabble.com/file/p20970084/testode.rk45.a0.99.eps1e-07.pdf
>>>>> testode.rk45.a0.99.eps1e-07.pdf . This comes from a completely 
>>>>> deterministic
>>>>> ode. But is looks like I've added a tiny amount of noise.
>>>>>
>>>>> On a technical note, I'm running Ubuntu 8.04, python2.5.1, 
>>>>> matplotlib0.91.2
>>>>> (with GTKAgg backend).
>>>>>
>>>>> (Hopefully I didn't miss a similar question--and solution--elsewhere 
>>>>> in the
>>>>> forum.)
>>>>> 
>>>>> 
>>>> My guess is that you may be seeing the antialiasing of your pdf
>>>> renderer. matplotlib has a pretty good antialiasing renderer for the
>>>> screen display (antigrain) but your mileage may vary for your pdf
>>>> renderer. Since pdf is a vector output, we have no control over the
>>>> renderering. What pdf viewer are you using? The best way for us to
>>>> see what you are seeing is to take a PNG screenshot of your PDF file
>>>> displayed in your viewer and then post the PNG. Ie, here is what I am
>>>> seeing in the Preview app: the fuzziness is from the antialiasing, but
>>>> I am used to seeing this.
>>>> 
>>>> ------------------------------------------------------------------------
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> ------------------------------------------------------------------------------ 
>>>>
>>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, 
>>>> Nevada.
>>>> The future of the web can't happen without you. Join us at MIX09 to 
>>>> help
>>>> pave the way to the Next Web now. Learn more and register at
>>>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ 
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Matplotlib-users mailing list
>>>> Mat...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>> 
>>>> 
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------------
>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>>> Nevada.
>>> The future of the web can't happen without you. Join us at MIX09 to help
>>> pave the way to the Next Web now. Learn more and register at
>>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Matplotlib-users mailing list
>>> Mat...@li...
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>> 
>>> 
>> ------------------------------------------------------------------------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>> Nevada.
>> The future of the web can't happen without you. Join us at MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>> 
>
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Michael D. <md...@st...> - 2008年12月15日 16:31:21
Attachments: screenshots.png
Keep in mind that we can't control the kind of interpolation used by the 
PDF viewer. I don't know if that is what you're seeing.
I'm not seeing a loss in quality in PDF. I do, however, see a different 
color profile being applied by acroread (making the corn husk appear 
darker). matplotlib is completely ignorant of any sort of icc profiles 
etc., so it's possible it's doing the wrong thing in that regard. It 
also could be that acroread is one of the few applications on my Linux 
box that cares about color profiles at all, and it is "right" when 
everything else is "wrong".
Is the difference seen in my attached screenshot what you're referring 
to, or are you seeing something worse? What pdf viewer are you using? 
Are you using the Cairo backend?
Mike
Haibao Tang wrote:
> I have raised two issues on imshow with pdf backend weeks ago since 
> the upgrade from 0.91 to 0.98. I am happy to see one of them already 
> fixed.
>
> However, the following issue is still there. In the following script, 
> I try to display an image in a pdf. This would run. Now please change 
> the maize.pdf to maize.png and generate yet another file. Zoom and 
> look closely at the two files generated. You see that the pdf quality 
> is substantially lower than the png.
>
> I wonder if anyone would reproduce it and ... any way to solve it.
>
> -----------------------------------------------------------
> from matplotlib.pyplot import *
> from urllib import urlretrieve
>
> figure(1,(6,6))
> root = axes([0,0,1,1])
>
> urlretrieve("http://www.alexandrajones.co.uk/images/large/maize.jpg","maize_raw.jpg")
> img = imread("maize_raw.jpg")
> root.imshow(img)
>
> root.set_axis_off()
> savefig("maize.pdf")
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: John H. <jd...@gm...> - 2008年12月15日 16:21:04
On Mon, Dec 15, 2008 at 9:44 AM, John Hunter <jd...@gm...> wrote:
> By default matplotlib overplots, so every time you call plot a new
> line is added to the canvas. You can turn this behavior off using the
> hold method
Sorry, on second look it appears you have a more serious problem.
Typically you want to create your figure and canvas just once and add
it to your GUI. And then when the user clicks plot, just draw to the
existing axes
def __init__():
 self.figure = some code
 self.canvas = some code
 self.axes = some code
def onclick(self):
 self.axes.cla() # clear if you want
 self.axes.plot(something)
Ie, you want to reuse the same figure/canvas/axes instead of
recreating them all the time
From: Alexander C. <ale...@gm...> - 2008年12月15日 15:45:47
Hi,
John Hunter-4 wrote:
> 
> On Sun, Dec 14, 2008 at 6:25 PM, Mauro Cavalcanti <mau...@gm...>
> wrote:
>> I have experienced a strange problem when installing Matplotlib 0.98.5
>> using Easy_Install under Ubuntu Hardy. I receive a message like this:
>> "error: lib/matplotlib/mpl-data/matplotlib.conf.template: No such file
>> or directory " (etc.). I then tried sudo aptitude install
>> python-matplotlib, that gives no errors, but also do not install the
>> new version. In the end, I had to install from the source (and this,
>> of course, worked well).
>>
>> Does anyone else have seen this problem (and, if so, has a solution to
>> it)?
> 
> Could you please post the entire shell session -- the command you run
> and all the output?
> 
I experience the same problem. Full shell session (of one
command ;) is following:
~$ sudo easy_install matplotlib
Searching for matplotlib
Reading http://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.sourceforge.net
Reading
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
Reading
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Best match: matplotlib 0.98.5
Downloading
http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.5.tar.gz?modtime=1229034572&big_mirror=0
Processing matplotlib-0.98.5.tar.gz
Running matplotlib-0.98.5/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-fpPLdN/matplotlib-0.98.5/egg-dist-tmp-0LZ25S
============================================================================
BUILDING MATPLOTLIB
 matplotlib: 0.98.5
 python: 2.5.2 (r252:60911, Oct 5 2008, 19:29:17) [GCC
 4.3.2]
 platform: linux2
REQUIRED DEPENDENCIES
 numpy: 1.1.1
 freetype2: 9.18.3
OPTIONAL BACKEND DEPENDENCIES
 libpng: 1.2.27
 Tkinter: no
 * Using default library and include directories for
 * Tcl and Tk because a Tk window failed to open.
 * You may need to define DISPLAY for Tk to work so
 * that setup can determine where your libraries are
 * located. Tkinter present, but header files are not
 * found. You may need to install development
 * packages.
 wxPython: 2.8.8.0
 * WxAgg extension not required for wxPython >= 2.8
 pkg-config: looking for pygtk-2.0 gtk+-2.0
 * Package pygtk-2.0 was not found in the pkg-config
 * search path. Perhaps you should add the directory
 * containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH
 * environment variable No package 'pygtk-2.0' found
 * You may need to install 'dev' package(s) to
 * provide header files.
 Gtk+: no
 * Could not find Gtk+ headers in any of
 * '/usr/local/include', '/usr/include', '.'
 Mac OS X native: no
 Qt: no
 Qt4: no
 Cairo: 1.4.12
OPTIONAL DATE/TIMEZONE DEPENDENCIES
 datetime: present, version unknown
 dateutil: 1.4
 pytz: 2008b
OPTIONAL USETEX DEPENDENCIES
 dvipng: 1.11
 ghostscript: 8.63
 latex: 3.141592
 pdftops: 3.00
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
 configobj: matplotlib will provide
 enthought.traits: no
[Edit setup.cfg to suppress the above messages]
============================================================================
error: lib/matplotlib/mpl-data/matplotlib.conf.template: No such file or
directory
Exception exceptions.OSError: (2, 'No such file or directory',
'src/image.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x2fd7d40>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/path.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x2fd7200>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x2fd7b90>> ignored
--
Regards,
Alexander Chemeris.
SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
-- 
View this message in context: http://www.nabble.com/Error-installing-matplotlib-0.98.5-tp21006554p21016170.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: John H. <jd...@gm...> - 2008年12月15日 15:45:00
On Mon, Dec 15, 2008 at 6:20 AM, vehemental <jim...@gm...> wrote:
> The program is working as expected...except memory wise...the program keeps
> growing...
> each time plot is pressed it's growing...I believe it's due to some poor
> programming on my side, but I can't really put my finger on it right now. I
> suspect that I have 2 competing mainloop maybe but i' m not really sure
By default matplotlib overplots, so every time you call plot a new
line is added to the canvas. You can turn this behavior off using the
hold method
 ax.hold(False)
or setting the axes.hold rc parameter -- see
http://matplotlib.sourceforge.net/users/customizing.html
JDH
From: John H. <jd...@gm...> - 2008年12月15日 15:40:39
On Mon, Dec 15, 2008 at 1:08 AM, Scott Lasley <sl...@sp...> wrote:
> Hello,
>
> I used your new beta installer to install matplotlib on a G5 running
> OS X 10.5.5. I tried the contour demo and got this error
>
> pylab_examples$ pythonw contour_demo.py
> Traceback (most recent call last):
> File "contour_demo.py", line 12, in <module>
> import matplotlib.pyplot as plt
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/matplotlib/pyplot.py", line 6, in <module>
> from matplotlib.figure import Figure, figaspect
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/matplotlib/figure.py", line 19, in <module>
> from axes import Axes, SubplotBase, subplot_class_factory
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/matplotlib/axes.py", line 18, in <module>
> import matplotlib.image as mimage
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/matplotlib/image.py", line 19, in <module>
> from matplotlib import _png
> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/
> lib/python2.5/site-packages/matplotlib/_png.so, 2): Symbol not found:
> _png_destroy_read_struct
> Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/
> lib/python2.5/site-packages/matplotlib/_png.so
> Expected in: dynamic lookup
Hi Scott -- thanks for the report. Could you post the output of
otool -L /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/_png.so
JDH
From: Haibao T. <tan...@gm...> - 2008年12月15日 15:18:10
I have raised two issues on imshow with pdf backend weeks ago since the
upgrade from 0.91 to 0.98. I am happy to see one of them already fixed.
However, the following issue is still there. In the following script, I try
to display an image in a pdf. This would run. Now please change the
maize.pdf to maize.png and generate yet another file. Zoom and look closely
at the two files generated. You see that the pdf quality is substantially
lower than the png.
I wonder if anyone would reproduce it and ... any way to solve it.
-----------------------------------------------------------
from matplotlib.pyplot import *
from urllib import urlretrieve
figure(1,(6,6))
root = axes([0,0,1,1])
urlretrieve("http://www.alexandrajones.co.uk/images/large/maize.jpg
","maize_raw.jpg")
img = imread("maize_raw.jpg")
root.imshow(img)
root.set_axis_off()
savefig("maize.pdf")
From: TP <par...@fr...> - 2008年12月15日 14:41:10
Michael Droettboom wrote:
 
> This has now been fixed in SVN r6608.
> This has also been fixed in SVN r6609.
Impressive!
Thanks a lot, now it works perfectly!
One hour ago, I discover a bug with cursors (obtained with axvline): the pan
didn't work well with cursors (some cursors remain at the same place). With
your modification, this bug has also disappeared!
Julien
-- 
python -c "print ''.join([chr(154 - ord(c)) for c in '*9(9&(18%.\
9&1+,\'Z4(55l4('])"
"When a distinguished but elderly scientist states that something is
possible, he is almost certainly right. When he states that something is
impossible, he is very probably wrong." (first law of AC Clarke)
From: Michael D. <md...@st...> - 2008年12月15日 14:19:21
Michael Droettboom wrote:
> TP wrote:
> 
>> Hi everybody,
>>
>> I encounter a strange behavior of TKAgg backend with Matplotlib 0.98.5 and
>> SVN versions, when panning: the grid lines do not always match the ticks on
>> the axes:
>>
>> http://paratribulations.free.fr/help/pan_behavior/strange_lines_when_panning.png
>>
>> Here is the corresponding script:
>>
>> http://paratribulations.free.fr/help/pan_behavior/test.py
>>
>> This problem does not appear with Matplotlib 0.91.2.
>> Do you reproduce the same strange grid lines with 0.98.5 and SVN version?
>> Try to pan the curve in all directions, it is rather easy to make this bug
>> appear.
>> 
>> 
> Thanks for this report. This is a very serious bug, that I suspect was 
> introduced when trying to resolve a log-scale related transforms bug a 
> while back. I'll have to look into this further.
> 
This has now been fixed in SVN r6608.
>> Just another question: is it normal that on my computer TKAgg has more
>> antialiasing in 0.98.5 than in 0.91.2? Look at the same plot in 0.91.2
>> here:
>>
>> http://paratribulations.free.fr/help/pan_behavior/less_antialiasing_in_0_91_2.png
>> 
>> 
> Fixing the fuzzy axes rectangle was deliberate. The lighter grid lines 
> was not. That is also a bug that will need to be fixed.
> 
This has also been fixed in SVN r6609.
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Michael D. <md...@st...> - 2008年12月15日 14:02:42
TP wrote:
> Hi everybody,
>
> I encounter a strange behavior of TKAgg backend with Matplotlib 0.98.5 and
> SVN versions, when panning: the grid lines do not always match the ticks on
> the axes:
>
> http://paratribulations.free.fr/help/pan_behavior/strange_lines_when_panning.png
>
> Here is the corresponding script:
>
> http://paratribulations.free.fr/help/pan_behavior/test.py
>
> This problem does not appear with Matplotlib 0.91.2.
> Do you reproduce the same strange grid lines with 0.98.5 and SVN version?
> Try to pan the curve in all directions, it is rather easy to make this bug
> appear.
> 
Thanks for this report. This is a very serious bug, that I suspect was 
introduced when trying to resolve a log-scale related transforms bug a 
while back. I'll have to look into this further.
> Just another question: is it normal that on my computer TKAgg has more
> antialiasing in 0.98.5 than in 0.91.2? Look at the same plot in 0.91.2
> here:
>
> http://paratribulations.free.fr/help/pan_behavior/less_antialiasing_in_0_91_2.png
> 
Fixing the fuzzy axes rectangle was deliberate. The lighter grid lines 
was not. That is also a bug that will need to be fixed.
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Jeff W. <js...@fa...> - 2008年12月15日 12:55:15
Mauro Cavalcanti wrote:
> Dear Jeff,
>
> Sorry for the delay in replying. I have been trying to deal with a
> problem when upgrading MPL (I presume should use the latest version of
> Basemap with the latest version of MPL).
> 
Mauro: It's a good idea, but not necessary.
-Jeff
> 2008年12月13日 Jeff Whitaker <js...@fa...>:
> 
>> Mauro: I realize that - but if you can test the SVN version then I can make
>> a new release before you release your app.
>>
>> 
>
> I have not considered this possibility -- thank you ***very much*** again!
>
> I downloaded the tarball package from svn and will install soon. Will
> report the results later.
>
> With best regards,
>
> 
-- 
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449
325 Broadway Boulder, CO, USA 80305-3328
From: vehemental <jim...@gm...> - 2008年12月15日 12:22:33
Hello,
I' m new to MPL...and rather new to Python...
so I hope I wont say too much stupidities...
I' m writing a little Fileviewer...that will plot the data of the
file...depending on some user inputs (not implemented yet)
so I started playing around...using the Tk embbeded plot exemple...
I added a "Plot" button in particular...that will plot the figure each time
it is pressed...
The program is working as expected...except memory wise...the program keeps
growing...
each time plot is pressed it's growing...I believe it's due to some poor
programming on my side, but I can't really put my finger on it right now. I
suspect that I have 2 competing mainloop maybe but i' m not really sure
If you guys could help me...
here's the source:
from Tkinter import *
import matplotlib
matplotlib.use('TkAgg')
from numpy import arange, sin, pi
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg,
FigureCanvasAgg
from matplotlib.figure import Figure
class SegDviewer():
 """class for the SegD viewer"""
 
 def __init__(self):
 """window constructor"""
 self.already_plotted = False
 self.iter = 0
 
 
 self.root = Tk()
 self.root.title("Viewer a la con")
 self.draw_button()
 self.draw_frame()
 self.root.mainloop()
 
 
 def draw_button(self):
 """places the buttons on the window"""
 Button(self.root, text = "Open" , width = 9, command =
self.openchoose ).pack( side = TOP )
 Button(self.root, text = "Plot" , width = 9, command =
self.showplot ).pack()
 Button(self.root, text = "Quit" , width = 9, command =
self.root.quit ).pack( side = BOTTOM)
 
 def openchoose(self):
 """open a file chooser"""
 import tkFileDialog
 
 return tkFileDialog.askopenfilename()
 
 def draw_frame(self):
 """ """
 self.myFrame = Frame(self.root, bg = 'Dark grey', height = 4*100,
width = 10*100)
 self.myFrame.pack( side = RIGHT )
 
 def showplot(self):
 """ """ 
 
 try:
 # 
 self.mycanvas._tkcanvas.destroy()
 # #self.myCanvas.delete(ALL)
 # #self.mycanvas.destroy()
 except:
 print "there was nothing to destroy"
 
 if (True):
 #self.myCanvas = Canvas(self.myFrame, bg = 'Dark grey', height =
4*100, width = 10*100)
 self.f = Figure(figsize=(10,4), dpi=100)
 
 a = self.f.add_subplot(111) 
 t = arange(0.0,5.0,0.1)
 
 s = sin(self.iter*pi*t)
 
 a.plot(t,s)
 #a.set_title('channel')
 #a.set_xlabel('X axis label')
 #a.set_ylabel('Y label')
 self.mycanvas = FigureCanvasTkAgg(self.f, master = self.myFrame)
 self.mycanvas.draw()
 #self.mycanvas.get_tk_widget().pack(side=TOP)
 self.mycanvas._tkcanvas.pack(side=TOP, fill=BOTH, expand=1)
 # a tk.DrawingArea
 
 
 #self.myCanvas.pack()
 #self.mycanvas.draw()
 
 self.iter = self.iter + 1
 
 
application = SegDviewer() 
 
-- 
View this message in context: http://www.nabble.com/Correct-usage-of-Mpl-backend...-tp21012938p21012938.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Mauro C. <mau...@gm...> - 2008年12月15日 11:22:01
Dear Jeff,
Sorry for the delay in replying. I have been trying to deal with a
problem when upgrading MPL (I presume should use the latest version of
Basemap with the latest version of MPL).
2008年12月13日 Jeff Whitaker <js...@fa...>:
>
> Mauro: I realize that - but if you can test the SVN version then I can make
> a new release before you release your app.
>
I have not considered this possibility -- thank you ***very much*** again!
I downloaded the tarball package from svn and will install soon. Will
report the results later.
With best regards,
-- 
Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail: mau...@gm...
Web: http://studio.infobio.net
Linux Registered User #473524 * Ubuntu User #22717
"Life is complex. It consists of real and imaginary parts."
From: TP <par...@fr...> - 2008年12月15日 10:18:07
Hi everybody,
I encounter a strange behavior of TKAgg backend with Matplotlib 0.98.5 and
SVN versions, when panning: the grid lines do not always match the ticks on
the axes:
http://paratribulations.free.fr/help/pan_behavior/strange_lines_when_panning.png
Here is the corresponding script:
http://paratribulations.free.fr/help/pan_behavior/test.py
This problem does not appear with Matplotlib 0.91.2.
Do you reproduce the same strange grid lines with 0.98.5 and SVN version?
Try to pan the curve in all directions, it is rather easy to make this bug
appear.
Just another question: is it normal that on my computer TKAgg has more
antialiasing in 0.98.5 than in 0.91.2? Look at the same plot in 0.91.2
here:
http://paratribulations.free.fr/help/pan_behavior/less_antialiasing_in_0_91_2.png
Thanks
Julien
-- 
python -c "print ''.join([chr(154 - ord(c)) for c in '*9(9&(18%.\
9&1+,\'Z4(55l4('])"
"When a distinguished but elderly scientist states that something is
possible, he is almost certainly right. When he states that something is
impossible, he is very probably wrong." (first law of AC Clarke)
From: Scott L. <sl...@sp...> - 2008年12月15日 07:27:12
Hello,
I used your new beta installer to install matplotlib on a G5 running 
OS X 10.5.5. I tried the contour demo and got this error
pylab_examples$ pythonw contour_demo.py
Traceback (most recent call last):
 File "contour_demo.py", line 12, in <module>
 import matplotlib.pyplot as plt
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib/pyplot.py", line 6, in <module>
 from matplotlib.figure import Figure, figaspect
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib/figure.py", line 19, in <module>
 from axes import Axes, SubplotBase, subplot_class_factory
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib/axes.py", line 18, in <module>
 import matplotlib.image as mimage
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib/image.py", line 19, in <module>
 from matplotlib import _png
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/ 
lib/python2.5/site-packages/matplotlib/_png.so, 2): Symbol not found: 
_png_destroy_read_struct
 Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/ 
lib/python2.5/site-packages/matplotlib/_png.so
 Expected in: dynamic lookup
I was able to build matplotlib by using MACOSX_DEPLOYMENT_TARGET. I 
built libpng 1.2.33, freetype 2.3.7 and pkgconfig 0.23 with gcc 4.0.1 
from XCode 3.1.2. to build and install matplotlib I did
env MACOSX_DEPLOYMENT_TARGET=10.5 python setup.py build
sudo env MACOSX_DEPLOYMENT_TARGET=10.5 python setup.py install
I don't get "Symbol not found:" errors for _png.so now, but negative 
signs on numbers in the axis labels appear as boxes instead of -'s. I 
may try the freetype in /usr/X11 instead of the one I compiled.
Thanks for all the work on matplotlib,
Scott
From: James S. <jsc...@uo...> - 2008年12月15日 03:25:44
Using matplotlib 0.98.5 on OSX 10.5, the following error
occurs for many key_press events using the standard
connect class - letter such as c,v,s etc (and most important, backspace)
Exception in Tkinter callback
Traceback (most recent call last):
 File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",
line 1403, in __call__
 return self.func(*args)
 File 
"/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py", 
line 312, in
key_press
 FigureCanvasBase.key_press_event(self, key, guiEvent=event)
 File "/Library/Python/2.5/site-packages/matplotlib/backend_bases.py", 
line 1122, in
key_press_event
 self.callbacks.process(s, event)
 File "/Library/Python/2.5/site-packages/matplotlib/cbook.py", line 
155, in process
 func(*args, **kwargs)
 File "/Library/Python/2.5/site-packages/matplotlib/backend_bases.py", 
line 1626, in key_press
 self.canvas.toolbar.back()
AttributeError: FigureCanvasTkAgg instance has no attribute 'toolbar'
would a full list of the "bad" keys help?
J
From: John H. <jd...@gm...> - 2008年12月15日 02:26:54
On Sun, Dec 14, 2008 at 6:25 PM, Mauro Cavalcanti <mau...@gm...> wrote:
> Dear ALL,
>
> I have experienced a strange problem when installing Matplotlib 0.98.5
> using Easy_Install under Ubuntu Hardy. I receive a message like this:
> "error: lib/matplotlib/mpl-data/matplotlib.conf.template: No such file
> or directory " (etc.). I then tried sudo aptitude install
> python-matplotlib, that gives no errors, but also do not install the
> new version. In the end, I had to install from the source (and this,
> of course, worked well).
>
> Does anyone else have seen this problem (and, if so, has a solution to it)?
Could you please post the entire shell session -- the command you run
and all the output?
Thanks,
JDH
From: Mauro C. <mau...@gm...> - 2008年12月15日 00:25:37
Dear ALL,
I have experienced a strange problem when installing Matplotlib 0.98.5
using Easy_Install under Ubuntu Hardy. I receive a message like this:
"error: lib/matplotlib/mpl-data/matplotlib.conf.template: No such file
or directory " (etc.). I then tried sudo aptitude install
python-matplotlib, that gives no errors, but also do not install the
new version. In the end, I had to install from the source (and this,
of course, worked well).
Does anyone else have seen this problem (and, if so, has a solution to it)?
Thanks in advance.
With best regards,
-- 
Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail: mau...@gm...
Web: http://studio.infobio.net
Linux Registered User #473524 * Ubuntu User #22717
"Life is complex. It consists of real and imaginary parts."
From: Eric F. <ef...@ha...> - 2008年12月14日 17:18:43
LB wrote:
> Hi,
> 
> I've got two questions involving matplotlib :
> 
> 1) Is there a way to ask matplotlib to automatically adjust the size of 
> its figures to fit the size of their content ?
> I'm using axis('equal'). Therefore I often have figures with lot of 
> blank, like the figure d0.jpg attached, and I would rather have 
> something like d1.jpg.
> 
Try
axis('scaled')
or
axis('image')
> 2) Is this possible to have an horizontal colorbar ?
Yes:
colorbar(orientation='horizontal')
This kwarg seems to be missing from the docstring; I will fix that.
Eric
> 
> Thanks
> 
> -- 
> LB
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: John H. <jd...@gm...> - 2008年12月14日 17:16:21
I *think* I may have figured out what is causing some of the dynamic
linkage problems several of you have reported on our OSX installers.
I have build a new egg snapshot, and better yet, and new binary mpkg
installer for OSX. Give them a try:
 http://matplotlib.sourceforge.net/snapshots/matplotlib-0.98.5-py2.5-macosx10.5.zip
 (binary package installer)
 http://matplotlib.sourceforge.net/snapshots/matplotlib-0.98.5_r0-py2.5-macosx-10.3-fat.egg
 (binary egg)
and let me know if these fix the problems you all are having.
Fingers crossed,
JDH
From: Joshua L. <dis...@gm...> - 2008年12月14日 11:28:04
If your goal is to build only for Intel, edit the Makefile inside your
(wherever your python installation is)/lib/python2.5/config directory
and delete "-arch ppc" everywhere you see it. Then try a clean build
of matplotlib. I'd make a backup copy of the original somewhere just
in case something goes wrong in editing the Makefile, though. You
don't need to worry about the -Os optimization flag unless you're
running Leopard, in which case setup.py has a build_osx105 target that
will handle that for you. Given your arch issues, though, I'd edit
setup.py in the matplotlib source and take out the -arch ppc flags
there too if you decide to use the target.
Josh
On Sat, Dec 13, 2008 at 12:47 PM, Robin <ro...@gm...> wrote:
> Oops.. I'll continue
>
> I am having a problem building matplotlib on OS X. It seems it has
> come up quite a few times, but I haven't seen an answer. The problem
> is that it seems to be trying to build a fat binary (-arch i386 -arch
> ppc) but some of the depencies (installed via macports) are i386 only
> so I get a "file is not of required architecture for architecture ppc"
> error on linking. (See below)
>
> How can I stop setup.py from trying to build ppc architecture?
> I tried
> CFLAGS="-Os -arch i386" LDFLAGS="-Os -arch i386" python setup.py build
> but it didn't seem to make any difference.
>
> Thanks
>
> Robin
>
> ============================================================================
> BUILDING MATPLOTLIB
> matplotlib: 0.98.5
> python: 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) [GCC
> 4.0.1 (Apple Computer, Inc. build 5367)]
> platform: darwin
>
> REQUIRED DEPENDENCIES
> numpy: 1.3.0.dev6050
> freetype2: 9.18.3
>
> OPTIONAL BACKEND DEPENDENCIES
> libpng: 1.2.33
> Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
> wxPython: 2.8.6.0
> * WxAgg extension not required for wxPython >= 2.8
> Gtk+: no
> * Building for Gtk+ requires pygtk; you must be able
> * to "import gtk" in your build/install environment
> Mac OS X native: yes
> Qt: no
> Qt4: no
> Cairo: no
>
> OPTIONAL DATE/TIMEZONE DEPENDENCIES
> datetime: present, version unknown
> dateutil: matplotlib will provide
> pytz: matplotlib will provide
> adding pytz
>
> OPTIONAL USETEX DEPENDENCIES
> dvipng: 1.11
> ghostscript: 8.62
> latex: 3.1415926
> pdftops: 3.02
>
> EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
> configobj: matplotlib will provide
> enthought.traits: no
>
> [Edit setup.cfg to suppress the above messages]
> ============================================================================
> pymods ['pylab', 'configobj']
> packages ['matplotlib', 'matplotlib.backends',
> 'matplotlib.projections', 'mpl_toolkits', 'matplotlib.numerix',
> 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma',
> 'matplotlib.numerix.npyma', 'matplotlib.numerix.linear_algebra',
> 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
> 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil/zoneinfo',
> 'matplotlib.config']
> running build
> running build_py
> copying lib/matplotlib/mpl-data/matplotlibrc ->
> build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data
> copying lib/matplotlib/mpl-data/matplotlib.conf ->
> build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data
> running build_ext
> building 'matplotlib.ft2font' extension
> g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g
> -bundle -undefined dynamic_lookup
> build/temp.macosx-10.3-fat-2.5/src/ft2font.o
> build/temp.macosx-10.3-fat-2.5/src/mplutils.o
> build/temp.macosx-10.3-fat-2.5/CXX/cxx_extensions.o
> build/temp.macosx-10.3-fat-2.5/CXX/cxxsupport.o
> build/temp.macosx-10.3-fat-2.5/CXX/IndirectPythonInterface.o
> build/temp.macosx-10.3-fat-2.5/CXX/cxxextensions.o -L/opt/local/lib
> -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -lz
> -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.5/matplotlib/ft2font.so
> -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
> ld: warning in build/temp.macosx-10.3-fat-2.5/src/ft2font.o, file is
> not of required architecture
> ld: warning in build/temp.macosx-10.3-fat-2.5/src/mplutils.o, file is
> not of required architecture
> ld: warning in build/temp.macosx-10.3-fat-2.5/CXX/cxx_extensions.o,
> file is not of required architecture
> ld: warning in build/temp.macosx-10.3-fat-2.5/CXX/cxxsupport.o, file
> is not of required architecture
> ld: warning in build/temp.macosx-10.3-fat-2.5/CXX/IndirectPythonInterface.o,
> file is not of required architecture
> ld: warning in build/temp.macosx-10.3-fat-2.5/CXX/cxxextensions.o,
> file is not of required architecture
> ld: warning in /opt/local/lib/libfreetype.dylib, file is not of
> required architecture
> ld: warning in /opt/local/lib/libz.dylib, file is not of required architecture
> ld: in /opt/local/lib/libJPEG.dylib, file is not of required
> architecture for architecture ppc
> collect2: ld returned 1 exit status
> ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
> lipo: can't open input file:
> /var/folders/8s/8sR4EeeWGVKm6eizf-nS9U+++TI/-Tmp-//cchTIwch.out (No
> such file or directory)
> error: command 'g++' failed with exit status 1
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: mtcoder <jbe...@gm...> - 2008年12月14日 02:50:52
All, 
Thanks for the quick and informative responses. I've attached the code
(testode.c). It requires the GSL library. I've also attached the script I
was using to read and plot the data (odetest.py). [Note: If you do any tests
with the python script make sure to change the savefig directory in plot()
to something local. ]
http://www.nabble.com/file/p20996825/testode.zip testode.zip test code
John: I'm using evince to view pdf's (but acroread produces the same
behavior as Michael's attachments showed). 
Michael: I changed the backend to Cairo and saved the figures directly to
pdf. Same results. To be clear, to do this I changed the matplotlibrc file
(backend GTKAgg -> Cairo) and then changed the filename in savefig to end
with ".pdf". I assume that is what you had in mind. 
In addition, as requested here are two screenshots in png format of the
actual pylab/matplotlib output:
http://www.nabble.com/file/p20996825/odetest_pylabimg.png
odetest_pylabimg.png output
http://www.nabble.com/file/p20996825/odetest_pylabimg_zoom.png
odetest_pylabimg_zoom.png output zoomed. 
Thanks for the help,
-Jesse
Michael Droettboom-3 wrote:
> 
> Also -- for mtcoder:
> 
> Can you send us the script that generates your plot?
> 
> Also, if you set your backend to Cairo, and then generate the pdf, to 
> you get the same result?
> 
> Cheers,
> Mike
> 
> Michael Droettboom wrote:
>> There's something funny going on with line caps, maybe? It looks like 
>> the corners aren't getting capped in the same way as Agg does.
>>
>> I've created screenshots of Jesse's pdf file in acrobat and evince.
>>
>> Any thought, Jouni?
>>
>> Cheers,
>> Mike
>>
>> John Hunter wrote:
>>> On Thu, Dec 11, 2008 at 11:16 PM, mtcoder <jbe...@gm...> wrote:
>>>
>>> 
>>>> http://www.nabble.com/file/p20970084/testode.rk45.a0.99.eps1e-07.pdf
>>>> testode.rk45.a0.99.eps1e-07.pdf . This comes from a completely 
>>>> deterministic
>>>> ode. But is looks like I've added a tiny amount of noise.
>>>>
>>>> On a technical note, I'm running Ubuntu 8.04, python2.5.1, 
>>>> matplotlib0.91.2
>>>> (with GTKAgg backend).
>>>>
>>>> (Hopefully I didn't miss a similar question--and solution--elsewhere 
>>>> in the
>>>> forum.)
>>>> 
>>>
>>> My guess is that you may be seeing the antialiasing of your pdf
>>> renderer. matplotlib has a pretty good antialiasing renderer for the
>>> screen display (antigrain) but your mileage may vary for your pdf
>>> renderer. Since pdf is a vector output, we have no control over the
>>> renderering. What pdf viewer are you using? The best way for us to
>>> see what you are seeing is to take a PNG screenshot of your PDF file
>>> displayed in your viewer and then post the PNG. Ie, here is what I am
>>> seeing in the Preview app: the fuzziness is from the antialiasing, but
>>> I am used to seeing this.
>>> 
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------------ 
>>>
>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, 
>>> Nevada.
>>> The future of the web can't happen without you. Join us at MIX09 to 
>>> help
>>> pave the way to the Next Web now. Learn more and register at
>>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ 
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Matplotlib-users mailing list
>>> Mat...@li...
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>> 
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>> Nevada.
>> The future of the web can't happen without you. Join us at MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> 
> 
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
-- 
View this message in context: http://www.nabble.com/Fuzzy-plots-of-ode-solutions-tp20970084p20996825.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: John M. <ma...@nr...> - 2008年12月14日 02:05:26
I had the same problem with the matplotlib-0.98.5-py2.5-macosx-10.3.egg on OS X 10.5 and finally determined that it expected the latest png library. The one on the most recent release of the OS is a littler earlier. I compiled the library from the png website and redid the easy_install and everything worked fine.
John M.
-----Original Message-----
Date: 2008年12月13日 22:08:37 +0000
From: Robin <ro...@gm...>
Subject: Re: [Matplotlib-users] problem with
	matplotlib-0.98.5-py2.5-macosx-10.3.egg
To: "John Hunter" <jd...@gm...>
Cc: mat...@li...
Message-ID:
	<b14...@ma...>
Content-Type: text/plain; charset=ISO-8859-1
On Sat, Dec 13, 2008 at 9:17 PM, John Hunter <jd...@gm...> wrote:
> On Sat, Dec 13, 2008 at 3:01 PM, Robin <ro...@gm...> wrote:
>
>> As in my other mail I am having trouble building from source.
>> Previously I used the mac .egg to get around this, but the
>> matplotlib-0.98.5-py2.5-macosx-10.3.egg for 0.98.5 doesn't appear to
>> work.
>
> I think the egg may be broken. Try grabbing the tarball and following
> the instructions at
>
> http://ipython.scipy.org/moin/Py4Science/InstallationOSX
Right - following these exactly worked (I had been missing out the
pkgconfig bit)
Thanks,
Robin
5 messages has been excluded from this view by a project administrator.

Showing results of 432

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