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



Showing 6 results of 6

From: Eric F. <ef...@ha...> - 2010年06月04日 23:40:06
See 
https://sourceforge.net/tracker/?func=detail&aid=2564093&group_id=80706&atid=560720
My guess is that the problem is the call to Printer_Init(). Based on a 
little code scanning and grepping, and on the default wxagg plot with 
toolbar, I don't see that any of the Print* stuff is being used by 
mpl--but I know very little about wx, and I have not looked deeply into 
backend_wx*.
Can we simply remove Printer_Init() from FigureCanvasWx.__init__, or 
will that have dire consequences for someone? Is there a wx wizard who 
can provide a good solution?
One way or another, I would like to get this ancient ticket closed.
Eric
From: Jae-Joon L. <lee...@gm...> - 2010年06月04日 21:54:10
On Wed, Jun 2, 2010 at 10:09 PM, Benjamin Root <ben...@ou...> wrote:
> I have noticed that the svn repo still does not have rasterization
> decorators for some of the collections (e.g., PolyCollection,
> EllipseCollection, CircleCollection if I remember correctly). Don't know
> what are supposed to be the final list of Collection that are eligible for
> that decorator, but it is incomplete at this point in the trunk.
Did you actually test that the rasterization does not work for these artist?
They are supposed to, and and they do in my installation.
If you simply saying that the draw method of these artist are not
decorated, they don't need one because Collection.draw which is called
inside their draw method is already decorated.
Regards,
-JJ
From: Jae-Joon L. <lee...@gm...> - 2010年06月04日 21:41:11
I'm attaching a copy of my comment to Ben's bug report for a reference.
here is a bug report.
https://sourceforge.net/tracker/index.php?func=detail&aid=3010569&group_id=80706&atid=560720#
My comment:
As far as I can see, this is not a bug of matplotlib, but an artifact of
the rasterizer you're using. For example, the pdf file you uploaded looks
fine with acrobat reader but shows white lines on gs-based pdf viewer. Even
in gs-based viewer, if you turn off anti-aliasing, you will notice that the
white lines are gone.
I'm not sure if there is anything we can do to avoid this artifact from
the matplotlib side.
If anyone has any suggestion, please open a new feature request ticket.
Meanwhile, I'm closing this ticket.
-JJ
On Tue, Jun 1, 2010 at 11:21 PM, Benjamin Root <ben...@ou...> wrote:
> I have finally managed to test against TkAgg, and the faint white lines do
> not appear to occur. So, as far as I can tell (no clue about Macs), the
> GTKCairo, pdf and svg backends have this display bug. Shall I file a bug
> report for this and another for the misaligned title?
>
> Ben Root
>
> On Tue, Jun 1, 2010 at 1:07 PM, Benjamin Root <ben...@ou...> wrote:
>>
>> Correction -- the problem with pcolormesh and the faint white lines are
>> occurring for pdf and svg files, *not* eps files as I originally stated. I
>> am also checking a number of display backends and found that the problem
>> occurs for GTKCairo. I am sure it also happens for TkAgg, but I can not
>> confirm that right now. I am unable to test the Mac backends, though.
>>
>> On a side note, when testing the backends, I noticed that GTKCairo was
>> *slow* for displaying the figures. Also, the GTK backend produced
>> misaligned titles. I can start a new thread about the misaligned titles, if
>> someone wishes.
>>
>> Ben Root
>>
>> On Tue, Jun 1, 2010 at 11:05 AM, Benjamin Root <ben...@ou...> wrote:
>>>
>>>
>>> On Tue, Jun 1, 2010 at 9:39 AM, Ryan May <rm...@gm...> wrote:
>>>>
>>>> On Mon, May 31, 2010 at 11:28 AM, Benjamin Root <ben...@ou...> wrote:
>>>> > Markus,
>>>> >
>>>> > That is good to know that it has been fixed. As for the difference in
>>>> > pcolor and pcolormesh, I think it has to do with the fact that
>>>> > pcolormesh is
>>>> > composed of many lines while pcolor is composed of many polygons. It
>>>> > is
>>>> > probably more efficient to rasterize polygons than lines.
>>>>
>>>> To be blunt, this makes no sense whatsoever. First, pcolormesh and
>>>> pcolor differ in that it pcolor uses a generic PolyCollection to draw
>>>> the quads, while pcolormesh uses a quadmesh object, which can be more
>>>> efficient at the cost of generality, as it only needs to render a set
>>>> of identical quads. Second, if you're talking rasterized drawing, in
>>>> the end what gets written to a file is a 2D array of RGBA values. It
>>>> doesn't matter what you use to produce the results: identical image on
>>>> the screen -> identical array in file. It's possible that there are
>>>> slight differences that you can't really see that produce different
>>>> arrays, but that won't cause a factor of 8 difference in size. My
>>>> guess is that pcolormesh isn't rasterizing properly.
>>>>
>>> Indeed, you are right that lines aren't drawn. I have looked back at the
>>> images produced by my test script that I posted to this thread and I see
>>> where I got confused. The pcolormesh result in pdf and eps files have very
>>> faint white blocks around each quad. At high enough data resolution, the
>>> color part of the quads look like lines while the white lines look like
>>> dots. This happens regardless of using rasterized=True or not, and I don't
>>> think it is visible in png files (although I am testing some very high
>>> resolution png files to verify).
>>>
>>> Ben Root
>>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
From: Eric F. <ef...@ha...> - 2010年06月04日 19:42:03
On 06/04/2010 07:46 AM, Bob wrote:
> I'm using matplotlib v0.99.1.1 pyplot savefig() to generate svg files
> using the matplotlib.use('SVG') backend. My networkx plot contains
> semi-transparent edges which were not carrying over to the svg xml
> correctly. The node transparencies were correct.
> I was able to fix this problem by modifying
> /matplotlib/backends/backend_svg.py ...
>
>
> @@ -150 +149 @@
> - gc.get_alpha(),
> + gc.get_rgb()[3],
I don't think this is the right thing to do in general--as far as I can 
see, gc.get_rgb() can return an rgb triplet instead of an rgba quad.
>
>
> While gc.get_rgb()[3] was able to return the correct alpha float
> value, gc.get_alpha() was always returning 1.0.
> Has anyone else seen this problem? Perhaps it's my use of
> draw_networkx_edges() to style the edges.
No, I think it is part of some difficulties in alpha-handling that have 
been around for a long time, and that I hope I have solved--although 
most likely there are still glitches to be smoothed out.
Can you build from svn and see whether that solves the problem? If not, 
please provide a simplest-possible standalone script that illustrates 
the problem, so I can try running it from current mpl.
Eric
>
> Hope this helps,
> Bob
From: Bob <rps...@gm...> - 2010年06月04日 17:47:07
I'm using matplotlib v0.99.1.1 pyplot savefig() to generate svg files
using the matplotlib.use('SVG') backend. My networkx plot contains
semi-transparent edges which were not carrying over to the svg xml
correctly. The node transparencies were correct.
I was able to fix this problem by modifying
/matplotlib/backends/backend_svg.py ...
@@ -150 +149 @@
- gc.get_alpha(),
+ gc.get_rgb()[3],
While gc.get_rgb()[3] was able to return the correct alpha float
value, gc.get_alpha() was always returning 1.0.
Has anyone else seen this problem? Perhaps it's my use of
draw_networkx_edges() to style the edges.
Hope this helps,
Bob
From: Fernando P. <fpe...@gm...> - 2010年06月04日 00:54:13
On Wed, Jun 2, 2010 at 1:44 PM, Eric Firing <ef...@ha...> wrote:
> Done in svn 8369. Its usage is illustrated in barchart_demo.py.
> Partially following your lead with subplots, I spelled it error_kw.
>
Fabulous, much appreciated!
Regards,
f

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