Re: [matplotlib-devel] future of mpl documentation

2008-05-25 Thread John Hunter
On Sat, May 24, 2008 at 11:21 PM, Tony Yu <[EMAIL PROTECTED]> wrote:

> I don't know if you were planning to accept submissions, but here's a logo
> with some of my favorite plots from examples.zip:

Submissions are extremely welcome, and I like the approach.  I think
you might experiment with another font for the main text, and try to
incorporate some display of mathtext since this is a real selling
point.  We also need one version that is no wider that 200 pages for
the sphinx navigation toolbar, so we will need to be judicious for
that one.  But the one for the web page can be much larger, and I like
this as  start.  Is there anything we can do with the background to
make it a little more interesting?  A very large equation that spans
most of the background but is so light in color (a gray with a low
alpha) that it very faint?

Also, the banner should be generated as  a matplotlib figure rather
than put together in inkscape or something like that.  How did you
make this -- if is code, please post so we can play along.  If not,
see if you can write the logo example by laying out the axes just so.

JDH

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] future of mpl documentation

2008-05-25 Thread Tony Yu


On May 25, 2008, at 12:13 PM, John Hunter wrote:


I played around with this a bit this morning -- it may be too busy for
your OS X sensibilities, but let me know if you think think this is an
approach wotrh pursuing.  I've added the mathtext background and a few
axes and there are a few more axes to do.  In svn as
examples/api/logo2.py


I must admit, I was a little worried when you suggested adding a big  
equation in the background, but I think you did a good job of making  
it look nice. Unfortunately, I get an error when I try to run the  
logo2 script:


AttributeError: 'NoneType' object has no attribute 'get_ticklabels'

module body in logo2.py at line 23
for label in ax.get_xticklabels() + ax.get_yticklabels():

If I comment-out that for-block, I run into another error:

NotImplementedError: xlim not meaningful for polar axes

module body in logo2.py at line 43
ax.set_xlim(-2*sigma, 2*sigma)

I'm guessing the first error is a trunk vs. v0_91_maint issue? Is the  
second a naming error in the commit? Maybe axhist.set_xlim instead of  
ax.set_xlim?


Overall I really like the new logo, but I'd like play around with it a  
bit for kicks.


Thanks!
-Tony-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] future of mpl documentation

2008-05-25 Thread John Hunter
On Sun, May 25, 2008 at 11:50 AM, Tony Yu <[EMAIL PROTECTED]> wrote:

> I must admit, I was a little worried when you suggested adding a big
> equation in the background, but I think you did a good job of making it look
> nice. Unfortunately, I get an error when I try to run the logo2 script:

I'm not wed to it, so just experiment.

> AttributeError: 'NoneType' object has no attribute 'get_ticklabels'
> module body in logo2.py at line 23
> for label in ax.get_xticklabels() + ax.get_yticklabels():
> If I comment-out that for-block, I run into another error:
> NotImplementedError: xlim not meaningful for polar axes
> module body in logo2.py at line 43
> ax.set_xlim(-2*sigma, 2*sigma)
> I'm guessing the first error is a trunk vs. v0_91_maint issue? Is the second

You need to be on the trunk and I think I was a commit behind -- try it now.

We will probably want to set the various ticklabel and title sizes to
something really small using rc

import matplotlib
matplotlib.rcParams['xtick.labelsize']  = 6

so that we can tweak all these in one place at the top of the script.

JDH

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel