Re: [matplotlib-devel] future of mpl documentation

2008-05-26 Thread Gary Ruben
My 2 cents:
I think it looks better if you reduce the number of histogram bins from 
50 down to 15 or 20.
Gary R.

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

-
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


[matplotlib-devel] Tk build problem on Ubuntu Hardy

2008-05-26 Thread Fernando Perez
Hi all,

just a heads up: current MPL from SVN won't build the Tk backend on an
ubuntu hardy installation (32 bit) because the location of certain
paths seems to have changed.  I got it down to this snippet:

import Tkinter
tk = Tkinter.Tk()
tk.withdraw()
print tk.getvar('tcl_library')

On a gutsy box I get:
/usr/lib/tcl8.4

but hardy now reports:
/usr/share/tcltk/tcl8.4

This seems to foul up the path handling code in add_tk_flags(), so in
the end the created extension module object (in check_for_tk) ends up
with:

In [21]: module.include_dirs
Out[21]: ['/usr/share/include', '/usr/share/include']

This obviously means that the headers for Tk aren't found, since they
live in /usr/include:

/usr/include/tcl8.4/tk.h

The code for this path detection is obviously rather convoluted and
brittle, since there seems to be no clear API provided by Tk for this
information, unfortunately. This could be a Hardy bug, for all I know.
 I just wanted to let you guys know, for now I'll brute-force patch my
local copy so I can build.

Cheers,

f

-
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