Charlie Moad | 1 Nov 14:23
Picon

Home page text

I think this needs some clean-up:

"The latest matplotlib-0.87.7 for windows was compiled with numpy 1.0
final. Please make sure you are not using the latest numpy-1.0."

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
John Hunter | 1 Nov 15:35

Re: Home page text

>>>>> "Charlie" == Charlie Moad <cwmoad@...> writes:

    Charlie> I think this needs some clean-up: "The latest
    Charlie> matplotlib-0.87.7 for windows was compiled with numpy 1.0
    Charlie> final. Please make sure you are not using the latest
    Charlie> numpy-1.0."

Oops -- done.  Thanks.

JDH

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Chris Walker | 1 Nov 16:54
Picon

Re: Home page text

John Hunter <jdhunter@...> writes:

> >>>>> "Charlie" == Charlie Moad <cwmoad@...> writes:
> 
>     Charlie> I think this needs some clean-up: "The latest
>     Charlie> matplotlib-0.87.7 for windows was compiled with numpy 1.0
>     Charlie> final. Please make sure you are not using the latest
>     Charlie> numpy-1.0."
> 
> Oops -- done.  Thanks.

On which subject, "What's new" starts:

What's new in matplotlib 0.83

rather than the 0.87.7

Chris

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
John Hunter | 1 Nov 17:33

basemap compile problem


I have a fresh update of basemap from svn and a clean build dir, and I
am getting a build error

matplotlib/toolkits/basemap> gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-8ubuntu2.1)
Copyright (C) 2003 Free Software Foundation, Inc.

matplotlib/toolkits/basemap> svn up
At revision 2842.
matplotlib/toolkits/basemap> sudo rm -rf build
matplotlib/toolkits/basemap> python setup.py build > & build.out

Here is build.out.  Any ideas?

running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/matplotlib
creating build/lib.linux-i686-2.4/matplotlib/toolkits
creating build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
copying lib/matplotlib/toolkits/basemap/greatcircle.py -> build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
copying lib/matplotlib/toolkits/basemap/basemap.py -> build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
copying lib/matplotlib/toolkits/basemap/proj.py -> build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
copying lib/matplotlib/toolkits/basemap/__init__.py -> build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
creating build/lib.linux-i686-2.4/shapelib
copying lib/shapelib/__init__.py -> build/lib.linux-i686-2.4/shapelib
copying lib/shapelib/shapelib.py -> build/lib.linux-i686-2.4/shapelib
creating build/lib.linux-i686-2.4/dbflib
(Continue reading)

John Hunter | 1 Nov 18:04

Re: Home page text

>>>>> "Chris" == Chris Walker <chrisw@...> writes:
    Chris> On which subject, "What's new" starts:

    Chris> What's new in matplotlib 0.83

    Chris> rather than the 0.87.7

yes, that is a bit out of date....  If you would like to help here,
the file htdocs/whats_new.html.template is in the htdocs svn
repository.  The format of what's new is a python dictionary where the
keys are version numbers and the values are tuples of (header,
description) tuples.

If you could take some time to peruse the CHANGELOG file and update
some entries in the what's new dictionary, I will apply them to the
svn code and update the web page.  

