SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S





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






Showing 8 results of 8

From: Eric F. <ef...@ha...> - 2006年12月26日 19:48:13
John Hunter wrote:
>>>>>> "Eric" == Eric Firing <ef...@ha...> writes:
> Eric> We did decide to make linewidth=0 suppress drawing the line,
> Eric> and this is in the ps backend. Most likely it is not in all
> Eric> backends, but it is in pdf, svg, and agg as well as ps. In
> 
> Would it not be better to catch this at the Artist level and either
> not make a call to the backend, or force the edgecolor=facecolor
> before calling the backend? Then the backend can remain blissfully
> ignorant...
No, this strategy won't work for two reasons:
1) edgecolor=facecolor is not the same as not drawing the edge; it leads 
to artifacts that can be very damaging.
2) the backends implement patch rendering which inherently includes both 
the edge and the fill, so we can't avoid having mechanisms for telling 
the backend whether to stroke the former and/or paint the latter.
Eric
> 
> JDH
From: John H. <jdh...@ac...> - 2006年12月26日 18:20:47
>>>>> "Eric" == Eric Firing <ef...@ha...> writes:
 Eric> We did decide to make linewidth=0 suppress drawing the line,
 Eric> and this is in the ps backend. Most likely it is not in all
 Eric> backends, but it is in pdf, svg, and agg as well as ps. In
Would it not be better to catch this at the Artist level and either
not make a call to the backend, or force the edgecolor=facecolor
before calling the backend? Then the backend can remain blissfully
ignorant...
JDH
From: Eric F. <ef...@ha...> - 2006年12月26日 18:14:33
John Hunter wrote:
> Whether or not linewidth=0 is respected may be backend dependent. In
> postscript it means use the smallest possible line. We have discussed
> overriding this at the mpl level to impose consistency, but am not
> sure what the status of this is. The safest best is to set the
> edgecolor and facecolor to be identical.
John,
We did decide to make linewidth=0 suppress drawing the line, and this is 
in the ps backend. Most likely it is not in all backends, but it is in 
pdf, svg, and agg as well as ps. In the ps backend it is in the 
_draw_ps() method, so unless there is a code path that does not use this 
method, it should work.
Sergio, I deleted your original message so I don't remember how much 
info you gave. If linewidth=0 is not suppressing edge drawing and you 
are using mpl 0.87.7 or svn, then please provide a simple script 
illustrating the problem and say what backend and mpl version you are using.
Eric
From: John H. <jdh...@ac...> - 2006年12月26日 15:33:58
>>>>> "Sergio" == Sergio Drumond Ventura <da...@gm...> writes:
 Sergio> Hi, I am a new user of matplotlib. First of all I would
 Sergio> like to say that the people working on matplotlib is doing
 Sergio> a great job.
 Sergio> Well, I have tried to use the 'fill', but I cannot get rid
 Sergio> of the lines. I have tried to use 'linewidth=0' at the
 Sergio> end, but it did not work.
 Sergio> Could somebody, please, tell me if I am doing something
 Sergio> wrong ?
Whether or not linewidth=0 is respected may be backend dependent. In
postscript it means use the smallest possible line. We have discussed
overriding this at the mpl level to impose consistency, but am not
sure what the status of this is. The safest best is to set the
edgecolor and facecolor to be identical.
JDH
From: John H. <jdh...@ac...> - 2006年12月26日 15:31:53
>>>>> "Steve" == Steve Kacenjar <kac...@co...> writes:
 Steve> Just installed FC6 onto AMD 64 bit processor and have
 Steve> installed Python. I have also installed numpy and
 Steve> matplotlib however when I run IPython and begin importing
 Steve> items I run into a problem when try to import pylab.
 Steve> Specifically I receive the following dump:
 Steve> ImportError: No module named _ns_backend_gdk
Or a 2nd thought -- it may be that pygtk or the gtk-devel environment
was not in place when you built. Even if they are installed,
matplotlib requires a connection to the X11 server when building the
gtk backend, something that is not always available when building as
root.
So 
 1) make sure you have the proper numpy installed, as in my previous
 post
 2) make sure you can do
 >>> import gtk
 in the same environment in which you are building and installing
 mpl
 3) make sure you have the gtk-devel headers and libs installed, as
 well as the other devel libs listed on the installing pages of
 the web site.
 4) capture stdout and stderr when you build, and post it if you
 encounter further problems
 > python setup.py build >& build.out
JDH
From: John H. <jdh...@ac...> - 2006年12月26日 15:28:31
>>>>> "Steve" == Steve Kacenjar <kac...@co...> writes:
 Steve> Just installed FC6 onto AMD 64 bit processor and have
 Steve> installed Python. I have also installed numpy and
 Steve> matplotlib however when I run IPython and begin importing
 Steve> items I run into a problem when try to import pylab.
 Steve> Specifically I receive the following dump:
 Steve> ImportError: No module named _ns_backend_gdk
 Steve> I am new to this and would appreciate any help in resolving
 Steve> this problem. Thanks.
this looks like numpy was not available at compile time. Make sure
you have a compatible numpy and mpl (eg the latest release of both or
the latest svn of both) and then do a clean build (eg 'rm -rf build').
JDH
From: John H. <jdh...@ac...> - 2006年12月26日 15:27:08
>>>>> "Eric" == Eric Firing <ef...@ha...> writes:
 Eric> I don't think so--at least, I have not figured it out after
 Eric> a few minutes of looking around and trying to understand how
 Eric> things work. I think polar plotting needs quite a bit of
 Eric> work. In particular, I suspect the lack of a "set_rmax"
 Eric> method is not an oversight but a consequence of limitations
 Eric> in the present implementation. I will look at it some more
 Eric> and see if I can improve it. This might be long-term, not
 Eric> quick.
In the next month or so I plan to spend some time fixing up the
limitations of polar, so I'll flag this and take a look at it then.
JDH
From: John H. <jdh...@ac...> - 2006年12月26日 15:25:50
>>>>> "Edin" == Edin Salkovic <edi...@gm...> writes:
 Edin> Hi, I'm having problems with building mpl from SVN on WinXP,
 Edin> Python 2.5, latest numpy. I'm using MinGW from the
 Edin> enthought edition. I remember building it without problems
 Edin> just few weeks ago. The build process finishes without
 Edin> error. Then, when I try:
 Edin> from pylab import *
 Edin> it crashes
 Edin> import matplotlib
Did you rm -rf your build dir (and sometimes site-packages/matplotlib)
before rebuilding. This is usually the cause of such crashes.
JDH

Showing 8 results of 8

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