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

Showing 6 results of 6

From: Darren D. <dd...@co...> - 2006年09月20日 17:58:54
Hi Nicholas,
Thank you for the submission. I won't have time to look at this for a while=
 (I=20
will be out of town and out of email contact for a couple of weeks.) Maybe=
=20
one of the other developers will have some time to consider your patch,=20
otherwise, I'll have a look when I get back. Would you post it to the bug=20
tracker at the sourceforge site?
Darren
On Wednesday 20 September 2006 12:34, Nicholas Young wrote:
> Hi,
>
> I sent this message to the list this time yesterday and it doesn't seem
> to have either arrived or bounced - so I'm trying again.
>
> I've written a patch (attached) to allow the PS backend to respect the
> dpi that's given to the FigureCanvasPS on initialisation when saving
> images. =A0The solution I came with to do this isn't the nicest, but I
> couldn't see any significantly different way to do it without changing
> the rendering process for images.
>
> What I've done is add a get_image_magnification method to the default
> backend with a default return value of 1.0. =A0This magnification factor
> is then taken by the draw method of the figure, axes or image and passed
> as a keyword argument to the make_image method of the image where it
> used to scale the widthDisplay and heightDisplay returned from the
> bounding box. =A0(I also changed the self.make_image(False) call in
> Image.write_png to self.make_image() as I'm pretty sure that's what was
> meant to be - and if I hadn't the introduction of my new keyword
> argument would have resulted in a zero size image.)
>
> By returning a magnification of dpi/72.0, the PS backend is able to
> instruct the image instances to create larger images which it then
> scales by an appropriate value on output to give the requested dpi.
>
> This patch, or something like it, is vital for me at the moment because
> the low 72 dpi output used by matplotlib at the moment gives rise to
> some fairly significant distortion to my results. =A0I imagine others will
> come across the same problem.
>
> I hope this patch is useful,
> Nicholas Young
From: John H. <jdh...@ac...> - 2006年09月20日 17:15:10
>>>>> "Manuel" == Manuel Metz <mm...@as...> writes:
 Manuel> would be nice. Or, if I write something like this myself,
 Manuel> is there any chance to add this to matplotlib ?
certainly.
From: Marco P. <zu...@de...> - 2006年09月20日 16:55:08
Hi,
when I try to plot a line that contains circles, I obtain this error:
/usr/lib/python2.4/site-packages/matplotlib/lines.py in
_draw_circle(self, renderer, gc, xt, yt, point)
 616 for (x,y) in zip(xt, yt):
 617 renderer.draw_arc(gc, rgbFace,
--> 618 x, y, w, w, 0.0, 360.0, 0.0)
TypeError: draw_arc() takes exactly 9 arguments (10 given)
I guess there is an extra '0.0' argument.
I found this error in matplotlib-0.87.5 (using gtk backend).
Regards
Marco 
-- 
"I videogiochi non influenzano i bambini. Voglio dire, se Pac-Man avesse
influenzato la nostra generazione, staremmo tutti saltando in sale
scure, masticando pillole magiche e ascoltando musica elettronica
ripetitiva."
"Videogames do not influence kids. I mean, if Pac-Man influenced our
generation, we were all jumping in dark rooms, chomping pills and
listening to electronic repeating music."
Kristian Wilson, Nintendo Inc. 1989
From: Manuel M. <mm...@as...> - 2006年09月20日 16:48:40
Hi,
first of all "scatter_custom_symbol.py" is great ! I really like this.
But...
May I express some idea/suggestions concerning custom symbols:
I came from supermongo to matplotlib. And I liked the way you could
define symbols in supermongo:
 PTYPE n s
where "s" gives the style of the symbol:
 s = 0 open
 s = 1 skeletal; all vectices are connected to the centre
 s = 2 starred
 s = 3 solid
and "n" is a the number of sides the polygon has. For example:
 PTYPE 4 0
creates open squares whereas
 PTYPE 4 1
creatse X-like symbol. Btw. I like those unfilled symbols because you
can plot lots of them without overcrowding your figure.
It is also possible to use
 PTYPE 0 0
which draws the smalles possible dots on a device, i.e. a single pixel
on a screen; this can also be very helpful if you want to plot lots of
datapoints.
One can also use an angle argument, e.g. transform a 'X' symbol to an
'+' symbol by rotation it about 45 degrees.
Is it possible to integrate a similar way to create custom symbols in
matplotlib? Probably something like
 verts = PolyMarker(n=4,s='open',angle=0)
would be nice. Or, if I write something like this myself, is there any
chance to add this to matplotlib ?
Manuel
From: Charlie M. <cw...@gm...> - 2006年09月20日 16:44:27
It builds now. We still have to wait on a useable numpy for python2.5
and pygtk for windows/py2.5. All the other components are there or we
can build.
On 9/20/06, John Hunter <jdh...@ac...> wrote:
> >>>>> "Charlie" == Charlie Moad <cw...@gm...> writes:
>
> Charlie> This came up on the dev list yesterday and we tried with
> Charlie> swig-1.3.29, which is the latest listed release on SF.
> Charlie> The link you provided shows this was indeed fixed after
> Charlie> the 1.3.29 release. Jon, can we give bleeding edge swig
> Charlie> a try?
>
> OK, bleeding edge SWIG versions of the agg wrappers are in svn.
>
> Good luck!
>
> JDH
>
From: Nicholas Y. <mat...@su...> - 2006年09月20日 16:34:58
Attachments: mpl.patch
Hi,
I sent this message to the list this time yesterday and it doesn't seem 
to have either arrived or bounced - so I'm trying again.
I've written a patch (attached) to allow the PS backend to respect the
dpi that's given to the FigureCanvasPS on initialisation when saving
images. The solution I came with to do this isn't the nicest, but I
couldn't see any significantly different way to do it without changing
the rendering process for images.
What I've done is add a get_image_magnification method to the default
backend with a default return value of 1.0. This magnification factor
is then taken by the draw method of the figure, axes or image and passed
as a keyword argument to the make_image method of the image where it
used to scale the widthDisplay and heightDisplay returned from the
bounding box. (I also changed the self.make_image(False) call in
Image.write_png to self.make_image() as I'm pretty sure that's what was
meant to be - and if I hadn't the introduction of my new keyword
argument would have resulted in a zero size image.)
By returning a magnification of dpi/72.0, the PS backend is able to
instruct the image instances to create larger images which it then
scales by an appropriate value on output to give the requested dpi.
This patch, or something like it, is vital for me at the moment because
the low 72 dpi output used by matplotlib at the moment gives rise to
some fairly significant distortion to my results. I imagine others will
come across the same problem.
I hope this patch is useful,
Nicholas Young

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