versioninfo['0.87.5'] = (
  ("aspect handling", """\
Excellent support for axes aspect handling, with aspect='equal' or
  aspect=1.5 or aspect='norm' passed to an Axes or Subplot
"""),

  ("lasso tool", """\
Use a lasso tool for picking points -- see <a
href=examples/lasso_demo.py>lasso demo</a>
"""),

  ("true ellipses", """\
Earlier versions of matplotlib used a polygon approximation to
(Continue reading)

Jeff Whitaker | 1 Nov 19:55
Favicon

Re: basemap compile problem

John Hunter wrote:
> I have a fresh update of basemap from svn and a clean build dir, and I
> am getting a build error
>
> matplotlib/toolkits/basemap> gcc --version
> gcc (GCC) 3.3.5 (Debian 1:3.3.5-8ubuntu2.1)
> Copyright (C) 2003 Free Software Foundation, Inc.
>
> matplotlib/toolkits/basemap> svn up
> At revision 2842.
> matplotlib/toolkits/basemap> sudo rm -rf build
> matplotlib/toolkits/basemap> python setup.py build > & build.out
>
> Here is build.out.  Any ideas?
>
> running build
> running build_py
> creating build
> creating build/lib.linux-i686-2.4
> creating build/lib.linux-i686-2.4/matplotlib
> creating build/lib.linux-i686-2.4/matplotlib/toolkits
> creating build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
> copying lib/matplotlib/toolkits/basemap/greatcircle.py -> build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
> copying lib/matplotlib/toolkits/basemap/basemap.py -> build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
> copying lib/matplotlib/toolkits/basemap/proj.py -> build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
> copying lib/matplotlib/toolkits/basemap/__init__.py -> build/lib.linux-i686-2.4/matplotlib/toolkits/basemap
> creating build/lib.linux-i686-2.4/shapelib
> copying lib/shapelib/__init__.py -> build/lib.linux-i686-2.4/shapelib
> copying lib/shapelib/shapelib.py -> build/lib.linux-i686-2.4/shapelib
> creating build/lib.linux-i686-2.4/dbflib
(Continue reading)

John Hunter | 1 Nov 20:09

Re: basemap compile problem

>>>>> "Jeff" == Jeff Whitaker <jswhit@...> writes:

    Jeff> John Hunter wrote:

    Jeff> John: In the process of updating the proj4 source files to
    Jeff> version 4.5.0, I've somehow munged the repository.  Could
    Jeff> you try revision 2836?  If that works for you, I'll try to
    Jeff> revert the repository.

Yes, this works.

But now I am getting a traceback with basemap + mpl svn in contour
with the attached file.  I don't know if this is a bug in the example
code or in the contour module (it appears tcolors is not getting set
because the changed method is not being called, but I only looked at
it briefly)

matplotlib/htdocs/screenshots> python
plotmap.py
/usr/lib/python2.4/site-packages/matplotlib/figure.py:690:
DeprecationWarning: Old colorbar kwargs (tickfmt) found; using
colorbar_classic.
  warnings.warn(msg, DeprecationWarning)
Traceback (most recent call last):
  File "plotmap.py", line 36, in ?
    colorbar(tickfmt='%d', cax=cax) # draw colorbar
  File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line
  342, in colorbar
    ret = gcf().colorbar(mappable, cax = cax, **kw)
  File "/usr/lib/python2.4/site-packages/matplotlib/figure.py", line
(Continue reading)

Jeff Whitaker | 1 Nov 20:45
Favicon

Re: basemap compile problem

John Hunter wrote:
>>>>>> "Jeff" == Jeff Whitaker <jswhit@...> writes:
>>>>>>             
>
>     Jeff> John Hunter wrote:
>
>     Jeff> John: In the process of updating the proj4 source files to
>     Jeff> version 4.5.0, I've somehow munged the repository.  Could
>     Jeff> you try revision 2836?  If that works for you, I'll try to
>     Jeff> revert the repository.
>
> Yes, this works.
>
> But now I am getting a traceback with basemap + mpl svn in contour
> with the attached file.  I don't know if this is a bug in the example
> code or in the contour module (it appears tcolors is not getting set
> because the changed method is not being called, but I only looked at
> it briefly)
>
> matplotlib/htdocs/screenshots> python
> plotmap.py
> /usr/lib/python2.4/site-packages/matplotlib/figure.py:690:
> DeprecationWarning: Old colorbar kwargs (tickfmt) found; using
> colorbar_classic.
>   warnings.warn(msg, DeprecationWarning)
> Traceback (most recent call last):
>   File "plotmap.py", line 36, in ?
>     colorbar(tickfmt='%d', cax=cax) # draw colorbar
>   File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line
>   342, in colorbar
(Continue reading)

Nicolas Grilly | 5 Nov 18:07

A question about cbook.is_string_like

Hello everybody,

I'm in the process of replacing R by matplotlib to plot all of our charts.

I'm hacking the PDF backend because I need this format to import
charts in ConTeXt (this is TeX macro package, similar to LaTeX, we use
to produce PDF reports).

My first question, very basic, is why function is_string_like, in
module cbook, doesn't simply

   return isinstance(s, types.StringTypes)

instead of

   try: obj + ''
   except (TypeError, ValueError): return 0
   return 1

Thanks for your work,

Nicolas

--

-- 
Garden - Marketing & Datamining Consultancy
Nicolas Grilly
Tel +33 1 45 72 48 78
Mob +33 6 03 00 25 34
www.garden-paris.com

(Continue reading)

Gael Varoquaux | 5 Nov 18:11
Favicon
Gravatar

Re: A question about cbook.is_string_like

On Sun, Nov 05, 2006 at 06:07:50PM +0100, Nicolas Grilly wrote:
> I'm hacking the PDF backend because I need this format to import
> charts in ConTeXt (this is TeX macro package, similar to LaTeX, we use
> to produce PDF reports).

I am all for a good PDF backend, but you should be aware that under
unices you can tell matplotlib to use a distiller, as illustrated in:
http://www.mail-archive.com/matplotlib-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f <at> public.gmane.org/msg00160.html

Gaƫl

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Gmane