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





Showing 18 results of 18

From: Michael D. <md...@st...> - 2008年06月20日 15:43:15
Michael Droettboom wrote:
> John Hunter wrote:
> 
>> On Fri, Jun 20, 2008 at 8:13 AM, Michael Droettboom <md...@st...> wrote: 
>> 
>> Also, the start and end of the arrow locations is
>> pretty unsatisfying. You would think they could hit the box edges...
>> 
>> 
> Yes. That is surprising. Even for arrows that are straight and axis 
> aligned it doesn't seem to always work. PDF output isn't any better, 
> suggesting it's not just a low-level rendering issue.
> 
Google found me dot2tex:
http://www.fauskes.net/code/dot2tex/documentation/
which seems to produce much nicer arrow head alignment, since it uses 
PGF/TikZ for that. I don't think it's a viable alternative, however, 
given the number of moving parts.
If you're a graph layout geek, though, you might appreciate some of the 
examples in the docs.
Cheers,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Tony Yu <ts...@gm...> - 2008年06月20日 15:33:35
Attachments: delete_cla_copy.diff
I was reading through custom_projection_example.py and I noticed that 
the cla() method was defined twice (with the exact same code) for the 
same class. Here's a patch with one of the cla() methods (the one with 
fewer comments) deleted.
From: Michael D. <md...@st...> - 2008年06月20日 15:33:22
Thanks. Obviously just an editing error. Fixed in r5617.
Cheers,
Mike
Tony S Yu wrote:
> I was reading through custom_projection_example.py and I noticed that 
> the cla() method was defined twice (with the exact same code) for the 
> same class. Here's a patch with one of the cla() methods (the one with 
> fewer comments) deleted.
>
>
>
>
> -Tony
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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: John H. <jd...@gm...> - 2008年06月20日 15:22:25
On Fri, Jun 20, 2008 at 10:20 AM, Charlie Moad <cw...@gm...> wrote:
> Can we shoot for Sunday night? It would be much more convenient for me at
> least.
Absolutely. I suggested Monday because I thought it would be better,
but Sunday works fine too. I'll do a round of testing Sunday morning.
JDH
From: Charlie M. <cw...@gm...> - 2008年06月20日 15:20:15
Can we shoot for Sunday night? It would be much more convenient for me at
least.
- Charlie
On Fri, Jun 20, 2008 at 10:20 AM, John Hunter <jd...@gm...> wrote:
> Sandro has been working hard packaging matplotlib 0.98.0 for debian
> ahead of the next major debian feature freeze, and says he can get
> 0.98.1 in if we release it by June 24th. Charlie, can you do a
> release on Monday? All developers, please take some time to fix any
> bugs you are aware of and let's release 0.91.4 and 0.98.1 on Monday
> pending Charlie's availability. These major debian releases only
> happen once every couple of years so we want to get good versions in.
>
> JDH
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Tony S Yu <to...@MI...> - 2008年06月20日 15:14:12
Attachments: delete_cla_copy.diff
I was reading through custom_projection_example.py and I noticed that 
the cla() method was defined twice (with the exact same code) for the 
same class. Here's a patch with one of the cla() methods (the one with 
fewer comments) deleted.
From: Michael D. <md...@st...> - 2008年06月20日 14:47:28
John Hunter wrote:
> On Fri, Jun 20, 2008 at 8:13 AM, Michael Droettboom <md...@st...> wrote:
>
> 
>> The current version of graphviz uses either cairo or gd (the default being
>> cairo on most modern installations.)
>> 
>
> 
>> Now that you've uploaded the docs, I see that the font you're getting isn't
>> as nice as mine. I was setting "fontname" to "sans", which is supposed to
>> get the default sans serif font on the system. It appears, from testing,
>> one can provide a list of fonts to dot, so I'll change it to try good fonts
>> first, with sans as the last resort fallback.
>> 
>
> I'm building and uploading the docs in a nightly cron on a linux box
> that Fernando maintains. Can you tell him what package(s) need to be
> installed to insure cairo rendering so he can update the box?
My understanding is that gd doesn't support antialiasing at all, so if 
you're seeing antialiasing you're using Cairo. To be absolutely certain 
you're using Cairo, you can change the "-Tpng" to "-Tpng:cairo" (though 
I don't know if we should do that in general, since it will break for 
users who don't have Cairo, if such users exist...). 
With my latest updates, you should ensure that there is a decent-looking 
font, such as Vera Sans, on the fontconfig path. You should also make 
sure that libpango is being used by your graphviz. It's optional in 
graphviz, but is used by the pre-built packages on Debian Etch and 
Ubuntu Hardy at least.
> The
> anti-aliasing on some of the arrows looks pretty poor -- eg the arrow
> from matplotlib.text.Text -> matplotlib.text.Annotation at
> http://matplotlib.sourceforge.net/doc/html/api/artist_api.html. Is it
> better on your box?
No. Not any better.
> Also, the start and end of the arrow locations is
> pretty unsatisfying. You would think they could hit the box edges...
> 
Yes. That is surprising. Even for arrows that are straight and axis 
aligned it doesn't seem to always work. PDF output isn't any better, 
suggesting it's not just a low-level rendering issue.
> Is there a way to inform dot/graphiz to not exceed a certain width?
> If so, I think we should set it so the images are not wider than some
> reasonable browser window for the html.
> 
Yes. You can change the "size" graph option which is given in inches 
(with a default dpi for png of 96). I've set this to 8, which should 
work for resolutions of 1024x768, accounting for the left margin of the 
webpage. Note that if the size exceeds this, the layout doesn't change, 
it is just scaled down.
Cheers,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: John H. <jd...@gm...> - 2008年06月20日 14:23:15
On Fri, Jun 20, 2008 at 8:13 AM, Michael Droettboom <md...@st...> wrote:
> Now that you've uploaded the docs, I see that the font you're getting isn't
> as nice as mine. I was setting "fontname" to "sans", which is supposed to
> get the default sans serif font on the system. It appears, from testing,
> one can provide a list of fonts to dot, so I'll change it to try good fonts
> first, with sans as the last resort fallback.
Hey, these things are proving useful already. I was looking at the
inheritance graph at
http://matplotlib.sourceforge.net/doc/html/api/collections_api.html
and noticed a redundant ScalarMappable inheritance in the
LineCollection. (fixed in svn)
From: John H. <jd...@gm...> - 2008年06月20日 14:20:18
Sandro has been working hard packaging matplotlib 0.98.0 for debian
ahead of the next major debian feature freeze, and says he can get
0.98.1 in if we release it by June 24th. Charlie, can you do a
release on Monday? All developers, please take some time to fix any
bugs you are aware of and let's release 0.91.4 and 0.98.1 on Monday
pending Charlie's availability. These major debian releases only
happen once every couple of years so we want to get good versions in.
JDH
From: John H. <jd...@gm...> - 2008年06月20日 14:11:19
On Thu, Jun 19, 2008 at 11:52 AM, Olle Engdegård <ol...@fy...> wrote:
>
> Here is a patch to add linestyles to patches.py. I have tried it with
> unfilled step histograms (important for b/w print and colour blind people).
>
> What do you think?
I'm happy to include this, but we need to make sure it is supported in
PS, PDF, SVG and Agg. Can you check these backends to make sure they
are respecting the new parameter?
Thanks,
JDH
From: John H. <jd...@gm...> - 2008年06月20日 13:46:00
On Fri, Jun 20, 2008 at 8:13 AM, Michael Droettboom <md...@st...> wrote:
> The current version of graphviz uses either cairo or gd (the default being
> cairo on most modern installations.)
> Now that you've uploaded the docs, I see that the font you're getting isn't
> as nice as mine. I was setting "fontname" to "sans", which is supposed to
> get the default sans serif font on the system. It appears, from testing,
> one can provide a list of fonts to dot, so I'll change it to try good fonts
> first, with sans as the last resort fallback.
I'm building and uploading the docs in a nightly cron on a linux box
that Fernando maintains. Can you tell him what package(s) need to be
installed to insure cairo rendering so he can update the box? The
anti-aliasing on some of the arrows looks pretty poor -- eg the arrow
from matplotlib.text.Text -> matplotlib.text.Annotation at
http://matplotlib.sourceforge.net/doc/html/api/artist_api.html. Is it
better on your box? Also, the start and end of the arrow locations is
pretty unsatisfying. You would think they could hit the box edges...
Is there a way to inform dot/graphiz to not exceed a certain width?
If so, I think we should set it so the images are not wider than some
reasonable browser window for the html.
JDH
From: Michael D. <md...@st...> - 2008年06月20日 13:25:50
Have you updated Sphinx from SVN lately? I have r64374.
Sphinx should have dumped a full traceback into a tmp file (and told you 
where it is, which I don't see in your log output). Can you send that?
Cheers,
Mike
Charlie Moad wrote:
> Python2.5 on OSX.5
>
> On Thu, Jun 19, 2008 at 11:14 PM, Michael Droettboom <md...@st... 
> <mailto:md...@st...>> wrote:
>
> What version of Python are you running? All I can think from
> looking at the code is that something in the regex is behaving
> differently for you than me (on Python 2.5).
>
> If you just want the docs to build (minus the inheritance
> diagrams), you can put a "return []" at the top of
> "inheritance_diagram_directive_run" in inheritance_diagram.py
>
> Cheers,
> Mike
>
> Charles Moad wrote:
>
> Just jumped into the new docs to take a look and immediately
> having problems building. I am hoping someone can make a
> quick fix so I don't have to debug.
>
> quaternion:doc cmoad$ ./make.py html
> Sphinx v0.3, building html
> trying to load pickled env... not found
> building [html]: targets for 45 source files that are out of date
> updating environment: 45 added, 0 changed, 0 removed
> reading... api/artist_api Exception occurred:
> File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/
> inheritance_diagram.py", line 78, in _import_class_or_module
> "Invalid class '%s' specified for inheritance diagram" % name)
> ValueError: Invalid class 'matplotlib.patches' specified for
> inheritance diagram
>
> Thanks,
> Charlie
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> <mailto: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: Charlie M. <cw...@gm...> - 2008年06月20日 13:23:08
Python2.5 on OSX.5
On Thu, Jun 19, 2008 at 11:14 PM, Michael Droettboom <md...@st...>
wrote:
> What version of Python are you running? All I can think from looking at
> the code is that something in the regex is behaving differently for you than
> me (on Python 2.5).
>
> If you just want the docs to build (minus the inheritance diagrams), you
> can put a "return []" at the top of "inheritance_diagram_directive_run" in
> inheritance_diagram.py
>
> Cheers,
> Mike
>
> Charles Moad wrote:
>
>> Just jumped into the new docs to take a look and immediately having
>> problems building. I am hoping someone can make a quick fix so I don't
>> have to debug.
>>
>> quaternion:doc cmoad$ ./make.py html
>> Sphinx v0.3, building html
>> trying to load pickled env... not found
>> building [html]: targets for 45 source files that are out of date
>> updating environment: 45 added, 0 changed, 0 removed
>> reading... api/artist_api Exception occurred:
>> File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/
>> inheritance_diagram.py", line 78, in _import_class_or_module
>> "Invalid class '%s' specified for inheritance diagram" % name)
>> ValueError: Invalid class 'matplotlib.patches' specified for inheritance
>> diagram
>>
>> Thanks,
>> Charlie
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
>>
>
>
From: Michael D. <md...@st...> - 2008年06月20日 13:13:12
Michael Droettboom wrote:
> John Hunter wrote:
>> Of course, the rendering is also somewhat painful
>> to me, after years of looking at agg rendering. Maybe I need to write
>> a dot output renderer....
>> 
The current version of graphviz uses either cairo or gd (the default 
being cairo on most modern installations.)
Now that you've uploaded the docs, I see that the font you're getting 
isn't as nice as mine. I was setting "fontname" to "sans", which is 
supposed to get the default sans serif font on the system. It appears, 
from testing, one can provide a list of fonts to dot, so I'll change it 
to try good fonts first, with sans as the last resort fallback.
It still makes the error of not pixel-aligning the rectangles, which 
makes the edges look fuzzy. That should probably be fixed.
Cheers,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Manuel M. <mm...@as...> - 2008年06月20日 12:00:37
Olle Engdegård wrote:
> hist(histtype="step") worked fine in rev5412, but in the latest I get
> 
>>>> hist(randn(1000), histtype="step")
> Traceback (most recent call last):
> /.../
> raise TypeError, 'There is no patch property "%s"'%key
> TypeError: There is no patch property "closed"
> 
> 
> Changing
> closed = kwargs.get('closed', True)
> back to
> closed = kwargs.pop('closed')
> 
> in axes.py helps (but there was probably a reason for the change in the 
> first place)
> 
> Cheers,
> Olle
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Hi Olle,
 thanks for the report. This is fixed now in r5609.
