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





Showing 11 results of 11

From: John H. <jdh...@ac...> - 2005年10月28日 23:14:15
>>>>> "Alexander" == Alexander Mont <ale...@co...> writes:
 Alexander> line 100, in add_base_flage incdirs = [os.path.join(p,
 Alexander> 'include') for p in basedir[sys, platform] KeyError:
 Alexander> 'cygwin'
This is almost certainly a typo. I guess you mean 'sys.platform'
 Alexander> How do I fix this? I installed numarray and I changed the NUMERIX value in the matplotlibrc file from Numeric to numarray but I still have the same problem.
This has nothing to do with the numerix setting. Check out
setupext.py and add an entry to the basedir dictionary to reflect your
local path information. If you get something that works, please post
it so we can include it in the standard distro.
Is there a reason you don't want to use the pre-built win32 binaries?
Most windows users are reasonably happy with that.
JDH
From: Ken M. <mc...@ii...> - 2005年10月28日 23:12:03
Ryan,
I'm afraid there isn't a Debian package for Python2.4+wxPython2.6, so I can't 
test that combination. Our best bet is to go for the GDB stack trace, like so:
	1. Write an iPython script that reproduces the segfault:
		$ ipython <test-script>
		<snip>
		Segmentation fault
	2. Find out where Python lives:
		$ which python
		/usr/bin/python
	2. Find out where iPython lives:
		$ which ipython
		/usr/bin/ipython
	3. Launch gdb:
		$ gdb <path-to-python>
		<snip>
		(gdb) run <path-to-ipython> <test-script>
	4. Get the backtrack:
		Program received signal SIGSEGV, Segmentation fault.
		<snip>
		(gdb) bt
		#0 ...
		#1 ...
		<snip>
		#N ...
Please email me everything that is printed by the "bt" command. You'll 
probably have to copy and paste several screens of backtrace. Thanks!
Ken
From: John H. <jdh...@ac...> - 2005年10月28日 23:09:46
>>>>> "James" == James Boyle <bo...@ll...> writes:
 James> I am trying to build matplotlib 0.84 on my Linux box:
 James> python 2.2, Redhat 3.2.3-53, gcc version 3.2.3 20030502
 James> (Red Hat Linux 3.2.3-53)
 James> The error I got is listed below - I am at a loss as to what
 James> is up. I have built 0.84 with no problem on my OS X
 James> machine. The point in the code indicated by the error is
 James> just after a #if / else checking whether Numeric of
 James> Numarray is present. I have only Numeric on this machine
 James> and the error occurs just after the #else indicating
 James> Numeric is present. My OS X box has numarray, so I guess
 James> this branch of code is not hit when I compile there. I did
 James> comment out the py-modules line as suggested in the
 James> setup.py since I am using python 2.2.
My guess is that this is because cntr.c is using a python2.3 only
macro, and we haven't sufficiently tested with python2.2. I've been
meaning to drop python2.2 support, but haven't had the time <wink>
PyMODINIT_FUNC
Try replacing all occurrences of that with 
extern "C"
DL_EXPORT(void)
and let us know. Just a guess....
JDH
From: Chris B. <Chr...@no...> - 2005年10月28日 22:28:56
Smith, Frank wrote:
> Greetings:
> 
> Is it possible to plot onto an existing application window?
I'm not entirely sure what you mean by this.
> In
> particular, I'm developing a simple application under PythonCard
> whose main application window that already has a component that
> inherits from wxFloatCanvas
Do you want to plot with MPL on top of the FloatCanvas? If so, that will 
be tricky. However, if you want to create another Panel, and plot to 
that, you want to look at the examples and docs for "embedding in wx" 
and similar titles.
By the way, I'm the author of FloatCanvas, so feel free to send me any 
questions, and let me know if you want the latest and greatest version.
-Chris
> I've looked at the WX, WXAgg backends but at first glance they
> are a little unyielding!
yup. If all goes well, you should be able to just use those without 
having to understand them!
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
 		
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
From: Ken M. <mc...@ii...> - 2005年10月28日 22:14:11
Smith, Frank wrote:
> Is it possible to plot onto an existing application window? In particular,
> I'm developing a simple application under PythonCard whose main application
> window that already has a component that inherits from wxFloatCanvas (which in
> turn inherits, appropriately, from wxPanel). In broad strokes can anyone
> provide some hints, direction, main steps, ..... I feel a little clueless to
> tell the truth. I've looked at the WX, WXAgg backends but at first glance they
> are a little unyielding! I would appreciate any help .... anything at all!
There's a page on this topic in the matplotlib cookbook which ought to help 
you get started:
	http://www.scipy.org/wikis/topical_software/EmbeddingInWx
Ken
From: Smith, F. <F....@te...> - 2005年10月28日 22:08:48
R3JlZXRpbmdzOg0KIA0KSXMgaXQgcG9zc2libGUgdG8gcGxvdCBvbnRvIGFuIGV4aXN0aW5nIGFw
cGxpY2F0aW9uIHdpbmRvdz8gSW4gcGFydGljdWxhciwgSSdtIGRldmVsb3BpbmcgYSBzaW1wbGUg
YXBwbGljYXRpb24gdW5kZXIgUHl0aG9uQ2FyZCB3aG9zZSBtYWluIGFwcGxpY2F0aW9uIHdpbmRv
dyB0aGF0IGFscmVhZHkgaGFzIGEgY29tcG9uZW50IHRoYXQgaW5oZXJpdHMgZnJvbSB3eEZsb2F0
Q2FudmFzICh3aGljaCBpbiB0dXJuIGluaGVyaXRzLCBhcHByb3ByaWF0ZWx5LCBmcm9tIHd4UGFu
ZWwpLiBJbiBicm9hZCBzdHJva2VzIGNhbiBhbnlvbmUgcHJvdmlkZSBzb21lIGhpbnRzLCBkaXJl
Y3Rpb24sIG1haW4gc3RlcHMsIC4uLi4uIEkgZmVlbCBhIGxpdHRsZSBjbHVlbGVzcyB0byB0ZWxs
IHRoZSB0cnV0aC4gSSd2ZSBsb29rZWQgYXQgdGhlIFdYLCBXWEFnZyBiYWNrZW5kcyBidXQgYXQg
Zmlyc3QgZ2xhbmNlIHRoZXkgYXJlIGEgbGl0dGxlIHVueWllbGRpbmchIEkgd291bGQgYXBwcmVj
aWF0ZSBhbnkgaGVscCAuLi4uIGFueXRoaW5nIGF0IGFsbCENCiANClRoYW5rcyBpbiBhZHZhbmNl
Lg0KRnJhbmsNCg==
From: Alexander M. <ale...@co...> - 2005年10月28日 18:15:43
When I do the "python setup.py build" on cygwin I get the following =
error:
Traceback (most recent call last):
 File "setup.py", line 164, in ?
 build_transforms(ext_modules, packages, NUMERIX)
 File "/usr/libpython2.4/site-packages/matplotlib-0.84/setupext.py", =
line 655,
in build_transforms
 add_base_flags(module)
 File "/usr/libpython2.4/site-packages/matplotlib-0.84/setupext.py", =
line 100,
in add_base_flage
 incdirs =3D [os.path.join(p, 'include') for p in basedir[sys, =
platform]
KeyError: 'cygwin'
How do I fix this? I installed numarray and I changed the NUMERIX value =
in the matplotlibrc file from Numeric to numarray but I still have the =
same problem.
From: James B. <bo...@ll...> - 2005年10月28日 17:49:23
I am trying to build matplotlib 0.84 on my Linux box: python 2.2, 
Redhat 3.2.3-53, gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53)
The error I got is listed below - I am at a loss as to what is up. I 
have built 0.84 with no problem on my OS X machine.
The point in the code indicated by the error is just after a #if / else 
checking whether Numeric of Numarray is present. I have only Numeric on 
this machine and the error occurs just after the #else indicating 
Numeric is present.
My OS X box has numarray, so I guess this branch of code is not hit 
when I compile there.
I did comment out the py-modules line as suggested in the setup.py 
since I am using python 2.2.
Thanks for any help.
--Jim
The error:
building 'matplotlib._nc_cntr' extension
cc -DNDEBUG -O -fPIC -I/usr/local/include -I/usr/include 
-I/export/cdat/cdat-3.3/include/python2.2 -c src/_nc_cntr.c -o 
build/temp.linux-i686-2.2/_nc_cntr.o -DNUMERIC=1
src/_nc_cntr.c:1718: syntax error before "init_nc_cntr"
error: command 'cc' failed with exit status 1
From: Vittorio P. <re...@em...> - 2005年10月28日 14:59:44
Xavier Gnata ha scritto:
> I'm appy to learn there is a matplotlib package in sid :)
> I have 2 questions (but I'm not sure i'm asking the good person. Are you
> the mainteaner?) :
yes, I am the maintainer
> 1) Could you please also package it for python2.4 ?
It is packaged *also* for python2.4:
http://packages.debian.org/unstable/python/python2.4-matplotlib
> 2) What about the documentation? I know there are problems with pydoc
> (for instance, pyoc need X wich cause problems on the build dd). Maybe
> epydoc could do the job.
this is in my TODO, I'm testing pydoc for now and there are good possibility to
re-include python-matplotlib-doc
-- 
/Vittorio Palmisano/
Home Page: http://redclay.altervista.org
From: Xavier G. <gn...@ob...> - 2005年10月28日 13:55:28
Vittorio Palmisano wrote:
>Hi all,
>matplotlib is now on Debian Unstable:
>http://packages.debian.org/unstable/python/python-matplotlib
>
>should work also with Debian Sarge adding this line to /etc/apt/sources.list:
>deb http://ftp.it.debian.org/debian/ unstable main
>
>thanks to Marco Presi for upload :)
>
>
> 
>
Hi,
I'm appy to learn there is a matplotlib package in sid :)
I have 2 questions (but I'm not sure i'm asking the good person. Are you 
the mainteaner?) :
1) Could you please also package it for python2.4 ?
2) What about the documentation? I know there are problems with pydoc 
(for instance, pyoc need X wich cause problems on the build dd). Maybe 
epydoc could do the job.
Xavier
From: Vittorio P. <re...@em...> - 2005年10月28日 13:37:23
Hi all,
matplotlib is now on Debian Unstable:
http://packages.debian.org/unstable/python/python-matplotlib
should work also with Debian Sarge adding this line to /etc/apt/sources.list:
deb http://ftp.it.debian.org/debian/ unstable main
thanks to Marco Presi for upload :)
-- 
/Vittorio Palmisano/
Home Page: http://redclay.altervista.org

Showing 11 results of 11

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