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) |
|
|
|
|
|
|
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
|
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
|
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
|
|
From: John H. <jd...@gm...> - 2008-06-19 22:46:24
|
I believe there is a bug in the figimage handling when multiple images
are present. It looks like there is a negative sign in the
transformation that shouldn't be there. It is common to get upside
down in mpl, since bottom is 0 for us and usually bottom is top
Uncomment out the second figimage call to see the problem in the example below::
import numpy as np
import matplotlib.mathtext as mathtext
import matplotlib.pyplot as plt
parser = mathtext.MathTextParser("Bitmap")
parser.to_png('test2.png',
r'$\left[\left\lfloor\frac{5}{\frac{\left(3\right)}{4}}
y\right)\right]$', color='green', fontsize=14, dpi=100)
rgba1, depth1 = parser.to_rgba(r'IQ: $\sigma_i=15$', color='blue',
fontsize=20, dpi=200)
rgba2, depth2 = parser.to_rgba(r'some other string', color='red',
fontsize=20, dpi=200)
fig = plt.figure()
fig.figimage(rgba1.astype(float)/255., 100, 100)
#ig.figimage(rgba2.astype(float)/255., 100, 300)
plt.show()
|
|
From: John H. <jd...@gm...> - 2008-06-19 22:07:32
|
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). 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 :-) JDH |
|
From: Darren D. <dsd...@gm...> - 2008-06-19 20:42:41
|
On Thursday 19 June 2008 04:05:26 pm Michael Droettboom 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. Really cool, Mike. > 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'm also interested in feedback on the usefulness of these graphs or > ways they could be improved. I personally find them quite helpful, as > long as they aren't too large. Rather than producing one graph for > everything, it works pretty well to create graphs on the level of the > current division of the API docs (artists, collections, transforms etc.) I agree, it works well with some boundary conditions. In the old users guide, the inheritance diagram for backend FigureCanvases could have a big rubberstamp across it that reads "COMPLICATED". (No offense intended, but damn. :) ) Darren |
|
From: Fernando P. <fpe...@gm...> - 2008-06-19 20:12:32
|
On Thu, Jun 19, 2008 at 1:05 PM, Michael Droettboom <md...@st...> wrote: > This directive suffers from the same shortcoming as mathpng.py -- the images > are written to _static which probably isn't a good place for generated > files. Once we have a solution to this, I'll fix it. It may be worth > collaborating with Georg Brandl et al. on a general solution for generated > images. That will also make this directive more valuable as a > general-purpose (non-matplotlib) directive. Epydoc has support for this if you have dot/graphviz installed, but I'm MUCH happier with the sphinx output. It would be really great if you could bring all the remaining API-documentation features of epydoc into sphinx, so we could finally have one tool to do it all. Cheers, f |
|
From: Michael D. <md...@st...> - 2008-06-19 20:05:34
|
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'm also interested in feedback on the usefulness of these graphs or ways they could be improved. I personally find them quite helpful, as long as they aren't too large. Rather than producing one graph for everything, it works pretty well to create graphs on the level of the current division of the API docs (artists, collections, transforms etc.) This directive suffers from the same shortcoming as mathpng.py -- the images are written to _static which probably isn't a good place for generated files. Once we have a solution to this, I'll fix it. It may be worth collaborating with Georg Brandl et al. on a general solution for generated images. That will also make this directive more valuable as a general-purpose (non-matplotlib) directive. Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Michael D. <md...@st...> - 2008-06-19 19:35:54
|
John Hunter wrote: > On the 0.91 branch, there was an example called clippedline.py that > did a searchsorted on the xdata based on the xlim to cull out points > far outside the view limits. This is useful if you have a really long > time series and want to navigate through it. > > This is broken on the trunk, but before I dive too deep into trying to > fix it, I wanted to get some input about the best way to go about this > given the new transforms/path infrastructure. Michael, I know you did > some work to make this kind of use more efficient by default, so I > wanted to get your opinion on the best place to go about making this > kind of optimization. > This sort of culling happens automatically in the Agg backend now, without any data copies (see agg_py_path_iterator.h). Unfortunately, that doesn't actually make it any easier to do this sort of thing from Python. As for the bug in clippedline.py -- Line2D objects store _xorig, _yorig (the original data) and _x, _y (unit converted data). The difference now is that _x and _y are computed less often, so they don't actually exist during the call to ClippedLine.set_data. You can force their computation by calling self.recache() after the call to Line2D.set_data(), or we can restore the old behavior by calling recache() at the bottom of Line2D.set_data(), albeit with a performance penalty on panning/zooming due to the tick lines taking longer to move. 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-19 17:33:07
|
On the 0.91 branch, there was an example called clippedline.py that did a searchsorted on the xdata based on the xlim to cull out points far outside the view limits. This is useful if you have a really long time series and want to navigate through it. This is broken on the trunk, but before I dive too deep into trying to fix it, I wanted to get some input about the best way to go about this given the new transforms/path infrastructure. Michael, I know you did some work to make this kind of use more efficient by default, so I wanted to get your opinion on the best place to go about making this kind of optimization. JDH |