SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S




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

Showing 6 results of 6

From: James A. B. <jb...@no...> - 2004年04月17日 22:58:02
Hi John,
 My apologies for apparently missing your earlier response.
Interesting enough, last night when i was looking around in the 
backend_wx.py code for what might be causing those debug messages,
i thought that line: 
> wxInitAllImageHandlers() 
in conjunction the "Adding duplicate image handler" looked
suspect. I briefly thought about commenting it out...but i
figured that would probably break the tool bar icons etc. 
As you suggested, i tried commenting that line out, and sure
enough: no debug messages...and my app that does some plotting 
appears to work fine.
Thanks a lot!!
Glad my report led you to a problem you were looking for.
Jim
On 2004年4月17日, John Hunter wrote:
> 
> Hi Jim,
> 
> I responded to this earlier today on matplotlib-users. Here is a copy
> of my post. I'm very interested in getting some feedback if you try
> the suggestion below.
> 
> JDH
> 
> 
> >>>>> "Jim" == Jim Benson <jb...@se...> writes:
> 
> Jim> Hi,
> 
> Jim> I seem to be seeing some extra debug output. I have been
> Jim> using the wx background and the embedding_in_wx.py example as
> Jim> a template for how to make matplotlib plots in an app i'm
> Jim> writing. This part works great!! I am however seeing what
> Jim> appears to be a debug flag left on somewhere?
> 
> No, this is in the wx code. I traced it to the line
> 
> wxInitAllImageHandlers()
> 
> Miraculously, I commented this out, got rid of the annoying messages,
> and fixed the wx exception swallowing bug! Jeremy and I have been
> killing ourselves for about 6 months trying to figure out why backend
> wx was swallowing our exceptions, and I can't really convey how happy
> I am to have found this. We have tried all manner of hacks, google
> searches and plantive pleas to get our exceptions back to no avail.
> It made debugging wx virtually impossible.
> 
> Please test this change on your system. win32 users, I would also be
> much obliged if you could try commenting this out on your system to
> see if you lose functionality. On my linux box, the figures came up
> as expected, I was able to print to jpg and png, so all looks well.
> 
> Note, wxagg is in CVS if you need some of the agg features that native
> wx drawing does not provide. But it looks like all systems are go for
> a release next week so you may as well wait.
> 
> JDH
> 
> 
-- 
Dr. James A. Benson
United States Naval Observatory
Navy Prototype Optical Interferometer
Flagstaff, AZ 86001
Email: jb...@no...
 jb...@se...
Voice: 928-773-4868/928-779-5132
Fax: 928-779-9568
From: John H. <jdh...@ac...> - 2004年04月17日 22:40:45
Hi Jim,
I responded to this earlier today on matplotlib-users. Here is a copy
of my post. I'm very interested in getting some feedback if you try
the suggestion below.
JDH
>>>>> "Jim" == Jim Benson <jb...@se...> writes:
 Jim> Hi,
 Jim> I seem to be seeing some extra debug output. I have been
 Jim> using the wx background and the embedding_in_wx.py example as
 Jim> a template for how to make matplotlib plots in an app i'm
 Jim> writing. This part works great!! I am however seeing what
 Jim> appears to be a debug flag left on somewhere?
No, this is in the wx code. I traced it to the line
 wxInitAllImageHandlers()
Miraculously, I commented this out, got rid of the annoying messages,
and fixed the wx exception swallowing bug! Jeremy and I have been
killing ourselves for about 6 months trying to figure out why backend
wx was swallowing our exceptions, and I can't really convey how happy
I am to have found this. We have tried all manner of hacks, google
searches and plantive pleas to get our exceptions back to no avail.
It made debugging wx virtually impossible.
Please test this change on your system. win32 users, I would also be
much obliged if you could try commenting this out on your system to
see if you lose functionality. On my linux box, the figures came up
as expected, I was able to print to jpg and png, so all looks well.
Note, wxagg is in CVS if you need some of the agg features that native
wx drawing does not provide. But it looks like all systems are go for
a release next week so you may as well wait.
JDH
From: James A. B. <jb...@no...> - 2004年04月17日 22:28:29
Hi,
 After i posted a version of this question on the 
matplotlib-users list i decided it would probably be better
to post it on the devel list. Here is the problem, if i include 
any one of the following three lines: 
from matplotlib.backends.backend_wx import FigureCanvasWx
#from matplotlib.backends.backend_wx import Toolbar
#from matplotlib.backends.backend_wx import FigureManager
 