Manuel
From: Michael D. <md...@st...> - 2008年06月20日 03:19:32
John Hunter wrote:
> On Thu, Jun 19, 2008 at 3:05 PM, Michael Droettboom <md...@st...> wrote:
> 
>> I just committed support for inheritance graphs in the docs like the one
>> attached. In the docs themselves, an image map is included so clicking on a
>> node hyperlinks to the class docs.
>>
>> It uses "dot" to render the graph, and therefore you must have graphviz
>> installed. If it isn't, the directive *should* insert warnings in the docs
>> and not hard fail, but please let me know if it does. We can just as easily
>> change that behavior so it doesn't even insert the warnings.
>> 
>
> I think these will be really useful. I hope we can tweak the layout
> somewhat -- I think some of these graphs are too wide, for example (eg
> the artist graph).
One cheap way to deal with the width might be to just use the class 
name, not "matplotlib.artist. ...". But in general, if you have four 
levels of nesting, you're guaranteed four columns with the dot algorithm 
(excepting manual tweaks).
> Of course, the rendering is also somewhat painful
> to me, after years of looking at agg rendering. Maybe I need to write
> a dot output renderer....
>
> But aside from these minor stylistic nits which we can improve, the
> functionality is great and I suspect sphinx will be interested in
> including this.... Gee, we sure are acting like typical developers:
> spending all our time working on the doc *system* rather than the
> boring old docs themselves :-)
> 
Yep... ;)
Mike
From: Michael D. <md...@st...> - 2008年06月20日 03:15:04
What version of Python are you running? All I can think from looking at 
the code is that something in the regex is behaving differently for you 
than me (on Python 2.5).
If you just want the docs to build (minus the inheritance diagrams), you 
can put a "return []" at the top of "inheritance_diagram_directive_run" 
in inheritance_diagram.py
Cheers,
Mike
Charles Moad wrote:
> Just jumped into the new docs to take a look and immediately having 
> problems building. I am hoping someone can make a quick fix so I 
> don't have to debug.
>
> quaternion:doc cmoad$ ./make.py html
> Sphinx v0.3, building html
> trying to load pickled env... not found
> building [html]: targets for 45 source files that are out of date
> updating environment: 45 added, 0 changed, 0 removed
> reading... api/artist_api Exception occurred:
> File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ 
> inheritance_diagram.py", line 78, in _import_class_or_module
> "Invalid class '%s' specified for inheritance diagram" % name)
> ValueError: Invalid class 'matplotlib.patches' specified for 
> inheritance diagram
>
> Thanks,
> 	Charlie
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
From: Charles M. <cw...@gm...> - 2008年06月20日 02:27:44
Just jumped into the new docs to take a look and immediately having 
problems building. I am hoping someone can make a quick fix so I 
don't have to debug.
quaternion:doc cmoad$ ./make.py html
Sphinx v0.3, building html
trying to load pickled env... not found
building [html]: targets for 45 source files that are out of date
updating environment: 45 added, 0 changed, 0 removed
reading... api/artist_api Exception occurred:
 File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ 
inheritance_diagram.py", line 78, in _import_class_or_module
 "Invalid class '%s' specified for inheritance diagram" % name)
ValueError: Invalid class 'matplotlib.patches' specified for 
inheritance diagram
Thanks,
	Charlie

Showing 18 results of 18

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