From: John H. <jd...@gm...> - 2008-06-01 04:53:52
|
On Sat, May 31, 2008 at 11:27 PM, Tony Yu <ts...@gm...> wrote: > I like the new color scheme on the website. Since you asked for criticism, > though, I'm not a fan of the blue "matplotlib" in the logo (on the website, > the attached logo is actually different). I think black or a dark gray looks > better (color=[0.2, 0.2, 0.2]). Or, if you prefer blue, something less like > the default hyperlink color (e.g. color=[.1,.1,.5]). My 2 cents. I agree -- I had already reverted to black (hit refresh). But if you think some other shade of dark gray or blue/gray is better let me know. > BTW, I noticed that website is a little old (pure HTML, no CSS). If you're > ever interested in redesigning the website (nothing fancy, mainly just > moving to CSS), I'd be happy to help out. We're definitely interested. Try checking out the htdocs svn repository. Admittedly we do things in our own special way (eg the YAPTU template engine), but if we could improve the look-and-feel that would be great. None of us have any special powers in the website-design department. Even better, as part of our new trunk documentation effort, we have moved to a sphinx based documentation system (in the doc subdir of svn trunk). If you could figure out a way to hook custom CSSandr mpl figures/screenshots or any other snazzy features into the base sphinx build system, that would be a big help since we hope to jettison the somewhat anachronistic website build system n the not-too-distant-future. JDH |
From: Darren D. <dar...@co...> - 2008-06-01 10:00:56
|
On Sunday 01 June 2008 12:53:48 am John Hunter wrote: > On Sat, May 31, 2008 at 11:27 PM, Tony Yu <ts...@gm...> wrote: > > I like the new color scheme on the website. Since you asked for > > criticism, though, I'm not a fan of the blue "matplotlib" in the logo (on > > the website, the attached logo is actually different). I think black or a > > dark gray looks better (color=[0.2, 0.2, 0.2]). Or, if you prefer blue, > > something less like the default hyperlink color (e.g. color=[.1,.1,.5]). > > My 2 cents. > > I agree -- I had already reverted to black (hit refresh). But if you > think some other shade of dark gray or blue/gray is better let me > know. Speaking as a recovering graphical design major and insensitive curmudgeon... it looks great, nice work! I do have two comments though: the 90 and 270 ticklabels are cut off, and I think the plot would look a little cleaner if the ticklabel pad were increased so the radial ticks were a little further from the axes. > > BTW, I noticed that website is a little old (pure HTML, no CSS). If > > you're ever interested in redesigning the website (nothing fancy, mainly > > just moving to CSS), I'd be happy to help out. > > We're definitely interested. Try checking out the htdocs svn > repository. Admittedly we do things in our own special way (eg the > YAPTU template engine), but if we could improve the look-and-feel that > would be great. None of us have any special powers in the > website-design department. Even better, as part of our new trunk > documentation effort, we have moved to a sphinx based documentation > system (in the doc subdir of svn trunk). If you could figure out a > way to hook custom CSSandr mpl figures/screenshots or any other snazzy > features into the base sphinx build system, that would be a big help > since we hope to jettison the somewhat anachronistic website build > system n the not-too-distant-future. I was intending to write the list and ask if anyone was interested in playing with CSS to customize the looks of the new sphinx-based documentation effort. I'm really happy to hear that you're interested in helping out, Tony. I second Johns suggestion of having a look at the doc/ directory in the trunk, and getting familiar with sphinx. I think most of the content on the website is going to find a new home in the sphinx-based docs, and it would be nice if the front page, sidebars, etc could also be generated with sphinx. For the moment, you can build the html documentation by running "make.py html" in the doc directory. The latex->pdf docs are experiencing growing pains, I'll work on it this morning. Darren |
From: Darren D. <dar...@co...> - 2008-06-01 11:12:11
|
On Saturday 31 May 2008 11:44:34 pm Darren Dale wrote: > On Saturday 31 May 2008 10:19:47 pm John Hunter wrote: > > On Sat, May 31, 2008 at 9:01 PM, Fernando Perez <fpe...@gm...> > > wrote: > > > I don't know if you are so in the middle of things that you'd rather > > > not get bug reports on this for a while. If that's the case I'll wait > > > until the dust settles a bit. > > > > Well, we definitely want our docs to build so we're happy to get the > > feedback -- sometimes it's a simple matter of a dev forgetting to > > commit a critical file. I am getting this error too. It appears to > > be a bug in the pyplot docstrings -- Darren, perhaps you haven't > > committed all you recent changes? > > All my changes had already been committed. I had only been creating html > (./make.py html) and it looks like some of the tables I have been creating > dont agree with latex. I'll fix it tomorrow, but in the meantime, please > just make html. Alright, I've tracked down the source of these two errors. Sphinx can not create tables in latex that have cells spanning multiple rows or multiple columns. Maybe it is a limitation of latex, I'm not sure, I don't have my latex books handy. But it looks like tables with row- or column-spanning cells are henceforth verboten. I've updated pyplot_api.rst in svn so it is basically empty and will not cause anyone trouble while I fix the broken tables. > > But if I remove entirely the pyplot > > api doc which is causing this problem, I get lots of other errors > > along the lines of those shown below. Is this a latex or sphinxext > > config error? > > > > [8 <./pyplot_formatstr.png> <./pyplot_three.png>] [9] [10] > > <pyplot_two_subplots.png, id=368, 578.16pt x 433.62pt> > > <use pyplot_two_subplots.png> <use pyplot_two_subplots.png> [11 > > <./pyplot_two_s ubplots.png>] <pyplot_text.png, id=375, 578.16pt x > > 433.62pt> > > <use pyplot_text.png> <use pyplot_text.png> [12 <./pyplot_text.png>] [13] > > [14] > > Chapter 2. > > [15] [16] > > ! Undefined control sequence. > > <recently read> \mathbb > > > > l.954 \end{tabulary} I tracked this down by checking the contents of the generated build/latex/Matplotlib.tex, line 954. It is from the following code from mathtext.rst: > When using the STIX fonts, you also have the choice of: > > ================ ================================= > Command Result > ================ ================================= > ``\mathbb`` :math:`\mathbb{Blackboard}` > ``\mathcircled`` :math:`\mathcircled{Circled}` > ``\mathfrak`` :math:`\mathfrak{Fraktur}` > ``\mathsf`` :math:`\mathsf{sans-serif}` > ================ ================================= I'm not sure this is being properly rendered in the HTML output for me, either. Mike, are you able to compile this into a pdf on your machine, and if so, would you tell us how to configure STIX support? I commented this block out in svn for now. Cheers, Darren |
From: Rob H. <he...@ta...> - 2008-06-01 13:48:09
|
On Jun 1, 2008, at 4:30 AM, John Hunter wrote: > Let me know what you think... Generally, I like the logo, and think it is a *huge* improvement on the old one. Two suggestions: 1. The original new logo was done in a Helvetica medium font, which is much nicer for this type of logo. (See the Helvetica movie, and become a true believer...). 2. I like the figure to the side (and agree that there should be only one), but it seems that polar plots are more rarely used than normal x- y plots. Perhaps an x-y plot (the histogram, for example) would be better advertising. -Rob ---- Rob Hetland, Associate Professor Dept. of Oceanography, Texas A&M University http://pong.tamu.edu/~rob phone: 979-458-0096, fax: 979-845-6331 |
From: Tony Yu <ts...@gm...> - 2008-06-01 15:55:02
|
On Jun 1, 2008, at 9:47 AM, Rob Hetland wrote: > > 2. I like the figure to the side (and agree that there should be > only one), but it seems that polar plots are more rarely used than > normal x-y plots. Perhaps an x-y plot (the histogram, for example) > would be better advertising. I was the one who originally chose the polar plot. I admit, it was mainly for aesthetics. Here are a few reasons: * I think a circular plot works better on the logo than a rectangular plot would. * The polar plot is one of the more attractive plots in the examples. * It's a plotting featuring that most plotting software wouldn't have so it seems to differentiate matplotlib from other plotting software. Originally, it wasn't a big deal because there were other plots in the logo. Still, I'd be in favor of keeping the polar plot for aesthetic reasons. Great, now I'm that guy who's arguing for looks over practicality. :( -Tony |
From: Tony Yu <ts...@gm...> - 2008-06-01 14:23:52
|
On Jun 1, 2008, at 6:00 AM, Darren Dale wrote: > On Sunday 01 June 2008 12:53:48 am John Hunter wrote: >> >> >> We're definitely interested. Try checking out the htdocs svn >> repository. Hmm, the README file says I need all the backends working. I don't think I want to try that on my Mac. I'll try it out with a linux machine I have in lab. >> Admittedly we do things in our own special way (eg the >> YAPTU template engine), but if we could improve the look-and-feel >> that >> would be great. None of us have any special powers in the >> website-design department. Even better, as part of our new trunk >> documentation effort, we have moved to a sphinx based documentation >> system (in the doc subdir of svn trunk). If you could figure out a >> way to hook custom CSSandr mpl figures/screenshots or any other >> snazzy >> features into the base sphinx build system, that would be a big help >> since we hope to jettison the somewhat anachronistic website build >> system n the not-too-distant-future. > > I was intending to write the list and ask if anyone was interested > in playing > with CSS to customize the looks of the new sphinx-based > documentation effort. > I'm really happy to hear that you're interested in helping out, Tony. Actually, I really like the default look of sphinx-based docs, but I wouldn't mind playing around with it. What did you have in mind? > For the moment, you can build the html documentation by running > "make.py html" > in the doc directory. The latex->pdf docs are experiencing growing > pains, > I'll work on it this morning. html built fine on my machine; it looks really nice. The pdf docs also built without problems. Nice work. -Tony |
From: Darren D. <dar...@co...> - 2008-06-01 15:12:06
|
On Sunday 01 June 2008 10:23:47 am Tony Yu wrote: > On Jun 1, 2008, at 6:00 AM, Darren Dale wrote: > > I was intending to write the list and ask if anyone was interested > > in playing > > with CSS to customize the looks of the new sphinx-based > > documentation effort. > > I'm really happy to hear that you're interested in helping out, Tony. > > Actually, I really like the default look of sphinx-based docs, but I > wouldn't mind playing around with it. What did you have in mind? Our front page has various sidebars that include announcements, links to the sourceforge download page, etc. I like the default look of sphinx-based html as well, but I also like the look of the moin-based scipy page. > > For the moment, you can build the html documentation by running > > "make.py html" > > in the doc directory. The latex->pdf docs are experiencing growing > > pains, > > I'll work on it this morning. > > html built fine on my machine; it looks really nice. The pdf docs also > built without problems. Nice work. Yes, pdf is working again, I sorted out the issues that John and Fernando reported last night. Darren |
From: Michael D. <md...@st...> - 2008-06-02 12:34:16
|
Darren Dale wrote: > On Saturday 31 May 2008 11:44:34 pm Darren Dale wrote: > >> On Saturday 31 May 2008 10:19:47 pm John Hunter wrote: >> >>> On Sat, May 31, 2008 at 9:01 PM, Fernando Perez <fpe...@gm...> >>> > I tracked this down by checking the contents of the generated > build/latex/Matplotlib.tex, line 954. It is from the following code from > mathtext.rst: > > >> When using the STIX fonts, you also have the choice of: >> >> ================ ================================= >> Command Result >> ================ ================================= >> ``\mathbb`` :math:`\mathbb{Blackboard}` >> ``\mathcircled`` :math:`\mathcircled{Circled}` >> ``\mathfrak`` :math:`\mathfrak{Fraktur}` >> ``\mathsf`` :math:`\mathsf{sans-serif}` >> ================ ================================= >> > > > I'm not sure this is being properly rendered in the HTML output for me, > either. Mike, are you able to compile this into a pdf on your machine, and if > so, would you tell us how to configure STIX support? I commented this block > out in svn for now. > Sorry about that. It requires the amssymb and/or amsmath LaTeX packages to render correctly. Perhaps it is better to not require the LaTeX installation to have anything special though. I think the best course of action is to just include pre-generated images in the documentation source for this. I'll go ahead and do that. Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
From: Darren D. <dar...@co...> - 2008-06-08 18:10:25
|
On Monday 02 June 2008 08:33:55 Michael Droettboom wrote: > Darren Dale wrote: > > On Saturday 31 May 2008 11:44:34 pm Darren Dale wrote: > >> On Saturday 31 May 2008 10:19:47 pm John Hunter wrote: > >>> On Sat, May 31, 2008 at 9:01 PM, Fernando Perez <fpe...@gm...> > > > > I tracked this down by checking the contents of the generated > > build/latex/Matplotlib.tex, line 954. It is from the following code from > > > > mathtext.rst: > >> When using the STIX fonts, you also have the choice of: > >> > >> ================ ================================= > >> Command Result > >> ================ ================================= > >> ``\mathbb`` :math:`\mathbb{Blackboard}` > >> ``\mathcircled`` :math:`\mathcircled{Circled}` > >> ``\mathfrak`` :math:`\mathfrak{Fraktur}` > >> ``\mathsf`` :math:`\mathsf{sans-serif}` > >> ================ ================================= > > > > I'm not sure this is being properly rendered in the HTML output for me, > > either. Mike, are you able to compile this into a pdf on your machine, > > and if so, would you tell us how to configure STIX support? I commented > > this block out in svn for now. > > Sorry about that. It requires the amssymb and/or amsmath LaTeX packages > to render correctly. Perhaps it is better to not require the LaTeX > installation to have anything special though. I think the best course > of action is to just include pre-generated images in the documentation > source for this. I'll go ahead and do that. I added doc/static_figs to hold scripts that require optional dependencies to generate images for the docs. I would like to be able to keep track of how the images are generated, so if we lose one we know how to recreate it. I added two scripts (softlinks actually) a README and a make.py to that directory. make.py saves the images to doc/_static. |
From: Michael D. <md...@st...> - 2008-06-02 13:13:15
|
John Hunter wrote: > On Sat, May 31, 2008 at 9:19 AM, Darren Dale <dar...@co...> wrote: > >> I'll be working on converting docstrings to rest this weekend. Should any of >> this be done on the branch? Or should we just focus on the trunk? >> > > As far as I am concerned, the documentation effort is for the trunk. > The only reason to do them on the branch too is to make merges of > other code changes easier, which may be a compelling reason. If the > docstrings get far out of whack, it may make merging other changes > very painful. But at the same time, I don't want the burden of > trying to keep the two in sync stopping you from getting the work done > that you need to do. Maybe you can try it and see how hard it is, and > if proves to be too much of an impediment, just concentrate on the > trunk. Michael, any advice here? > I was away on the weekend, so just getting back. Darren: you rock. The documentation is looking great! I agree with John -- I think the documentation effort should be focused on the trunk. Now that we have (apparently) such a stable 0.91.3, hopefully the maintenance branch will be much less frequently modified anyway. Theoretically, we should only run into merge conflicts related to docstrings if the docstrings on the maintenance branch are themselves edited. If we're just going to be doing bugfixes on the branch, that seems unlikely. 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-02 13:49:42
|
On Mon, Jun 2, 2008 at 8:12 AM, Michael Droettboom <md...@st...> wrote: > I agree with John -- I think the documentation effort should be focused on > the trunk. Now that we have (apparently) such a stable 0.91.3, hopefully > the maintenance branch will be much less frequently modified anyway. > Theoretically, we should only run into merge conflicts related to > docstrings if the docstrings on the maintenance branch are themselves > edited. If we're just going to be doing bugfixes on the branch, that seems > unlikely. Up to know, we've been adding features and bugs on the branch and then merging them in. Going forward, I think we should just focus on bug-fixes on the branch and mostly implement a feature-freeze, which will promote stability and encourage people who want the new stuff onto the trunk. We don't have to be fanatical about this -- if there is a great feature we can put in w/o compromising stability, that's fine, but I think our default should be bug-fixes only. JDH |
From: Darren D. <dar...@co...> - 2008-06-08 18:15:27
|
On Monday 02 June 2008 09:12:45 Michael Droettboom wrote: > John Hunter wrote: > > On Sat, May 31, 2008 at 9:19 AM, Darren Dale <dar...@co...> wrote: > >> I'll be working on converting docstrings to rest this weekend. Should > >> any of this be done on the branch? Or should we just focus on the trunk? > > > > As far as I am concerned, the documentation effort is for the trunk. > > The only reason to do them on the branch too is to make merges of > > other code changes easier, which may be a compelling reason. If the > > docstrings get far out of whack, it may make merging other changes > > very painful. But at the same time, I don't want the burden of > > trying to keep the two in sync stopping you from getting the work done > > that you need to do. Maybe you can try it and see how hard it is, and > > if proves to be too much of an impediment, just concentrate on the > > trunk. Michael, any advice here? > > I was away on the weekend, so just getting back. Darren: you rock. The > documentation is looking great! I agree, the documentation is coming along nicely. But I don't think I should be singled out for credit, there's lots of good stuff appearing that I haven't had anything to do with. |