(here only the first one is uncommented...same result if i
use either of the other two) in a file (test.py) and then type: 
python test.py
i get:
floyd:/home/jbenson/python>python test.py
[Debug] 15:17:10: Adding duplicate image handler for 'PNG file'
[Debug] 15:17:10: Adding duplicate image handler for 'JPEG file'
[Debug] 15:17:10: Adding duplicate image handler for 'TIFF file'
[Debug] 15:17:10: Adding duplicate image handler for 'GIF file'
[Debug] 15:17:10: Adding duplicate image handler for 'PNM file'
[Debug] 15:17:10: Adding duplicate image handler for 'PCX file'
[Debug] 15:17:10: Adding duplicate image handler for 'XPM file'
[Debug] 15:17:10: Adding duplicate image handler for 'Windows icon file'
[Debug] 15:17:10: Adding duplicate image handler for 'Windows cursor file'
[Debug] 15:17:10: Adding duplicate image handler for 'Windows animated 
cursor file'
floyd:/home/jbenson/python>
If i try the same line from a python prompt line:
floyd:/home/jbenson>python
Python 2.3.3 (#1, Dec 21 2003, 15:13:18)
[GCC 3.3.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from matplotlib.backends.backend_wx import FigureCanvasWx
>>>
...no extra debug lines. I'm using matplotlib-0.52. Does anyone recognize
where those [Debug] statements are coming from, and how i could
get them to not show up? 
Thanks,
Jim
From: John H. <jdh...@ac...> - 2004年04月17日 17:53:29
>>>>> "Andrew" == Andrew Straw <str...@as...> writes:
 >> The stumper for me is that I have been unable to build
 >> scipy/numpy for the python that is bundled with os x - has
 >> anyone been successful with this? 
I have. Check the scipy mailing list archives (search for OS X).
There are several useful threads. Also, use scipy CVS, as a number of
darwin specific fixes have been added.
JDH
From: John H. <jdh...@ac...> - 2004年04月17日 17:50:39
>>>>> "Kenneth" == Kenneth McDonald <kmm...@wi...> writes:
 Kenneth> I believe this is the right list, since the question
 Kenneth> deals with compiling, rather than using, matplotlib.
 Kenneth> Hope that's OK.
Fine by me...
 Kenneth> I just dl'ed, and after setting the TkAgg flag to 1 in
 Kenneth> setup.py, did a python setup.py install. (Note that I had
 Kenneth> done a previous install without the TkAgg flag set.) On
 Kenneth> my system, this is producing a bunch of errors related to
 Kenneth> the Tk headers:
Generally only the first error message from the compiler is
informative. Subsequent ones often indicate a downstream component
that failed after the first failed. In your case, the 1st error is
 In file included from src/_tkagg.cpp:18:
 /Library/Frameworks/Tk.framework/Headers/tk.h:96:29: X11/Xlib.h: No
 such file or directory
So it looks to me that either you haven't installed X11 (which is the
default config on OS X) or it's not in your include path. If you
haven't installed X11 for OS X, see
http://www.apple.com/macosx/features/x11.
After you get past this hurdle, you might encounter another road block
or two, especially if you are a fink user. In that case, you may want
to edit setupext.py and replace the dictionary entry
 'darwin' : '/usr/local',
with
 'darwin' : '/sw',
and check out this post
http://sourceforge.net/mailarchive/message.php?msg_id=7777103
Good luck!
JDH
From: Kenneth M. <kmm...@wi...> - 2004年04月17日 08:44:25
I believe this is the right list, since the question deals with
compiling, rather than using, matplotlib. Hope that's OK.
I just dl'ed, and after setting the TkAgg flag to 1 in setup.py,
did a python setup.py install. (Note that I had done
a previous install without the TkAgg flag set.) On my system,
this is producing a bunch of errors related to the Tk headers:
...
running build_ext
building 'matplotlib.backends._tkagg' extension
creating build/temp.darwin-7.3.0-Power_Macintosh-2.3
creating build/temp.darwin-7.3.0-Power_Macintosh-2.3/src
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp 
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -I/usr/local/include -I/usr/local/include/freetype2 
-Isrc -Iagg2/include 
-I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ 
python2.3 -c src/_tkagg.cpp -o 
build/temp.darwin-7.3.0-Power_Macintosh-2.3/src/_tkagg.o
In file included from src/_tkagg.cpp:18:
/Library/Frameworks/Tk.framework/Headers/tk.h:96:29: X11/Xlib.h: No 
such file or directory
In file included from src/_tkagg.cpp:18:
/Library/Frameworks/Tk.framework/Headers/tk.h:572: error: 
`Tk_ClassCreateProc'
 was not declared in this scope
/Library/Frameworks/Tk.framework/Headers/tk.h:573: error: type specifier
 omitted for parameter `Window'
/Library/Frameworks/Tk.framework/Headers/tk.h:573: error: parse error 
before `,
 ' token
/Library/Frameworks/Tk.framework/Headers/tk.h:573: error: typedef 
`Window' is
 initialized (use __typeof__ instead)
/Library/Frameworks/Tk.framework/Headers/tk.h:576: error: type specifier
 omitted for parameter `XEvent'
...
and so on, for a very long time.
I have done some messing around with Tk--I'm currently running 
AquaTcl/Tk, not the
X11 version--but don't have a good handle on how to deal with the 
above. Any
ideas? I'd really like to start using matplotlib!
Thanks,
Ken McDonald

Showing 6 results of 6

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