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

Showing 7 results of 7

From: Eric B. <eri...@gm...> - 2009年02月19日 20:02:02
I just updated to the latest svn, and unveiled a bug that's evident
when using mixed-mode rendering in the PDF backend. I'm suspect I'm
the only one running my patch that enables set_rasterized on a
per-artist basis, so I'm the only one that's seeing it. :) Artists
that are left in vector mode are plotted correctly, while artists that
are rasterized are squished down toward the lower left corner of the
axes.
Looking at the svn log, I suspect it's the changes to the path
simplification code (r6847) doing something funky at the transforms
level. Is that the right place to start looking? Any tips on how to
track this down?
Thanks,
Eric
Sample code to reproduce the problem:
import numpy
from matplotlib.pyplot import subplot, get_cmap, scatter, colorbar, show
basecolors = get_cmap('gist_yarg')
colormap, normer = basecolors, None #LogNorm()
x = y = c = numpy.arange(10) +1
dummy = scatter(x,y,c=c,cmap=colormap)#, norm=normer)
cbar = colorbar(dummy)#, spacing='proportional',ticks=isolevels.levels)
dummy.set_rasterized(True)
dummy.figure.savefig('raster_test.pdf')
From: Olle E. <ol...@fy...> - 2009年02月19日 18:15:00
On 2009年2月19日, Michael Droettboom wrote:
> The drawing and then clipping is normal behavior. All of the backend formats 
> have the ability to clip out arbitrary regions for drawing, so we take 
> advantage of that rather than doing our own geometric clipping algorithm. 
> The latter is a great deal of work to get right.
>
> It sounds like the Inkscape PDF export is not exporting the clipping path 
> correctly, which may actually be related to the version of Cairo Inkscape is 
> using. In any case, there's not much we can do here.
I see, thanks for explaining.
This is actually the Inkscape bug 
https://bugs.launchpad.net/inkscape/+bug/168800 with one of the comments 
suggesting to learn from Matplotlib how to export clipping to pdf with 
Cairo. It is supposedly fixed in Inkscape svn trunk.
/Olle
From: Michael D. <md...@st...> - 2009年02月19日 17:08:27
Olle Engdegård wrote:
>
> Sorry for not being clear enough.
>
> I see this only when exporting to svg, importing it to Inkscape and 
> then saving as pdf there. Never interactively. And never if exporting 
> directly to pdf from matplotlib.
>
> It could very well be a bug in Inkscape, but matplotlib is still 
> saving data that should not be there, this is what I wanted to point out.
>
> And I take it back that it doesn't show in Inkscape, it was just 
> hidden from view. The extra bars are there.
You were clear -- it was just early in the morning for me here and my 
eyes to brain converter wasn't working properly ;)
The drawing and then clipping is normal behavior. All of the backend 
formats have the ability to clip out arbitrary regions for drawing, so 
we take advantage of that rather than doing our own geometric clipping 
algorithm. The latter is a great deal of work to get right.
It sounds like the Inkscape PDF export is not exporting the clipping 
path correctly, which may actually be related to the version of Cairo 
Inkscape is using. In any case, there's not much we can do here.
Mike
From: Olle E. <ol...@fy...> - 2009年02月19日 14:46:00
Sorry for not being clear enough.
I see this only when exporting to svg, importing it to Inkscape and then 
saving as pdf there. Never interactively. And never if exporting directly 
to pdf from matplotlib.
It could very well be a bug in Inkscape, but matplotlib is still saving 
data that should not be there, this is what I wanted to point out.
And I take it back that it doesn't show in Inkscape, it was just hidden 
from view. The extra bars are there.
/Olle
On 2009年2月19日, Michael Droettboom wrote:
> I take this back -- I hadn't read your initial bug very carefully.
>
> If Inkscape is rendering the SVG correctly, but it's PDF output is not 
> correct, then that seems like an Inkscape bug or a PDF viewer bug -- there's 
> not too much we could do on the matplotlib end.
>
> When you say you see it in WXAgg, WX, GTKAgg etc., do you mean you see it in 
> the interactive window, or just this behavior when you save an SVG, load it 
> in Inkscape and then output a PDF? In the latter case, the SVG output from 
> all backends (except Cairo) follows the same code path so should be 
> identical.
>
> Does directly outputting PDF from matplotlib work for you ? -- (it works 
> here)
>
> Mike
>
>
> Michael Droettboom wrote:
>> I see it with 0.98.5.x, but not with SVN trunk. I'll look into this 
>> further and see what I can determine.
>> 
>> Mike
>> 
>> Olle Engdegård wrote:
>> 
>>> On 2009年2月18日, Joshua Lippai wrote:
>>> 
>>>> Interesting. I can't reproduce your result using either the MacOSX or
>>>> WXAgg backend. Which backend are you using, and does the problem
>>>> persist if you use a different one?
>>>> 
>>> Hmm, I see it in at least WXAgg, WX, GTKAgg ...
>>> 
>>> /Olle
>>>
>>> 
>>> ------------------------------------------------------------------------------
>>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, 
>>> CA
>>> -OSBC tackles the biggest issue in open source: Open Sourcing the 
>>> Enterprise
>>> -Strategies to boost innovation and cut costs with open source 
>>> participation
>>> -Receive a 600ドル discount off the registration fee with the source code: 
>>> SFAD
>>> http://p.sf.net/sfu/XcvMzF8H
>>> _______________________________________________
>>> Matplotlib-devel mailing list
>>> Mat...@li...
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>> 
>>
>> 
>
> -- 
> Michael Droettboom
> Science Software Branch
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
>
>
From: Michael D. <md...@st...> - 2009年02月19日 14:39:00
I take this back -- I hadn't read your initial bug very carefully.
If Inkscape is rendering the SVG correctly, but it's PDF output is not 
correct, then that seems like an Inkscape bug or a PDF viewer bug -- 
there's not too much we could do on the matplotlib end.
When you say you see it in WXAgg, WX, GTKAgg etc., do you mean you see 
it in the interactive window, or just this behavior when you save an 
SVG, load it in Inkscape and then output a PDF? In the latter case, the 
SVG output from all backends (except Cairo) follows the same code path 
so should be identical.
Does directly outputting PDF from matplotlib work for you ? -- (it works 
here)
Mike
Michael Droettboom wrote:
> I see it with 0.98.5.x, but not with SVN trunk. I'll look into this 
> further and see what I can determine.
>
> Mike
>
> Olle Engdegård wrote:
> 
>> On 2009年2月18日, Joshua Lippai wrote:
>> 
>> 
>>> Interesting. I can't reproduce your result using either the MacOSX or
>>> WXAgg backend. Which backend are you using, and does the problem
>>> persist if you use a different one?
>>> 
>>> 
>> Hmm, I see it in at least WXAgg, WX, GTKAgg ...
>>
>> /Olle
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a 600ドル discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>> 
>> 
>
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Darren D. <dsd...@gm...> - 2009年02月19日 13:59:56
On Wed, Feb 18, 2009 at 2:43 PM, James Evans <jre...@ea...> wrote:
> All,
>
> I have just submitted a first-cut at a unit-test harness. The unit-tests
> do require the use of the 'nose' python module.
> Everything has been placed in the 'test' directory off of the root trunk
> branch. There is a README file with lots of information on
> how to use it. This is in addition to a few test cases already bundled in
> (they make great examples)! The idea is that whenever
> somebody adds a new feature or makes a change they update/add the
> appropriate test case and re-run the harness to make sure nothing
> is broken.
>
> There is most definitely room for improvement with this, but it gives a
> starting point from which discussions and modifications can
> take place.
>
> Any questions or comments?
What is the naming convention for the test harness? I see
filenames_with_underscores, camelCase, CapWords, and it looks like all the
methods in MplTestCase are camelCase, whereas mpl uses only
names_with_underscores. Although it would probably be a lot of busy work to
convert at this point, I think it would be a good idea to follow the
existing mpl naming conventions.
Darren
From: Michael D. <md...@st...> - 2009年02月19日 13:13:02
I see it with 0.98.5.x, but not with SVN trunk. I'll look into this 
further and see what I can determine.
Mike
Olle Engdegård wrote:
> On 2009年2月18日, Joshua Lippai wrote:
> 
>> Interesting. I can't reproduce your result using either the MacOSX or
>> WXAgg backend. Which backend are you using, and does the problem
>> persist if you use a different one?
>> 
>
> Hmm, I see it in at least WXAgg, WX, GTKAgg ...
>
> /Olle
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a 600ドル discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Showing 7 results of 7

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