Re: [Matplotlib-users] release candidate

2009-02-08 Thread Charlie Moad
Sure.  Just send me a note when the src is ready.

- Charlie

On Sun, Feb 8, 2009 at 3:46 PM, John Hunter jdh2...@gmail.com wrote:
 We have accumulated a number of bug fixes in our stable release
 branch, so I would like to release the 3rd bugfix release.  Please
 test and report any problems

  
 http://matplotlib.sourceforge.net/release-candidates/matplotlib-0.98.5.3.tar.gz

 Charlie, will you have any time early next week for the windows
 builds?  I can handle the OSX and src release.

 Thanks,
 JDH


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Why is wrapper module called pylab ?

2008-10-26 Thread Charlie Moad
Pylab is just a name for a module in matplotlib that is supposed to mimic
matlab.  I would say its intent it to ease the transition for matlab users.
 It wouldn't really make sense to refer to matplotlib as pylab.  The
matplotlib.pyplot is favored over the pylab module now.
- Charlie

On Sun, Oct 26, 2008 at 1:28 AM, [EMAIL PROTECTED] wrote:


 So is matplotlib the name of the low level plotting engine?

 And, pylab is the user-friendly wrapper?

 Would it be ok to call the whole system Pylab instead of Matplotlib then?


 Chris

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6

2008-10-16 Thread Charlie Moad
Thanks for the notes.  I suspect many people are in the same boat as me and
just do not have access to the environment you do.

- Charlie

On Wed, Oct 15, 2008 at 3:07 AM, Dan Shechter [EMAIL PROTECTED] wrote:

 Of course... I'll try to be as detailed as I can be...

 I'll start off by mentioning that I have created and uploaded and
 archive with a snapshot of everything that I've got so far:
 http://rapidshare.com/files/154096953/py-64.7z.html

 The env. I'm using is:
 * VS9 (2008)
 * Python 2.6 for amd 64 (compiled with VS9 by the python.org folks)

 To compile Numpy I did this:
 1. Extract Numpy 1.2
 2. Start the Visual Studio 2008 Command prompt
 3. Patch numpy-1.2.0\numpy\core\src\umathmodule.c.src according to the
 instructios here:


 http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037981.htm
 l


 http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037994.htm
 l
 4. invoke python setup.py build bdist_wininst
 5. Install the resulting installer
 6. Run numpy.test()... (You'll need a installed nose unit-test framework,
 which is in the archive I've attached)

 For MPL:
 1. Extract matplotlib-0.98.3
 2. I downloaded the win32_static package so I can see the recomended
   static dependencies and compiled the dependencies as best I could,
   altering the provided .sln/.csproj files as best I could to compile
   for x64 (none of them have pre-made x64 builds)
   What I compiled out of the win32 packages was:
   libpng / zlib
   freetype
 3. I restructures the headers / .lib files in a manner similar to how they
 were with
   the win32_static package, and placed it in a win64 directory
 4. Changed setupext.py to use win64 instead of win32_static
 5. Compiled with python setup.py build bdist_wininst, installed the
 resulting installer
 6. Ran a few tests...

 That's it.
 I'm still missing on getting the wxPython headers/static libs compiled,
 but I assume this is not a
 critical part of getting MPL working, but rather required for
 completeness
 sake.


 From: Charlie Moad [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 15, 2008 03:11
 To: Dan Shechter
 Cc: matplotlib-users@lists.sourceforge.net
 Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6

 Could you please describe your build environment?  I am interested in what
 compiler you used and what OS you are running.

 - Charlie
 On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter [EMAIL PROTECTED] wrote:
 Hi,
 I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
 NumPy seems so pass most of the unit tests, except for a few minor ones
 where it seems nose (the unit testing harness) seems to have problems with
 python 2.6.

 After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!) I
 do get a generally speaking working version but there seem to be quite a
 few
 display issues... I have re-occuring cases of missing data points, for a
 lack of a better name.
 Feel free to look at a screenshot:
 http://img101.imageshack.us/my.php?image=badsubloptswy1.png

 Is MPL supported on Win x64? I someone working on this?

 I would be happy to share my NumPy build and MPL dependencies + MPL build
 with anyone that perhaps knowing a bit more than me about MPL :)

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6

2008-10-14 Thread Charlie Moad
Could you please describe your build environment?  I am interested in what
compiler you used and what OS you are running.
- Charlie

On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter [EMAIL PROTECTED] wrote:

 Hi,
 I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
 NumPy seems so pass most of the unit tests, except for a few minor ones
 where it seems nose (the unit testing harness) seems to have problems with
 python 2.6.

 After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!) I
 do get a generally speaking working version but there seem to be quite a few
 display issues... I have re-occuring cases of missing data points, for a
 lack of a better name.
 Feel free to look at a screenshot:
 http://img101.imageshack.us/my.php?image=badsubloptswy1.png

 Is MPL supported on Win x64? I someone working on this?

 I would be happy to share my NumPy build and MPL dependencies + MPL build
 with anyone that perhaps knowing a bit more than me about MPL :)

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-08-03 Thread Charlie Moad
On Sun, Aug 3, 2008 at 10:25 AM, Sandro Tosi [EMAIL PROTECTED] wrote:

 On Sun, Aug 3, 2008 at 10:54, Mikhail Gusarov [EMAIL PROTECTED]
 wrote:
  As Lenny is already in freeze, I backported fix to 0.4.1 and now trying
  to get the confirmation from release team to upload it to
  testing-proposed-updates.
 
  Please test the package: http://dottedmag.net/~mag/sphinx/

 I tested the package and it works fine (didn't test in a chroot, but
 it works with svn-bp).

 John, when you can, please create an official point release: I'm ready
 to package it, and the Debian Release Team asked me to upload in
 unstable (the staging are before testing/Lenny) to evaluate its
 inclusion in Lenny (so faster is better :D)

 Thanks,
 Sandro

 --
 Sandro Tosi (aka morph, Morpheus, matrixhasu)
 My website: http://matrixhasu.altervista.org/
 Me at Debian: http://wiki.debian.org/SandroTosi

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


I was going to wait on John about the docs, but I went ahead and cut the
0.98.3 release.  The sdist including the docs was 34MB, so I decided not to
include them.  This would also cause the binaries to be huge if we included
them there as well.  The source release is up/tagged and I will post
binaries asap.

- Charlie
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] ANN: matplotlib-0.98.3

2008-08-03 Thread Charlie Moad
Matplotlib 0.98.3 is now available for download.  We are not pushing an
additional 0.91.x release at this time due to lack of updates to that
branch.

http://sourceforge.net/project/showfiles.php?group_id=80706

- Charlie

=
2008-08-03 Released 0.98.3 at svn r5947

2008-08-01 Backported memory leak fixes in _ttconv.cpp - MGD

2008-07-31 Added masked array support to griddata. - JSW

2008-07-26 Added optional C and reduce_C_function arguments to
   axes.hexbin().  This allows hexbin to accumulate the values
   of C based on the x,y coordinates and display in hexagonal
   bins. - ADS

2008-07-24 Deprecated (raise NotImplementedError) all the mlab2
   functions from matplotlib.mlab out of concern that some of
   them were not clean room implementations. JDH

2008-07-24 Rewrite of a significant portion of the clabel code (class
   ContourLabeler) to improve inlining. - DMK

2008-07-22 Added Barbs polygon collection (similar to Quiver) for plotting
   wind barbs.  Added corresponding helpers to Axes and pyplot as
   well. (examples/pylab_examples/barb_demo.py shows it off.) - RMM

2008-07-21 Added scikits.delaunay as matplotlib.delaunay.  Added griddata
   function in matplotlib.mlab, with example (griddata_demo.py) in
   pylab_examples. griddata function will use mpl_toolkits._natgrid
   if installed.  - JSW

2008-07-21 Re-introduced offset_copy that works in the context of the
   new transforms. - MGD

2008-07-21 Committed patch by Ryan May to add get_offsets and
   set_offsets to Collections base class - EF

2008-07-21 Changed the asarray strategy in image.py so that
   colormapping of masked input should work for all
   image types (thanks Klaus Zimmerman) - EF

2008-07-20 Rewrote cbook.delete_masked_points and corresponding
   unit test to support rgb color array inputs, datetime
   inputs, etc. - EF

2008-07-20 Renamed unit/axes_unit.py to cbook_unit.py and modified
   in accord with Ryan's move of delete_masked_points from
   axes to cbook. - EF

2008-07-18 Check for nan and inf in axes.delete_masked_points().
   This should help hexbin and scatter deal with nans. - ADS

2008-07-17 Added ability to manually select contour label locations.
   Also added a waitforbuttonpress function. - DMK

2008-07-17 Fix bug with NaNs at end of path (thanks, Andrew Straw for
   the report) - MGD

2008-07-16 Improve error handling in texmanager, thanks to Ian Henry
   for reporting - DSD

2008-07-12 Added support for external backends with the
   module://my_backend syntax - JDH

2008-07-11 Fix memory leak related to shared axes.  Grouper should
   store weak references. - MGD

2008-07-10 Bugfix: crash displaying fontconfig pattern - MGD

2008-07-10 Bugfix: [ 2013963 ] update_datalim_bounds in Axes not works - MGD

2008-07-10 Bugfix: [ 2014183 ] multiple imshow() causes gray edges - MGD

2008-07-09 Fix rectangular axes patch on polar plots bug - MGD

2008-07-09 Improve mathtext radical rendering - MGD

2008-07-08 Improve mathtext superscript placement - MGD

2008-07-07 Fix custom scales in pcolormesh (thanks Matthew Turk) - MGD

2008-07-03 Implemented findobj method for artist and pyplot - see
   examples/pylab_examples/findobj_demo.py - JDH

2008-06-30 Another attempt to fix TextWithDash - DSD

2008-06-30 Removed Qt4 NavigationToolbar2.destroy -- it appears to
   have been unnecessary and caused a bug reported by P.
   Raybaut - DSD

2008-06-27 Fixed tick positioning bug - MM

2008-06-27 Fix dashed text bug where text was at the wrong end of the
   dash - MGD

2008-06-26 Fix mathtext bug for expressions like $x_{\leftarrow}$ - MGD

2008-06-26 Fix direction of horizontal/vertical hatches - MGD

2008-06-25 Figure.figurePatch renamed Figure.patch, Axes.axesPatch
   renamed Axes.patch, Axes.axesFrame renamed Axes.frame,
   Axes.get_frame, which returns Axes.patch, is deprecated.
   Examples and users guide updated - JDH

2008-06-25 Fix rendering quality of pcolor - MGD
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-07-31 Thread Charlie Moad
On Thu, Jul 31, 2008 at 3:17 PM, John Hunter [EMAIL PROTECTED] wrote:

 On Thu, Jul 31, 2008 at 2:06 PM, Michael Droettboom [EMAIL PROTECTED]
 wrote:
  It seems to have broken with a recent update to Sphinx.  Sphinx changed
 the
  way that cross-reference urls are stored in the document tree.  I have
  updated matplotlib to use an approach that work for Sphinx both before
 and
  after this change (SVN r5940).
 
  I don't consider this a show-stopper if it's too late to push another
  matplotlib update out.

 OK, I think we are ready to roll.  Charlie, you can tag the release
 and get to work on the binaries and release when you have time.  I'll
 be in sporadic email contact until Monday, so why don't you do the
 announce (feel free to just past in the updates in the CHANGELOG).  I
 haven't been testing 0.91.x like I have 0.98.x so let's just release
 the 0.98.3 point release at this time.  I don't think there are any
 mission critical bugs in 91.x that require a release right now.

 Sandro, if you want to test the final/final, it is at
 http://matplotlib.sourceforge.net/tmp/matplotlib-0.98.3.tar.gz (svn
 r5941)


So should I be including the built docs in the release now?  I have a few
warnings that make it through to the pages.  I am building them on Ubuntu.

- Charlie
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-07-31 Thread Charlie Moad
On Thu, Jul 31, 2008 at 9:51 PM, Charlie Moad [EMAIL PROTECTED] wrote:

 On Thu, Jul 31, 2008 at 3:17 PM, John Hunter [EMAIL PROTECTED] wrote:

 On Thu, Jul 31, 2008 at 2:06 PM, Michael Droettboom [EMAIL PROTECTED]
 wrote:
  It seems to have broken with a recent update to Sphinx.  Sphinx changed
 the
  way that cross-reference urls are stored in the document tree.  I have
  updated matplotlib to use an approach that work for Sphinx both before
 and
  after this change (SVN r5940).
 
  I don't consider this a show-stopper if it's too late to push another
  matplotlib update out.

 OK, I think we are ready to roll.  Charlie, you can tag the release
 and get to work on the binaries and release when you have time.  I'll
 be in sporadic email contact until Monday, so why don't you do the
 announce (feel free to just past in the updates in the CHANGELOG).  I
 haven't been testing 0.91.x like I have 0.98.x so let's just release
 the 0.98.3 point release at this time.  I don't think there are any
 mission critical bugs in 91.x that require a release right now.

 Sandro, if you want to test the final/final, it is at
 http://matplotlib.sourceforge.net/tmp/matplotlib-0.98.3.tar.gz (svn
 r5941)


 So should I be including the built docs in the release now?  I have a few
 warnings that make it through to the pages.  I am building them on Ubuntu.

 - Charlie


Scratch that.  It looks pretty good with the latest svn.  Now the question
as to where to put the built docs?  doc/build/html seems a bit hidden.
 Has this been discussed yet?

- Charlie
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Linking non framework Tcl/Tk on Mac OS X

2008-06-27 Thread Charlie Moad
You'll need to edit setupext.py to not inject the -framework Tcl -framework
Tk flags.

- Charlie

On Fri, Jun 27, 2008 at 12:36 AM, Adam Mercer [EMAIL PROTECTED] wrote:

 Hi

 I'm trying to track down a problem present in MacPorts Matplotlib
 build and the TkAgg backend. It appears that Matplotlib is linking
 against the system Tcl/Tk in /System/Library/Frameworks and not the
 non-framework Tcl/Tk installed by MacPorts, as to be expected this is
 causing segfaults when trying to use the TkAgg backend as the system
 version of Tcl/Tk differs from the MacPorts version.

 I've tried removing the list of directories to search for the
 framework in setupext.py in the add_tk_flags() method, ie I've set
 framework_dirs = [], and then set the paths to the Tcl/Tk header and
 libraries in the hardcoded_tcl_config() method to point to the
 MacPorts versions but this just leads to the build not being able to
 find Tcl/Tk and therefore not building the TkAgg backend, the
 following is displayed on build:

   Tkinter: no
* Tkinter present, but header files are not found.
* You may need to install development packages.

 The header files are installed. Can Matplotlib be linked against a
 non-framework build of Tcl/Tk on Mac OS X, and if so how?

 Cheers

 Adam

 -
 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-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] CocoaAgg backend seems to be broken

2008-06-13 Thread Charlie Moad
 I am out of town and won't be able to address this until early next week.

- Charlie

2008/6/12 John Hunter [EMAIL PROTECTED]:

 On Thu, Jun 12, 2008 at 2:58 PM, İsmail Dönmez [EMAIL PROTECTED] wrote:
  Hi all,
 
  I was trying matplotlib 0.98.0 and Qt4 backend works great but Coca
  backend seems to be broken :

 Charlie,

 any chance you can try and port cocoaagg over to the new trunk api.
 figure.dpi is no longer a lazy value, but a plain ol number.  There
 are probably a few other changes that will need to be made as well.
 I'd like to clear up as many of these problems as we can and shoot for
 a bugfix release next week.

 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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] What is the recommended way of Installing MPL 0.9.8 on Leopard?

2008-06-09 Thread Charlie Moad
 I have had horrible luck with bdist_mpkg for the last several months.
I did poke at the setuptools code and it looks like we just won't be able to
make it happy with a universal binary.  The preferred extensions have ppc or
i386 in them depending on your arch.  I think the best way to move forward
is to just post binaries for each architecture and not have a universal
build.
 I statically compile in universal builds of libpng and freetype so
end-users don't have to worry about it.  I just build these by hand and the
process is documented here:
http://ipython.scipy.org/moin/MatplotlibOSXBuildNotes

- Charlie

On Mon, Jun 9, 2008 at 1:03 PM, Christopher Barker [EMAIL PROTECTED]
wrote:

 Charlie Moad wrote:
   I am not  having luck finding docs on this.

 setuptools really don't seem to be living up to their (its?) promise.

 Would it be hard to go back to *.mpkg binaries? We'd have to do one for
 Apple's python, and one for python.org's, but that should be pretty
 easy, at least for someone running Leopard.

 Or is bdist_mpkg not working for MPL anymore?

 Charlie, where/how did you get the Universal libs for the dependencies?

 -Chris



 --
 Christopher Barker, Ph.D.
 Oceanographer

 Emergency Response Division
 NOAA/NOS/ORR(206) 526-6959   voice
 7600 Sand Point Way NE   (206) 526-6329   fax
 Seattle, WA  98115   (206) 526-6317   main reception

 [EMAIL PROTECTED]

 -
 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-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] What is the recommended way of Installing MPL 0.9.8 on Leopard?

2008-06-07 Thread Charlie Moad
I renamed the egg on sf to matplotlib-0.98.0-py2.5-macosx-10.3.egg.  For
me, setuptools does not try to download the source after installing now.
Unfortunately when I try, easy_install matplotlib, it still starts
downloading the source instead of the osx binary.  I am not having luck
finding docs on this.
- Charlie

On Sat, Jun 7, 2008 at 3:09 PM, Jeff Whitaker [EMAIL PROTECTED] wrote:

 Samuel M. Smith wrote:
  I am a little confused. It seems the only ones having success
  installing MPL on Leopard are those building from
  source. Is this the recommended way to install. I couldn't get the egg
  to install.
 
 
 Samuel:  There was a recent message (pasted below) on the list from
 Vincent Noel that describes a workaround for the Leopard egg problem:

 If you rename matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg to
 matplotlib-0.98.0-py2.5.egg,
 easy_install will install it from the disk.

 I'm not sure why this happens. I've noticed lots of Mac OS X eggs with
 cruft at the end of the
 filename, which prevents their installation through easy_install.
 Renaming is all it takes
 to install them; still, it's annoying.

 HTH,

 -Jeff



 --
 Jeffrey S. Whitaker Phone : (303)497-6313
 NOAA/OAR/CDC  R/PSD1FAX   : (303)497-6449
 325 BroadwayBoulder, CO, USA 80305-3328


 -
 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-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-06 Thread Charlie Moad
I just used the default 10.5 compiler.  I didn't use -Os for the whole
run though.  I would just copy the gcc command on the files where it
failed and replace -O3 with -Os.  Kind of lame, I know, but most the
build I did was ran with -O3.

- Charlie

On Thu, Jun 5, 2008 at 8:19 PM, Christopher Barker
[EMAIL PROTECTED] wrote:
 Christopher Burns wrote:
 Is this really the current solution to building matplotlib on OSX,
 installing a new compiler and hacking the python Makefile?

 No, I don't think so. I haven't built it in a while, but I think the OP
 chose to install 4.2 for some other reason, and maybe had to patch the
 Makefile because of that.

 Charlie, what are you building with?

 -Chris



 --
 Christopher Barker, Ph.D.
 Oceanographer

 Emergency Response Division
 NOAA/NOS/ORR(206) 526-6959   voice
 7600 Sand Point Way NE   (206) 526-6329   fax
 Seattle, WA  98115   (206) 526-6317   main reception

 [EMAIL PROTECTED]

 -
 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-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] easy_install and eggs

2008-06-06 Thread Charlie Moad
So I'll admit that I renamed that file to -fat manually.  The reason I
did this is because it gets named -i386 by default even though it is a
fat build.  Does anyone have a good idea of how to fix this?

- Charlie

On Fri, Jun 6, 2008 at 3:07 AM, Andrew Charles [EMAIL PROTECTED] wrote:
 I had this problem too, on Leopard. Trying to easy_install the egg
 named as downloaded from sourceforge results in stuff being downloaded
 and failing to build.

 Renaming the egg as suggested by Vincent results in an 'easy install'.

 -
 Andrew Charles
 Centre for Australian Weather and Climate,
 Australian Bureau of Meteorology.
 Condensed Matter Theory Group,
 RMIT University.

 -
 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-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] py4science OSX installation problems

2008-04-22 Thread Charlie Moad
The internal compiler error is something we are all running into right now.
 The only known fix is to run the build with the gcc flag -Os instead of
-O3.  You should be able to do this by setting the environment during your
build:
CFLAGS=-Os python setup.py build

On Mon, Apr 21, 2008 at 8:24 PM, jules hummon [EMAIL PROTECTED] wrote:


 Hello OSX SVN MPL users

 I am following the instructions on
 http://ipython.scipy.org/moin/Py4Science/InstallationOSX
 and ran into some trouble.

 The computer is a  13 intel macbook,
 OSX 10.5.2 installed fresh in December 2007

 Everything went reasonably well until I got to matplotlib.
 I ran into an architecture incompatibility:

 ** ld: warning [snip] missing required architecture ppc in file

 My notes, along with various comments and links to error output etc,
 are contained in this link:
  http://currents.soest.hawaii.edu/misc/mins_notes/py4science_anotes.html

 Any comments and/or help would be appreciated.

 Jules

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.

 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-17 Thread Charlie Moad
Actually I do use VS2003 for the releases.  I haven't tried a build in a
while, but I did have to add some ifdef's while building that last release.
You can see these changes here:

http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/ttconv/ttutil.cpp?revision=3953view=markup

- Charlie

On Thu, Apr 17, 2008 at 8:28 AM, Michael Droettboom [EMAIL PROTECTED] wrote:

 Unfortunately, you're using a compiler I don't have access to.  I don't
 think even the guy that makes the Windows releases (Charlie Moad) uses
 Visual Studio 2003.  That is not to say we don't want VS2003 to work,
 just that it unfortunately doesn't get much testing and you're hitting
 the bleeding edge here.

 If you add --

  #include limits

 to the top of path.cpp, does that resolve the issue?

 If not, we may need to do some namespace mangling on VS2003 --
 Microsoft's docs don't seem to *explicitly* put numeric_limits in the
 std:: namespace, but in my past experience, std:: is often a synonym for
 :: in Visual Studio.

 Cheers,
 Mike

 Martin Spacek wrote:
  I just tried reverting to some older revs. r4802 (0.91.2 release) builds
 fine. r4817, where the transforms branch was merged in, doesn't, and gives
 what looks like the same error (see below) as the current revision (see
 previous post). I think r4817 is also the first time the file _path.cpp
 shows up in the trunk.
 
  Martin
 
  C:\home\mspacek\Desktop\Work\matplotlibpython setup.py build_ext
 --inplace --force
 
 
  BUILDING MATPLOTLIB
  matplotlib: 0.91.2svn
  python: 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC
  v.1310 32 bit (Intel)]
platform: win32
 Windows version: (5, 1, 2600, 2, 'Service Pack 2')
 
  REQUIRED DEPENDENCIES
   numpy: 1.0.5.dev5035
   freetype2: found, but unknown version (no pkg-config)
 
  OPTIONAL BACKEND DEPENDENCIES
  libpng: found, but unknown version (no pkg-config)
 Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
wxPython: 2.8.6.0
  * WxAgg extension not required for wxPython =
 2.8
Gtk+: no
  * Building for Gtk+ requires pygtk; you must be
 able
  * to import gtk in your build/install
 environment
  Qt: no
 Qt4: no
   Cairo: no
 
  OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: matplotlib will provide
 
  OPTIONAL USETEX DEPENDENCIES
  dvipng: 1.9
 ghostscript: 'gswin32c' is not recognized as an internal or
  external command, operable program or batch
 file.
   latex: no
 
  EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
   configobj: matplotlib will provide
enthought.traits: matplotlib will provide
 
  [Edit setup.cfg to suppress the above messages]
 
 
  running build_ext
  building 'matplotlib.ft2font' extension
  C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
 /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
  Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
 -IC:\bin\Python25\PC /Tpsrc/ft2font.cpp /Fobuild
  \temp.win32-2.5\Release\src/ft2font.obj
  ft2font.cpp
  src\ft2font.cpp(956) : warning C4244: 'initializing' : conversion from
 'FT_Long' to 'FT_Bool', possible loss of data
  C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
 /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
  Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
 -IC:\bin\Python25\PC /Tpsrc/mplutils.cpp /Fobuil
  d\temp.win32-2.5\Release\src/mplutils.obj
  mplutils.cpp
  C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
 /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
  Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
 -IC:\bin\Python25\PC /TpCXX\cxxsupport.cxx /Fobu
  ild\temp.win32-2.5\Release\CXX\cxxsupport.obj
  cxxsupport.cxx
  C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
 /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
  Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
 -IC:\bin\Python25\PC /TpCXX\cxx_extensions.cxx /
  Fobuild\temp.win32-2.5\Release\CXX\cxx_extensions.obj
  cxx_extensions.cxx
  C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
 /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
  Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
 -IC:\bin\Python25\PC /TpCXX\IndirectPythonInterf
  ace.cxx /Fobuild\temp.win32-2.5\Release\CXX\IndirectPythonInterface.obj

Re: [Matplotlib-users] Install problem on Leopard

2008-03-24 Thread Charlie Moad

 3) Maybe we should just distribute a binary *.mpkg instead. I've seen
 talk of a way to install a single binary that could work with either
 Apple's or MacPython's 2.5 -- I think it involved a symlink to a shared
 place to put packages -- anyone know if that actually works?


I agree on the mpkg, but the last few times I have tried bdist_mpkg it has
died miserably on mpl.

- Charlie
-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Compiler error on OS X 10.5.2 in agg

2008-03-24 Thread Charlie Moad
On Mon, Mar 24, 2008 at 10:01 AM, Zachary Pincus [EMAIL PROTECTED]
wrote:

  Zachary Pincus wrote:
 
  Can you tell me where you specified the -Os option to gcc to escape
  the problem?
 
  So the compile that command that failed is printed right above the
  error message it generated. (The long line that starts  with
  'gcc' ...). I just copied this command, edited the -O3 to an -Os, and
  pasted that command-line back into the terminal. Total low-tech hack,
  as I didn't want to much with the setup.py file to fix compile flags
  on a per-file basis.
 
  After that file is compiled manually, you can re-run 'python setup.py
  build', and it will start up at the next step after the error.
 
  I got the same error in another step, which was a bit trickier to
  fix,
  because for some reason, src/_image.cpp gets copied to src/image.cpp
  on a temporary basis, and then compiled. (I presume the file isn't
  also modified?) But after the compile errors out, the copy is
  deleted,
  so just pasting in the offending gcc command doesn't work. So I had
  to
  manually copy src/_image.cpp to scr/image.cpp, and then paste in the
  modified gcc command.
 
  Ugh! I'd really love some help reducing this to a test case that I
  can
  send to Apple.
 
  I've got the same error(s) in the same situation (10.5.2). I haven't
  seen it any other context nor have had any success in reducing to a
  test
  case, alas. Could this have to do with picking up libraries (from fink
  or elsewhere) and/or different compiler versions? I've got XCode 3 and
  gcc 4.0. (I've actually got the apple 4.2 preview release as well but
  that craps out even earlier, I assume due to library version
  mismatches...)

 I'm pretty sure what I'm seeing isn't from Fink or other library
 versions -- this was on a pretty clean 10.5 install. I'm using a
 custom-built Python 2.5.2 instead of Apple's, so that required
 installing a new version of readline, but other than that, the system
 is plain vanilla.

 Has nobody else built matplotlib from source on 10.5.2 lately?


I tried it after seeing your message.  Indeed I got the same internal gcc
failure.  This is a compiler problem the with the gcc on 10.5.2 (and
10.5.1I think).  I found the same error message on many google hits
outside of
matplotlib.  Your suggestion of compiling with -Os for the two problem files
worked fine for me.

- Charlie
-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Install problem on Leopard

2008-03-20 Thread Charlie Moad
I agree you are not using a universal build of python to compile matplotlib.
 You cannot pass in the -arch i386 -arch ppc flags.  Only pass the
architecture of your computer.
- Charlie

On Thu, Mar 20, 2008 at 7:13 PM, Christopher Barker [EMAIL PROTECTED]
wrote:

 Andrew Charles wrote:
  Compiling Matplotlib from source, or easy_installing the egg

 From the egg:
  ld: in /sw/lib/libJPEG.dylib, file is not of required architecture for

 hmm -- odd, I wouldn't think the egg should be linked against what looks
 like a  macports libJPEG -- are you sure it isn't trying to build the
 egg when you easy_install?

  And from source:

  ld: in /sw/lib/libJPEG.dylib, file is not of required architecture for
  architecture ppc

 It's trying to link against a macports libJPEG. However, macports
 doesn't build universal binaries, and the MacPython tries to build them,
 and hence the problem.

 I'd try to find another libJPEG -- The UnixImageIO Frameworks form
 KyngChaos are a good choice, though I don't know off the top of my head
 how to get MPL to find them.

 http://www.kyngchaos.com/wiki/software:frameworks


 -Chris



 --
 Christopher Barker, Ph.D.
 Oceanographer

 Emergency Response Division
 NOAA/NOS/ORR(206) 526-6959   voice
 7600 Sand Point Way NE   (206) 526-6329   fax
 Seattle, WA  98115   (206) 526-6317   main reception

 [EMAIL PROTECTED]

 -
 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-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Problem with matplotlib

2008-02-27 Thread Charlie Moad
Out of the country.  I am cc'ing the matplotlib list.
On Wed, Feb 27, 2008 at 3:08 PM, Luis Carlos Garelli 
[EMAIL PROTECTED] wrote:


 Message body follows:

 Greetings, first, sorry to bother you... I am working using
 the matplotlib, and i am having some strange problems with
 my application. When i execute in some pcs, there is no
 problem at all, but in others pcs, i receive this message:

 File pylab.pyc, line 1 in ?
 File matplotlib\pylab.pyc, line 203 in ?
 File matplotlib\axes.pyc, line 14 in ?
 File matplotlib\agg.pyc, line 5 in ?
 File matplotlib\_agg.pyc, line 12 in ?
 File matplotlib\_agg.pyc, line 10 in ?
 ImportError: Dll Load Failed

 All the pc's have Windows Xp, most of them Pentium 4, some
 are Pentium D. I don't know what may be the issue. All those
 pcs have the same software, just different hardware, i hope
 you could help me with this little problem. Thanks in advance...

 --
 This message has been sent to you, a registered SourceForge.net user,
 by another site user, through the SourceForge.net site.  This message
 has been delivered to your SourceForge.net mail alias.  You may reply
 to this message using the Reply feature of your email client, or
 using the messaging facility of SourceForge.net at:
 https://sourceforge.net/sendmessage.php?touser=2021607


-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Mac OSX binary missing setup.py

2008-01-29 Thread Charlie Moad
You shouldn't ever find a setup.py file in a binary distribution.  It
is there for building purposes, hence should be with the source
distributions.

- Charlie

On Tue, Jan 29, 2008 at 10:47 AM, Jeff Younker [EMAIL PROTECTED] wrote:
 I'm running on OSX 10.5.

  The installation process for me was the following two commands:
  $ easy_install matplotlib
  $ easy_install numpy

  That's it.  You don't need to manually download the egg.  You don't
  need to root around in the egg.  Just run easy_install.  It retrieves
  the
  egg and installs it in the correct location.

  - Jeff Younker - [EMAIL PROTECTED] -




  On Jan 28, 2008, at 9:29 PM, Michael Barton wrote:

   I wanted to test MatPlotLib for use in a GIS system for which I help
   develop the GUI in wxPython. I'm working on a Mac Intel OSX 10.4.11
   system.
  
   The installation instructions for OS X are very sketchy and there is
   no readme in the binary. But AFAICT, there ought to be a setup.py
   file in the fat egg distribution folder. However, there is no such
   beast. There is only pylab.py and that isn't a distribution build
   utility.
  
   Since I'm not a member of the list, I'd appreciate it if someone
   could email me directly.
  

  -
  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-users mailing list
  Matplotlib-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Static linking problem on matplotlib eggs

2008-01-12 Thread Charlie Moad
I just had to rebuild the OSX binary because a similar reason.  I
forgot to change the basedir['darwin'] entry in setupext.py.  Around
line 50.

Change:
'darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
'/usr', '/sw', '/usr/X11R6'],
To:
'darwin' : [],

This will ensure you don't pick up shared libraries over the static
ones since they are preferred by gcc.

- Charlie

On Jan 12, 2008 12:04 PM, Chris [EMAIL PROTECTED] wrote:
 I'm trying to build some matplotlib eggs to bundle
 and distribute with some other python packages. So, I am doing
 my best to statically link to libraries like libpng, libfreetype, etc.
 that users may not have installed. I am building using the following:

 python setupegg.py config -L../staticlibs build bdist_egg

 where ../staticlibs contains the libraries that I am statically
 linking. Unfortunately, users are still getting errors such as the following:

 ImportError: dlopen(/Library/Python/2.5/site-packages/
 matplotlib-0.98pre-py2.5-macosx-10.5-i386.egg/matplotlib/_path.so, 2):
 Library not loaded: /usr/local/lib/libpng12.0.dylib
  Referenced from: /Library/Python/2.5/site-packages/
 matplotlib-0.98pre-py2.5-macosx-10.5-i386.egg/matplotlib/_path.so
  Reason: image not found

 Anyone have a clue what I am not doing properly?

 Thanks,
 Chris


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Problem installing 0.91.2 egg on OS X 10.4

2008-01-11 Thread Charlie Moad
Apparently a dynamic link snuck into the build.  Typically everything
is statically included.  You can see this by running the following
command:

uaternion:matplotlib cmoad$ otool -L ft2font.so
ft2font.so:
/usr/local/lib/libfreetype.6.dylib (compatibility version 10.0.0,
current version 10.16.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
1.2.3)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
version 7.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.3.6)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 
1.0.0)

I will created and post a new build asap.

Thanks,
 Charlie

On Jan 11, 2008 1:50 PM, Michele Vallisneri
[EMAIL PROTECTED] wrote:
 Hello all,

 after installing matplotlib 0.91.2 from the sourceforge egg on OS X
 10.4.11 (Python 2.5.1), I get the following error:

   import pylab
 Traceback (most recent call last):
File stdin, line 1, in module
File /Users/vallis/lib/python2.5/site-packages/matplotlib-0.91.2-
 py2.5-macosx-10.3-fat.egg/matplotlib/pylab.py, line 208, in module
  from matplotlib import mpl  # pulls in most modules
File /Users/vallis/lib/python2.5/site-packages/matplotlib-0.91.2-
 py2.5-macosx-10.3-fat.egg/matplotlib/mpl.py, line 3, in module
  from matplotlib import axis
File /Users/vallis/lib/python2.5/site-packages/matplotlib-0.91.2-
 py2.5-macosx-10.3-fat.egg/matplotlib/axis.py, line 20, in module
  from font_manager import FontProperties
File /Users/vallis/lib/python2.5/site-packages/matplotlib-0.91.2-
 py2.5-macosx-10.3-fat.egg/matplotlib/font_manager.py, line 40, in
 module
  from matplotlib import ft2font
 ImportError: dlopen(/Users/vallis/lib/python2.5/site-packages/
 matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg/matplotlib/ft2font.so,
 2): Symbol not found: _FT_Attach_File
Referenced from: /Users/vallis/lib/python2.5/site-packages/
 matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg/matplotlib/ft2font.so
Expected in: dynamic lookup

 It seems there's something wrong with ft2font.so, since CDing to the
 egg directory and importing only that extension yields

   import ft2font.so
 Traceback (most recent call last):
File stdin, line 1, in module
 ImportError: dlopen(./ft2font.so, 2): Symbol not found: _FT_Attach_File
Referenced from: /Users/vallis/lib/python2.5/site-packages/
 matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg/matplotlib/ft2font.so
Expected in: dynamic lookup

 Any ideas?

 Cheers,

 Michele


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Problem installing 0.91.2 egg on OS X 10.4

2008-01-11 Thread Charlie Moad
I have replaced the binary with a working version.

Thanks again for the catch,
 Charlie

On Jan 11, 2008 2:15 PM, Charlie Moad [EMAIL PROTECTED] wrote:
 Apparently a dynamic link snuck into the build.  Typically everything
 is statically included.  You can see this by running the following
 command:

 uaternion:matplotlib cmoad$ otool -L ft2font.so
 ft2font.so:
 /usr/local/lib/libfreetype.6.dylib (compatibility version 10.0.0,
 current version 10.16.0)
 /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
 1.2.3)
 /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
 version 7.4.0)
 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 88.3.6)
 /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current 
 version 1.0.0)

 I will created and post a new build asap.

 Thanks,
  Charlie

 On Jan 11, 2008 1:50 PM, Michele Vallisneri

 [EMAIL PROTECTED] wrote:
  Hello all,
 
  after installing matplotlib 0.91.2 from the sourceforge egg on OS X
  10.4.11 (Python 2.5.1), I get the following error:
 
import pylab
  Traceback (most recent call last):
 File stdin, line 1, in module
 File /Users/vallis/lib/python2.5/site-packages/matplotlib-0.91.2-
  py2.5-macosx-10.3-fat.egg/matplotlib/pylab.py, line 208, in module
   from matplotlib import mpl  # pulls in most modules
 File /Users/vallis/lib/python2.5/site-packages/matplotlib-0.91.2-
  py2.5-macosx-10.3-fat.egg/matplotlib/mpl.py, line 3, in module
   from matplotlib import axis
 File /Users/vallis/lib/python2.5/site-packages/matplotlib-0.91.2-
  py2.5-macosx-10.3-fat.egg/matplotlib/axis.py, line 20, in module
   from font_manager import FontProperties
 File /Users/vallis/lib/python2.5/site-packages/matplotlib-0.91.2-
  py2.5-macosx-10.3-fat.egg/matplotlib/font_manager.py, line 40, in
  module
   from matplotlib import ft2font
  ImportError: dlopen(/Users/vallis/lib/python2.5/site-packages/
  matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg/matplotlib/ft2font.so,
  2): Symbol not found: _FT_Attach_File
 Referenced from: /Users/vallis/lib/python2.5/site-packages/
  matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg/matplotlib/ft2font.so
 Expected in: dynamic lookup
 
  It seems there's something wrong with ft2font.so, since CDing to the
  egg directory and importing only that extension yields
 
import ft2font.so
  Traceback (most recent call last):
 File stdin, line 1, in module
  ImportError: dlopen(./ft2font.so, 2): Symbol not found: _FT_Attach_File
 Referenced from: /Users/vallis/lib/python2.5/site-packages/
  matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg/matplotlib/ft2font.so
 Expected in: dynamic lookup
 
  Any ideas?
 
  Cheers,
 
  Michele
 
 
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
  ___
  Matplotlib-users mailing list
  Matplotlib-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Charlie Moad
You need to set a different backend in your matplotlibrc or specify it first.

import matplotlib
matplotlib.use('Agg')

You can also run scripts passing the backend:

python lab1_ex2.py -dAgg

On Jan 9, 2008 8:41 AM, Francesco Pretto [EMAIL PROTECTED] wrote:
 Hi, after having correctly compiled matplotlib, now is time to test
 something (I need at least to get it something working before I can
 start hack it autonomously =). Unfortunately, it's not usable: it
 complains about not being able to load _tkagg module. The fact is I
 don't want tkagg backend at all! Here is the backends dependencies
 detect log:

 OPTIONAL BACKEND DEPENDENCIES
 libpng: found, but unknown version (no pkg-config)
Tkinter: no
 * Tkinter present, but header files are not found.
 * You may need to install development packages.
   wxPython: no
 * wxPython not found
   Gtk+: gtk+: 2.10.11, glib: 2.12.11, pygtk: 2.10.6,
 pygobject: 2.12.3
 Qt: no
Qt4: no
  Cairo: 1.2.6

 As it should be clear, I want to use the a gtk+ aware backend, and
 initially in fact I used a customized setup.cfg; seeing the error I
 tryed deleting the customized setup.cfg, but without results. Is
 there some problems with backend selection on windows platform?
 I hope gtk+ backends are supported. Follows 2 traces of the error
 running an ipython shell and a test python program (it works on
 linux).

 Any help is appreciated.

 Thanks,
 Francesco

 ---

 Here is the trace in ipython trying to run sample test program:

 In [3]: run lab1_ex2.py

 ImportError   Traceback (most recent call last)

 C:\Documents and Settings\Public\desktop\lab1_ex2.py in module()
   1 from numpy import *
   2 from scipy import *
  3 from pylab import *
   4
   5 n=100

 c:\python25\Lib\site-packages\pylab.py in module()
  1
   2
   3 from matplotlib.pylab import *
   4 import matplotlib.pylab
   5 __doc__ = matplotlib.pylab.__doc__

 c:\python25\Lib\site-packages\matplotlib\pylab.py in module()
 290
 291
 -- 292 from matplotlib.pyplot import *
 293
 294

 c:\python25\Lib\site-packages\matplotlib\pyplot.py in module()
  35
  36 from matplotlib.backends import pylab_setup
 --- 37 new_figure_manager, draw_if_interactive, show = pylab_setup()
  38
  39 def switch_backend(newbackend):

 c:\python25\Lib\site-packages\matplotlib\backends\__init__.py in pylab_setup()
  22 backend_name = 'backend_'+backend.lower()
  23 backend_mod = __import__('matplotlib.backends.'+backend_name,
 --- 24  globals(),locals(),[backend_name])
  25
  26 # Things we pull in from all backends

 c:\python25\Lib\site-packages\matplotlib\backends\backend_tkagg.py in 
 module()

   6
   7 import Tkinter as Tk, FileDialog
  8 import tkagg # Paint image to Tk photo blitter 
 extension

   9 from backend_agg import FigureCanvasAgg
  10

 c:\python25\Lib\site-packages\matplotlib\backends\tkagg.py in module()
  1
   2
   3 import _tkagg
   4 import Tkinter as Tk
   5
   6 def blit(photoimage, aggimage, bbox=None, colormode=1):
   7 tk = photoimage.tk

 ImportError: No module named _tkagg
 WARNING: Failure executing file: lab1_ex2.py

 ---

 Here is another trace trying to run ipython with --pylab switch:

 Traceback (most recent call last):
   File C:\Python25\scripts\ipython, line 27, in module
 IPython.Shell.start().mainloop()
   File C:\Python25\lib\site-packages\IPython\Shell.py, line 1152, in start
 return shell(user_ns = user_ns)
   File C:\Python25\lib\site-packages\IPython\Shell.py, line 1049, in 
 __init__
 shell_class=MatplotlibShell)
   File C:\Python25\lib\site-packages\IPython\Shell.py, line 74, in __init__
 debug=debug,shell_class=shell_class)
   File C:\Python25\Lib\site-packages\IPython\ipmaker.py, line 95, in 
 make_IPyt
 hon
 embedded=embedded,**kw)
   File C:\Python25\lib\site-packages\IPython\Shell.py, line 589, in __init__
 user_ns,b2 = self._matplotlib_config(name,user_ns)
   File C:\Python25\lib\site-packages\IPython\Shell.py, line 530, in 
 _matplotli
 b_config
 import matplotlib.pylab as pylab
   File c:\python25\Lib\site-packages\matplotlib\pylab.py, line 292, in 
 module
 
 from matplotlib.pyplot import *
   File c:\python25\Lib\site-packages\matplotlib\pyplot.py, line 37, in 
 module
 
 new_figure_manager, draw_if_interactive, show = pylab_setup()
   File c:\python25\Lib\site-packages\matplotlib\backends\__init__.py, line 
 24,
  in pylab_setup
 globals(),locals(),[backend_name])
   File 

Re: [Matplotlib-users] Can't run matplotlib without tk backend on windows?

2008-01-09 Thread Charlie Moad
On Jan 9, 2008 10:35 AM, Darren Dale [EMAIL PROTECTED] wrote:

 On Wednesday 09 January 2008 10:15:54 am Francesco Pretto wrote:
  2008/1/9, Darren Dale [EMAIL PROTECTED]:
   setup.py attempts to select the appropriate backend for you, based on
   what backends were available at build time. That selection is written
   into the default matplotlibrc file, which resides in
   site-packages/matplotlib/mpl-data. If matplotlib finds another
   matplotlibrc file (for example, in the current working directory, in
   $HOME/.matplotlib, etc), then it will use those settings instead. I would
   guess that is the source of the problem.
 
  No, the problem is the default installed matplotlibrc, that is not
  different from the one present in the source tree and has the default
  selection:
 
  backend  : TkAgg
 
  Now, i don't know if the build script is trying to modify it according
  user selection or compile-time backend detection, but I'm wondering
  why the same problem wasn't happening on linux, where I tipically
  never install Tk runtime.
 
  However, for me the problem is solved, but if there's a matplotlib
  windows dev listening, here is my experience; first, i removed the
  already installed lib/site-packages/matplotlib/mpl-data/matplotlibrc
  . Afer, I went for clean compiling with a setup.cfg with these
  configurations:
 
  gtk = True
  gtkagg = False
  tkagg = False
  wxagg = False
  backend = GTK
 
  Eventually, python setup.py install write again a
  site-packages/matplotlib/mpl-data/matplotlibrc which still have:
 
  backend  : TkAgg
 
  If this shouldn't happen, well, consider this a bug report :D

 Oh, I see. Look at line 238 in setup.py. Maybe we don't need that check for
 sys.platform anymore, now that we have setup.cfg. I think that check was in
 there for the benefit of building the windows installers, which we wanted to
 default to tkagg.

 I think it would be best to use a setup.cfg to set the numerix and backends
 when building the windows installers. Charlie, does that sound alright?

That's fine.  I didn't use setup.cfg for the latest binaries though.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Unable to compile matplotlib 0.91.2 on windows

2008-01-08 Thread Charlie Moad
Just a guess.  Did you download the visual studio static libraries
instead of the mingw ones?  Those linking symbols listed lend me to
think this.  The visual studio ones end in _vs.tar.gz.

You want this:

http://matplotlib.sourceforge.net/win32_static.tar.gz

- Charlie

On Jan 8, 2008 6:17 PM, Francesco Pretto [EMAIL PROTECTED] wrote:
 Hi, i'm a newcomer: greetings to all! I'm trying to compile matplotlib
 on windows platform using mingw toolchains (I'm going to play a little
 with the code). I think to have all dependencies, as specified in
 setupext.py (downloaded the static header+libs package).
 Unfortunately, linking is not working. I'm using latest stable version
 of mingw, 5.1.3. Follows the output; I trimmed it a little, hopefully
 only reduntant parts, but if you prefer here is the full output
 (without automatic mail client line wraps...):

 http://bproofs.homeunix.org/build23.out

  If you need more information on my setup, please ask me.

 Thanks for any help!

 Francesco Pretto

 
 BUILDING MATPLOTLIB
 matplotlib: 0.91.2
 python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC
 v.1310 32 bit (Intel)]
   platform: win32
Windows version: (5, 1, 2600, 2, 'Service Pack 2')

 REQUIRED DEPENDENCIES
  numpy: 1.0.4
  freetype2: found, but unknown version (no pkg-config)

 OPTIONAL BACKEND DEPENDENCIES
 libpng: found, but unknown version (no pkg-config)
   Gtk+: gtk+: 2.10.11, glib: 2.12.11, pygtk: 2.10.6,
 pygobject: 2.12.3
 Qt: no
Qt4: no
  Cairo: 1.2.6

 OPTIONAL DATE/TIMEZONE DEPENDENCIES
   datetime: present, version unknown
   dateutil: matplotlib will provide
   pytz: matplotlib will provide

 OPTIONAL USETEX DEPENDENCIES
 dvipng: batch.
ghostscript: gswin32c non Š riconosciuto come comando interno o
 esterno,  un programma eseguibile o un file batch.
  latex: no

 EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
  configobj: matplotlib will provide
   enthought.traits: matplotlib will provide

 [Edit setup.cfg to suppress the above messages]
 
 running build
 running build_py
 creating build
 creating build\lib.win32-2.5
 copying lib\pylab.py - build\lib.win32-2.5
 copying lib\configobj.py - build\lib.win32-2.5
 creating build\lib.win32-2.5\matplotlib
 copying lib\matplotlib\afm.py - build\lib.win32-2.5\matplotlib
 copying lib\matplotlib\agg.py - build\lib.win32-2.5\matplotlib
 copying lib\matplotlib\art3d.py - build\lib.win32-2.5\matplotlib
 copying lib\matplotlib\artist.py - build\lib.win32-2.5\matplotlib
 copying lib\matplotlib\axes.py - build\lib.win32-2.5\matplotlib
 copying lib\matplotlib\axes3d.py - build\lib.win32-2.5\matplotlib

 [...]

 copying lib\pytz\zoneinfo\US\Pacific-New - 
 build\lib.win32-2.5\pytz\zoneinfo\US
 copying lib\pytz\zoneinfo\US\Samoa - build\lib.win32-2.5\pytz\zoneinfo\US
 copying lib\dateutil\zoneinfo\zoneinfo-2007f.tar.gz -
 build\lib.win32-2.5\dateutil\zoneinfo
 running build_ext
 building 'matplotlib.ft2font' extension
 C compiler: gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes

 creating build\temp.win32-2.5
 creating build\temp.win32-2.5\Release
 creating build\temp.win32-2.5\Release\src
 creating build\temp.win32-2.5\Release\cxx
 compile options: '-Iwin32_static\include -I.
 -Iwin32_static\include\freetype2 -I.\freetype2 -Ic:\python25\include
 -Ic:\python25\PC -c'
 gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
 -I. -Iwin32_static\include\freetype2 -I.\freetype2
 -Ic:\python25\include -Ic:\python25\PC -c CXX\cxxextensions.c -o
 build\temp.win32-2.5\Release\cxx\cxxextensions.o
 Found executable c:\mingw\bin\gcc.exe
 gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
 -I. -Iwin32_static\include\freetype2 -I.\freetype2
 -Ic:\python25\include -Ic:\python25\PC -c
 CXX\IndirectPythonInterface.cxx -o
 build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o
 gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
 -I. -Iwin32_static\include\freetype2 -I.\freetype2
 -Ic:\python25\include -Ic:\python25\PC -c src/mplutils.cpp -o
 build\temp.win32-2.5\Release\src\mplutils.o
 gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
 -I. -Iwin32_static\include\freetype2 -I.\freetype2
 -Ic:\python25\include -Ic:\python25\PC -c CXX\cxx_extensions.cxx -o
 build\temp.win32-2.5\Release\cxx\cxx_extensions.o
 gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include
 -I. -Iwin32_static\include\freetype2 -I.\freetype2
 -Ic:\python25\include -Ic:\python25\PC -c CXX\cxxsupport.cxx -o
 build\temp.win32-2.5\Release\cxx\cxxsupport.o

Re: [Matplotlib-users] eggs or pythonmac packages on OS X?

2007-12-05 Thread Charlie Moad
I primarily follow the dev list, but you've caught my eye. ;)

So to be clear, you would just like me to install some other tcl/tk
before I do the official matplotlib osx binaries.  What package
should I be installing and where should I get it from.  As long as it
still works with the bundled tck/tk I would have no problems doing
this.

Thanks,
- Charlie

On Dec 5, 2007 12:01 PM, Russell E Owen [EMAIL PROTECTED] wrote:
 At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote:
 On Dec 4, 2007 5:14 PM, Russell E. Owen [EMAIL PROTECTED] wrote:
 
   If you use Tcl/Tk and use a current version (instead of the ancient
   version that is built in) then use the packages at pythonmac. I just
   built 0.91.1 today and it should show up there soon. Meanwhile you can
   get it from here:
   http://www.astro.washington.edu/rowen/pythoninstallers/
 
   I hope that someday the official Mac egg version will work with 3rd
   party Tcl/Tk but no version I've tried has -- including 0.91.1.
 
 Does this mean that the only difference between the egg and pythonmac
 version is how it's linked against Tcl/Tk?

 I suspect you are right. But I only build the pythonmac version, not
 the official version, so I don't know for sure. I build my version
 using:
 http://www.astro.washington.edu/rowen/BuildingMatplotlibForMac.html.
 I don't do anything special, but I do have a 3rd party Tcl/Tk
 installed before I build and that seems to make all the difference.

 Just for my edification, why can't the egg version be linked
 against/include a different Tcl/Tk?

 If you mean why can't it be built that way in the first place, I
 don't know. The guy who builds it apparently doesn't read this list,
 and I understand he's on some mailing list that I don't subscribe to.

 I suspect the official egg can somehow be patched, but I find it
 easier to just build my own and put that on pythonmac.

 -- Russell


 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] eggs or pythonmac packages on OS X?

2007-12-05 Thread Charlie Moad
I feel a 0.91.2 in the next few weeks, and I'll be sure to do this and
send you a test build.

- Charlie

On Dec 5, 2007 1:30 PM, Russell E Owen [EMAIL PROTECTED] wrote:
 At 10:03 AM -0800 2007-12-05, Christopher Barker wrote:
 Russell E Owen wrote:
 At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote:
 Just for my edification, why can't the egg version be linked
 against/include a different Tcl/Tk?
 
 If you mean why can't it be built that way in the first place, I
 don't know. The guy who builds it apparently doesn't read this list,
 
 Sure he does (if you mean the matplotlib list), and he did ask about
 it right before this release. Maybe that was asked on
 matplotlib-devel though (I filter them to the same place).

 It was on matploblib-devel. I'll start skimming that newsgroup.

 I suspect the official egg can somehow be patched, but I find it
 easier to just build my own and put that on pythonmac.
 
 Ideally, there would be only one binary version, and it would work
 with either Tcl/Tk. Is that possible? or is this like the old wx
 situation, where it  can only be run with the same version it is
 built against. Arrggg! I hope not.

 The version I build *can* be used with the built in Tcl/Tk. The
 version Charlie Moad builds cannot be used with TkAgg and a 3rd party
 Tcl/Tk -- it not only won't use the library, but it also acts flaky.
 Older versions crashed. 0.91.1 doesn't crash, but import of pylab
 fails with a traceback.

 For some reason it seems to be necessary to have a 3rd party Tcl/Tk
 installed when building matplotlib. It seems a shame. Tkinter in
 Python 2.4 was the same way, but that got fixed in Python 2.5 (I
 don't whether the installer got fixed or whether whoever builds Mac
 Python 2.5 installed a 3rd party Tcl/Tk).

 If there really do need to be two, then they should be labeled
 somehow, and both be up on python mac.

 Since there don't need to be two versions this is not necessary.

 However, Charlie Moad appears to be willing to start building a
 version that works with 3rd party Tcl/Tk. I really hope that happens.

 -- Russell

 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Problems with binary install of matplotlib-0.9.1 python2.4 on windows

2007-12-04 Thread Charlie Moad
I have posted fresh win32 eggs and exe's on SF.  I explicitly removed
the inclusion of msvcp from distutils in numpy.  Please give them a
try and let me know if you have any more problems.  Note: I just
posted the files so it might take a while for them to propagate.

- Charlie

On Dec 3, 2007 9:47 PM, Charlie Moad [EMAIL PROTECTED] wrote:
 I'll remove the exe's from SF.  It's been a while since a release, and
 I guess I was a little rusty. ;)

 - Charlie


 On Dec 3, 2007 7:02 PM, John Hunter [EMAIL PROTECTED] wrote:
 
  On Dec 3, 2007 5:53 PM, John Hunter [EMAIL PROTECTED] wrote:
   On Dec 3, 2007 5:49 PM, John Hunter [EMAIL PROTECTED] wrote:
  
Charlie, I don't know how you handled this last time, but is there
something in setuptools you have to disable for this build?
  
   Well, here's a clue: matplotlib/__init__.py does not exist in this instal
 
  When I copy all the dirs from the 2.5 egg you built into
  site-packages, I get a matplotlib with rcParams and the rest of the
  __init__.py stuff.  Unfortunately, when I try to import pylab, I get
  the dreaded old msvcp71.dll error.  If I recall correctly, we used to
  hack distutils to remove the line that linked with that lib.
 
  JDH
 


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Problems with binary install of matplotlib-0.9.1 python2.4 on windows

2007-12-03 Thread Charlie Moad
I gave it a try, and I did not get this error.

- Charlie

On Dec 3, 2007 12:57 PM, Jörgen Stenarson [EMAIL PROTECTED] wrote:
 Hi,

 After upgrading to the new matplotlib 0.9.1 on python2.4 using the
 windows binary installer I get the following error:


 C:\python
 Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on
 win32
 Type help, copyright, credits or license for more information.
   import pylab
 Traceback (most recent call last):
File stdin, line 1, in ?
File C:\Python24\Lib\site-packages\pylab.py, line 1, in ?
  from matplotlib.pylab import *
File C:\Python24\Lib\site-packages\matplotlib\pylab.py, line 206, in ?
  from matplotlib.numerix import npyma as ma
File C:\Python24\Lib\site-packages\matplotlib\numerix\__init__.py,
 line 20, in ?
  from matplotlib import rcParams, verbose
 ImportError: cannot import name rcParams

 Does anyone else see the same thing?


 best regards
 Jörgen



 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] error on build on windows from SVN

2007-09-25 Thread Charlie Moad
The error message states that you must be using VS2003.  Python is
compiled with this, so all extensions must also be compiled with it.
If you don't have a copy of VS2003 your best bet is to just use
cygwin/mingw.

- Charlie

On 9/25/07, Michael Droettboom [EMAIL PROTECTED] wrote:
 You didn't mention which compiler you were trying to use.  It looks like
 it can't find the Microsoft compiler.  If you have it installed, perhaps
 it's installed in a non-standard location...?  It should be
 theoretically possible to use the free Microsoft compiler, but I have no
 experience with that.

 I have used the Mingw32 compiler included with Cygwin to build
 matplotlib recently with success.  There is also a version of Mingw32
 that is not part of Cygwin.  To use one of these compilers, you need to
 explicitly tell distutils (the system used to build matplotlib) to use
 it, using -c mingw32.

 Cheers,
 Mike

 C M wrote:
 
  On 9/24/07, *John Hunter*  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  On 9/24/07, C M [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
I'm having problems building matplotlib on windows from a folder
  from SVN,
and haven't done it
before (previously had used the prebuilt binary download).  I
  don't know
what I am doing wrong.
 
  Read the header of setupext.py, particularly the part for win32 users
  -- it may not be totally current, but will get much you closer to your
  goal.  Once you have followed the steps there, if you hit another
  roadblock check back here and  we will advise further and try and
  update the docs as necessary.  You are actually in the best position
  to write documentation, since you are hitting this for the first time,
  so please take notes and/or update the instructions in setupext.py so
  we can add them to the docs.
 
 
  Well, not familiar with this at all but giving it a try...In the
  setupext.py
  header it reads:
 
This build is similar to the mingw.  Download the visual studio static
dependencies from
http://matplotlib.sourceforge.net/win32_static_vs.tar.gz
  http://matplotlib.sourceforge.net/win32_static_vs.tar.gz and
see the README in that dir
 
  I did that.  Then, README there says:
 
Contents:
Static dependencies for building mpl for win32 using
Visual Studio.
Extract to the matplotlib source folder.
 
  I extracted it to the matplotlib folder itself and also on another
  try the subfolder, src.  In both cases then from cmd did:
 
python setup.py build bdist_wininst
 
  In both cases got same error as before.
 
  I like to be more help but I am not sure what to do.
  It isn't crucial that I get the latest via SVN and
  build it myself, but I thought it would be good to learn
  to do this generally, just didn't realize it would be a bit
  of an expedition.  Not sure what to do.
 
  Thanks.
 
 
  
 
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 
 
  
 
  ___
  Matplotlib-users mailing list
  Matplotlib-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/matplotlib-users

 --
 Michael Droettboom
 Operations and Engineering Division
 Space Telescope Science Institute
 Operated by AURA for NASA

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


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


Re: [Matplotlib-users] question about building from source on windows

2007-08-06 Thread Charlie Moad
I'll give the build a try on windows tonight using my usual methods.

- Charlie

On 8/6/07, Michael Droettboom [EMAIL PROTECTED] wrote:
 william ratcliff wrote:
   No, with whatever is in the current version of svn, it now works on the
   intel quad as well.  Thanks!

 That's great news!  While it's great to hear that it's working, it would
 be even better to track down the cause of the failure, if possible.

 Do you mean the current version of SVN of numpy or matplotlib?  It
 doesn't like there were any commits to matplotlib over the weekend.

 Do you happen to know what SVN revision was breaking before you updated
 and everything worked?  When you finally updated and things worked, did
 you clean the build directory by any chance?  Python distutils doesn't
 always track dependencies correctly and rebuild enough stuff, which can
 sometimes be the cause of problems.

  I just tried following Michael's build
  instructions (incidentally, could his last additions to setup.py be
  checked in to svn, along with a profile25.bat file?)

 I was wary of committing that change until it had been reviewed by
 someone else with more mingw32 experience.  It worked for me, but it has
 the feel of something slightly hackish...

 For review, in case some other Windows guys are listening, I adding the
 following right before the final distrib = setup(... in setup.py:

  from setupext import get_win32_compiler
  if sys.platform == 'win32' and get_win32_compiler() == 'mingw32':
  for module in ext_modules:
  module.libraries.append(msvcrt)

 As for profile25.bat, I can't find it in SVN.  Maybe whoever is
 responsible for win32_static.tar.gz needs to do it.  Not sure...

 Cheers,
 Mike


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] question about building from source on windows

2007-08-06 Thread Charlie Moad
I got a successful build using VS2003 on Vista.  Here is the env dump:


BUILDING MATPLOTLIB
matplotlib: 0.90.1
python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC
v.1310 32 bit (Intel)]
  platform: win32
   Windows version: (6, 0, 6000, 2, '')

REQUIRED DEPENDENCIES
 numpy: 1.0.3
 freetype2: found, but unknown version (no pkg-config)

OPTIONAL DEPENDENCIES
  Gtk+: gtk+: 2.10.11, glib: 2.12.11, pygtk: 2.10.4,
pygobject: 2.12.3
   Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
  wxPython: no
* wxPython not found
Qt: no
   Qt4: no
 Cairo: 1.2.6
libpng: found, but unknown version (no pkg-config)

[Edit setup.cfg to suppress the above messages]


And here is the patch to make it work:

Index: C:/workspace/matplotlib/setupext.py
===
--- C:/workspace/matplotlib/setupext.py (revision 3677)
+++ C:/workspace/matplotlib/setupext.py (working copy)
@@ -676,10 +676,10 @@
 if sys.platform=='win32':
 major, minor1, minor2, s, tmp = sys.version_info
 if major==2 and minor1 in [3, 4, 5]:
-module.include_dirs.extend(['win32_static/include/tcl84'])
+module.include_dirs.extend(['win32_static/include/tcl8.4'])
 module.libraries.extend(['tk84', 'tcl84'])
 elif major==2 and minor1==2:
-module.include_dirs.extend(['win32_static/include/tcl83'])
+module.include_dirs.extend(['win32_static/include/tcl8.3'])
 module.libraries.extend(['tk83', 'tcl83'])
 else:
 raise RuntimeError('No tk/win32 support for this python
version yet')
Index: C:/workspace/matplotlib/ttconv/ttutil.cpp
===
--- C:/workspace/matplotlib/ttconv/ttutil.cpp   (revision 3677)
+++ C:/workspace/matplotlib/ttconv/ttutil.cpp   (working copy)
@@ -32,10 +32,10 @@
   va_start(arg_list, format);
   char buffer[PRINTF_BUFFER_SIZE];

-  int size = vsnprintf(buffer, PRINTF_BUFFER_SIZE, format, arg_list);
+  int size = _vsnprintf(buffer, PRINTF_BUFFER_SIZE, format, arg_list);
   if (size = PRINTF_BUFFER_SIZE) {
 char* buffer2 = (char*)malloc(size);
-vsnprintf(buffer2, size, format, arg_list);
+_vsnprintf(buffer2, size, format, arg_list);
 free(buffer2);
   } else {
 this-write(buffer);


I don't have time to add the proper #ifdef to the cpp file at this
moment.  I can't remember to proper check off the top of my head.
I'll commit the fix to the setupext.py typo.

Did someone want the build?  If so, e-mail me and I'll post it somewhere.

- Charlie

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Matplotlib Cocoaagg backend

2007-02-25 Thread Charlie Moad
On 2/21/07, Anand Patil [EMAIL PROTECTED] wrote:

  From the matplotlib-devel list:

  On 2/14/07, Michiel Jan Laurens de Hoon [EMAIL PROTECTED] wrote:
   Dear Charles,
  
   I was trying to use your cocoa-agg backend for matplotlib, but it seems
   to have a problem to read Matplotlib.nib. Opening this nib with
   Interface Builder also gives an error. It appears that the problem is
   caused by the file keyedobjects.nib in the Matplotlib.nib folder. If I
   run plutil on keyedobjects.nib, it crashes. The other two files in
   Matplotlib.nib look fine. So I was wondering if it is possible that the
   keyedobjects.nib file included in matplotlib is damaged. If so, do you
   have a valid copy of this file?
  
   Many thanks in advance,
  
   --Michiel de Hoon.
  
  We recently moved the data files, and I think the nib files got
  interpreted as text instead of binary files. I grabbed an old copy
  from a previous source release and committed them as binary. They
  should work now.
  
  - Charlie

 I just downloaded
 /trunk/matplotlib/lib/matplotlib/backends/Matplotlib.nib, rev 3022 on
 svn. When I tried to use it, this happened:

 In [1]: figure()
 2007-02-21 15:00:51.611 Python[813] *** NSThread: ignoring exception
 '*** -[NSKeyedUnarchiver decodeObjectForKey:]: missing class information
 for object' that raised during delayed perform of target 0x3b308c0 and
 selector 'startWithBundle:'

 I wasn't able to open the nib package with the interface builder, and
 plutil crashed on keyedobjects.nib (I don't know what plutil is supposed
 to do). I'm using a PPC G4 running OS X 10.4.

 Thanks much,
 Anand

Sorry it took some time, but I tried committing fresh non-binary nibs.
 Please try again now.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-07 Thread Charlie Moad
On 2/7/07, Werner F. Bruhin [EMAIL PROTECTED] wrote:
 Charlie,

 Charlie Moad wrote:
  On 2/7/07, Werner F. Bruhin [EMAIL PROTECTED] wrote:
  Hi Charlie,
 
  Great to see a new release, will put some time aside to test it with
  wxPython early next week.
 
  I can't see a reference to the wxPython backend, will it still require
  the Unicode build or can one use the Ansi build and which versions of
  wxPython are supported?
 
  Well, we haven't built any binaries yet.  We pushed a source release
  fast to try to get it into Feisty.  Sorry Chris!  With wx2.8 out now
  and this being a major release, we definitely need to rethink wx
  builds.  We stuck with unicode for 0.87 to avoid confusion.  I would
  be happy to hear what wx users think/want.
 For me the ideal would be not to be depended on a particular release of
 wxPython - big surprise no :-) .

 If I understand it correctly the dependency came in for performance
 optimization, does 2.8 change something for this.

 - If yes, I would not see a problem with 0.9 requiring as a minimum
 2.8.0.1 but going forward I could use any 2.8.x or newer release.
 - If no, then I guess we have to live with having a fixed dependency,
 e.g. 0.87 is wxPython 2.6.x, 0.90 is wxPython 2.8.x, but it should
 through at least a warning if one tries to use it with another wxPython
 release.

A while back there was some talk on the dev list about a pure python
blitting method.  I believe 2.8 had features that made this possible.
I don't think anyone actually implemented this though.  I'll have to
check if the current native wx code even compiles with 2.8.  The
pure-python wx interface is still there and works but doesn't allow
for efficient blitting.

-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-06 Thread Charlie Moad
http://www.python.org/pypi/matplotlib/0.90.0

http://sourceforge.net/project/showfiles.php?group_id=80706package_id=82474release_id=484485

Binaries will be posted in a few days.

===
2007-02-06 Released 0.90.0 at revision 3003

2007-01-22 Extended the new picker API to text, patches and patch
   collections.  Added support for user customizable pick hit
   testing and attribute tagging of the PickEvent - Details
   and examples in examples/pick_event_demo.py - JDH

2007-01-16 Begun work on a new pick API using the mpl event handling
   frameowrk.  Artists will define their own pick method with
   a configurable epsilon tolerance and return pick attrs.
   All artists that meet the tolerance threshold will fire a
   PickEvent with artist dependent attrs; eg, a Line2D can set
   the indices attribute that shows the indices into the line
   that are within epsilon of the pick point.  See
   examples/pick_event_demo.py.  The implementation of pick
   for the remaining Artists remains to be done, but the core
   infrastructure at the level of event handling is in place
   with a proof-of-concept implementation for Line2D - JDH

2007-01-16 src/_image.cpp: update to use Py_ssize_t (for 64-bit systems).
   Use return value of fread() to prevent warning messages - SC.

2007-01-15 src/_image.cpp: combine buffer_argb32() and buffer_bgra32() into
   a new method color_conv(format) - SC

2007-01-14 backend_cairo.py: update draw_arc() so that
   examples/arctest.py looks correct - SC

2007-01-12 backend_cairo.py: enable clipping. Update draw_image() so that
   examples/contour_demo.py looks correct - SC

2007-01-12 backend_cairo.py: fix draw_image() so that examples/image_demo.py
   now looks correct - SC

2007-01-11 Added Axes.xcorr and Axes.acorr to plot the cross
   correlation of x vs y or the autocorrelation of x.  pylab
   wrappers also provided.  See examples/xcorr_demo.py - JDH

2007-01-10 Added Subplot.label_outer method.  It will set the
   visibility of the ticklabels so that yticklabels are only
   visible in the first column and xticklabels are only
   visible in the last row - JDH

2007-01-02 Added additional kwarg documentation - JDH

2006-12-28 Improved error message for nonpositive input to log
   transform; added log kwarg to bar, barh, and hist,
   and modified bar method to behave sensibly by default
   when the ordinate has a log scale.  (This only works
   if the log scale is set before or by the call to bar,
   hence the utility of the log kwarg.) - EF

2006-12-27 backend_cairo.py: update draw_image() and _draw_mathtext() to work
   with numpy - SC

2006-12-20 Fixed xpdf dependency check, which was failing on windows.
   Removed ps2eps dependency check. - DSD

2006-12-19 Added Tim Leslie's spectral patch - JDH

2006-12-17 Added rc param 'axes.formatter.limits' to control
   the default threshold for switching to scientific
   notation. Added convenience method
   Axes.ticklabel_format() for turning scientific notation
   on or off on either or both axes. - EF

2006-12-16 Added ability to turn control scientific notation
   in ScalarFormatter - EF

2006-12-16 Enhanced boxplot to handle more flexible inputs - EF

2006-12-13 Replaced calls to where() in colors.py with much faster
   clip() and putmask() calls; removed inappropriate
   uses of getmaskorNone (which should be needed only
   very rarely); all in response to profiling by
   David Cournapeau.  Also fixed bugs in my 2-D
   array support from 12-09. - EF

2006-12-09 Replaced spy and spy2 with the new spy that combines
   marker and image capabilities - EF

2006-12-09 Added support for plotting 2-D arrays with plot:
   columns are plotted as in Matlab - EF

2006-12-09 Added linewidth kwarg to bar and barh; fixed arg
   checking bugs - EF

2006-12-07 Made pcolormesh argument handling match pcolor;
   fixed kwarg handling problem noted by Pierre GM - EF

2006-12-06 Made pcolor support vector X and/or Y instead of
   requiring 2-D arrays - EF

2006-12-05 Made the default Artist._transform None (rather than
   invoking identity_transform for each artist only to have it
   overridden later).  Use artist.get_transform() rather than
   artist._transform, even in derived classes, so that the
   default transform will be created lazily as needed - JDH

2006-12-03 Added LogNorm to colors.py as illustrated by
   examples/pcolor_log.py, based on suggestion by
   Jim McDonald.  Colorbar modified to handle LogNorm.
   Norms have additional inverse method. - EF

2006-12-02 Changed class 

Re: [Matplotlib-users] matplotlib on OSX

2006-11-11 Thread Charlie Moad
On 11/10/06, Joris De Ridder [EMAIL PROTECTED] wrote:
 Hi,

 We're trying (for the first time) to install matplotlib on OSX (Tiger on PPC 
 Mac).

 Before we installed matplolib we ensured that BUILD_TKAGG= 1 in setup.py.
 Then we typed 'python setup.py install' which went fine. Importing pylab goes 
 fine,
 making a plot with pylab.plot() also works fine, but pylab.show() gives:

 alloc: invalid block: 0xa08bca0: a 1c 0
 Abort trap

 I guess this is a backend problem. Any pointers in which direction we can find
 a solution for this?

 We're using Python 2.4.1, Numpy 1.0,  TclTkAquaBI-8.4.10.0 and we're trying
 to install Matplotlib 0.87.7.

We recently posted OSX binaries.  Can you try one of those?

-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Charlie Moad
On 11/9/06, Russell E Owen [EMAIL PROTECTED] wrote:
 At 10:18 AM -0800 2006-11-09, Christopher Barker wrote:
 Russell and Charlie,
 
 Are your two binaries any different? Any reason to choose one over
 the other? In particular, which of these are supported:
 
 numpy 1.*
 Numeric
 numarray
 
 GTK
 TK
 wx (which version?)

 My binary supports:
 - numpy 1.0 (the default), Numeric and numarray
 - TkAgg using the built in Tcl/Tk or a user-added Tcl/Tk 8.4.x
 - WXAgg using wxPython 2.6
   (I just realized this is the default, which is bad because it's not built 
 in)

 It does not support GTK or Qt.

 Unfortunately it requires the user to:
 - Install one or more numeric packages
 - Set up a matploblibrc file unless they want to use numpy and WXAgg
 so it includes a ReadMe.txt file telling the user what to do.

 It would be better if matplotlib just ran out of the box. I'm not
 sure the best way to do this. Some possibilities are:
 - Include numpy in the matplotlib package and have the default
 matplotlibrc file use that. One would have to be careful about how to
 handle an existing numpy (if any), and I really don't know how to do
 that. Naive users would probably appreciate matplotlib using its own
 version and ignoring any built in (and possibly incompatible)
 version, but that sounds like a nightmare for more experienced users.

 - Run a post-install script that modifies the default matploblibrc
 file by looking for installed numeric packages and picking one as the
 default for numerix. It could warn the user if no compatible numeric
 package was found. This is clearly less friendly than the first
 option, but doesn't bring up the issue of conflicting with a
 user-installed numpy.

 - Some combination whereby a post-install script installs numpy 1.0
 if no numpy is found and bitches loudly if a too-old version is found.

 Any ideas on this? Charlie: does your version already handle this somehow?


 If we use my package then I should submit a new version that has
 TkAgg as its default.

I am guessing our versions are pretty much the same.  All the latest
numerical modules, no gtk, etc.  I don't think we need to worry about
dependencies.  Windows and linux doesn't technically run out of the
box either.  They are required to get the correct deps.

-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] install on Mac

2006-11-07 Thread Charlie Moad
On 11/7/06, Alan Isaac [EMAIL PROTECTED] wrote:
 On Mon, 06 Nov 2006, Alan Isaac wrote:
  I'm using MacPython 2.5 with numpy installed,
  and I wish to install matplotlib.  Possible? Easy?
  I'm brand new on the Mac and used to the Windows installers,
  so if you can point me to *step by step* instructions I'd be
  very grateful.

 I need to clarify:
 I have compiled numpy 1.0 for MacPython 2.5 on OSX Tiger
 and it is my current belief that I need
 matplotlib 0.87.7 to go with that. Right?

 There are currently no Mac binaries for
 that version on SourceForge or pythonmac.

 If I can use 0.87.6
 or if binaries will soon be posted
 I'm set.  This is best for me.

You'll need 0.87.7.  I will try to build/post these tonight.  It's not
terrible to get it compiled on OSX, but it's not trivial at the same
time.

- Charlie

-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] install on Mac

2006-11-07 Thread Charlie Moad
 There are currently no Mac binaries for
 that version on SourceForge or pythonmac.

They're up now.

-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] wxmsw26uh_vc.dll

2006-11-04 Thread Charlie Moad
Installing the unicode version of wxpython is the solution.  This will
get rid of the error message.  Matplotlib is compiled against it.

On 11/4/06, Etrade Griffiths [EMAIL PROTECTED] wrote:
 Hi

 running Win XP, Python 2.4 with matlibplot and wxpython installed from
 these executables both down-loaded from sourceforge

 matplotlib-0.87.7.win32-py2.4.exe
 wxPython2.6-win32-ansi-2.6.3.3-py24.exe

 Just taking the first steps with matplotlib and wxpython using
 wxmpl.  Running one of the wxmpl test apps I get this error message

 python.exe - Unable to locate component

 This application has failed to start because wxmsw26uh_vc.dll was not
 found.  Reinstalling this application may fix this problem

 After dismissing the message box, the app pops up and runs OK so I guess
 the error is not that serious but still pretty irritating to users.  Tried
 reinstalling but that doesn't help.  Also did a google search on
 wxmsw26uh_vc.dll and it seems that several people have reported this
 problem but I couldn't find a solution.  One of the discussions I did find
 mentioned unicode versions of wxpython but AFAIK I have never installed a
 unicode version.

 All suggestions gratefully received!



 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] wxmsw26uh_vc.dll

2006-11-04 Thread Charlie Moad
On 11/4/06, Werner F. Bruhin [EMAIL PROTECTED] wrote:

  Hi Charlie,

  Charlie Moad wrote:

  Installing the unicode version of wxpython is the solution. This will
 get rid of the error message. Matplotlib is compiled against it.

  Isn't this a maint headache for you and others maintaining matplotlib?

Among other things. ;)

  Will there be wxPython 2.6, 2.7 and 2.8 builds?

I hope not.  I am guessing that wxPython is like the linux kernel, so
2.7 is a dev branch.

  Is it not possible to have a wxPython nutral build?

The native interface was  added for high speed blitting/animation.  A
while back we talked about and agreed on trying to remove the native
interfaces for gtk and wxpython to avoid these compilation headaches.
This was after having decent success with pure python approaches for
qt3 and qt4.  We are sticking with the unicode wxpython build for the
remainder of 0.87.x to avoid more confusion.  Ideally 0.88 will have
the pure python blitting implementations.

- Charlie

-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation Problems on Mac OS X

2006-10-10 Thread Charlie Moad
On 10/10/06, R. Padraic Springuel [EMAIL PROTECTED] wrote:
 I haven't tried the binaries because there isn't one for python 2.5 and
 Mac OS 10.4 (the particular combination that I have).  I could use the
 binaries if I went back to python 2.4, but I'm trying avoid that if
 possible.

So actually there is a build for you... actually two.  I built
matplotlib-0.87.6-py2.5-macosx-10.3-fat.egg with python2.5 on OS
10.4.  For some strange reason setuptools or distutils tags it with
10.3.  It might be because the build targets to 10.3.9 SDK, so it
should be compatible with 10.3.9 and up.
matplotlib-0.87.6-py2.5-macosx10.4.zip is the exact same build but
bundled with bdist_mpkg.  It is understanding how this is confusing.
I am cc'ing the pythonmac-sig list to see if someone can better
explain the thought process behind this.

- Charlie

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Testing 1,2,3

2006-10-05 Thread Charlie Moad
The mailing lists have been down for a few days, and this is a test.

Charlie

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Draw circle buggy?

2006-10-05 Thread Charlie Moad
On 10/5/06, Hanno Klemm [EMAIL PROTECTED] wrote:

 Hi, I think I might have discovered a bug:

 On python 2.5 with the gtk backend and matplotlib 0.87.6 the following
 happens:

  plot([1,2,3],'ko')
 [matplotlib.lines.Line2D instance at 0x2a9ed68638]
  show()
 Traceback (most recent call last):
   File
 /glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py,
 line 284, in expose_event
 self._render_figure(self._pixmap, w, h)
   File
 /glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py,
 line 272, in _render_figure
 self.figure.draw (self._renderer)
   File
 /glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/figure.py,
 line 545, in draw
 for a in self.axes: a.draw(renderer)
   File
 /glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/axes.py,
 line 1067, in draw
 a.draw(renderer)
   File
 /glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/lines.py,
 line 379, in draw
 markerFunc(renderer, gc, xt, yt)
   File
 /glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/lines.py,
 line 618, in _draw_circle
 x, y, w, w, 0.0, 360.0, 0.0)
   File
 /glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/backends/backend_gdk.py,
 line 97, in draw_arc
 self.gdkDrawable.draw_arc(gc.gdkGC, True, x, y, w, h, a1, a2,
 rotation)
 TypeError: GdkDrawable.draw_arc() takes exactly 8 arguments (9 given)

 Any hints what is happening there?

This bug was my fault.  I added an extra argument for rotated
ellipsis.  I fixed it in svn.  Just remove the rotation arg from the
line of interest for a fix.

- Charlie

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] install matplotlib with python2.5

2006-09-26 Thread Charlie Moad
matplotlib-0.87.5 is not compatible with python2.5.  We are planning a
minor rev bump tomorrow to address this.  You can wait until then or
trying building from svn.

On 9/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I have installed Python 2.5 as a separate installation from 2.4, and am trying
 to install matplotlib in the site-packages of the new version. I have 
 installed
 numpy and scipy successfully, but am having the following trouble when I try 
 to
 setup matplotlib. Any suggestions?

 thank you...
 _
 [EMAIL PROTECTED]:~/Python-2.5/Lib/site-packages/matplotlib-0.87.5$ sudo
 python2.5 setup.py build
 GTK requires pygtk
 TKAgg requires TkInter
 GTKAgg requires pygtk
 running build
 running build_py
 running build_ext
 building 'matplotlib._agg' extension
 C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
 -Wstrict-prototypes -fPIC

 compile options: '-Iagg23/include -Isrc -Iswig -I/usr/local/include/python2.5
 -c'
 gcc: src/agg.cxx
 cc1plus: warning: command line option -Wstrict-prototypes is valid for
 Ada/C/ObjC but not for C++
 src/agg.cxx: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**,
 swig_type_info*, int)':
 src/agg.cxx:1231: error: invalid conversion from 'const char*' to 'char*'
 src/agg.cxx: In function 'void SWIG_Python_FixMethods(PyMethodDef*,
 swig_const_info*, swig_type_info**, swig_type_info**)':
 src/agg.cxx:27624: error: invalid conversion from 'const char*' to 'char*'
 cc1plus: warning: command line option -Wstrict-prototypes is valid for
 Ada/C/ObjC but not for C++
 src/agg.cxx: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**,
 swig_type_info*, int)':
 src/agg.cxx:1231: error: invalid conversion from 'const char*' to 'char*'
 src/agg.cxx: In function 'void SWIG_Python_FixMethods(PyMethodDef*,
 swig_const_info*, swig_type_info**, swig_type_info**)':
 src/agg.cxx:27624: error: invalid conversion from 'const char*' to 'char*'
 error: Command gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
 -Wstrict-prototypes -fPIC -Iagg23/include -Isrc -Iswig
 -I/usr/local/include/python2.5 -c src/agg.cxx -o
 build/temp.linux-i686-2.5/src/agg.o failed with exit status 1
 [EMAIL PROTECTED]:~/Python-2.5/Lib/site-packages/matplotlib-0.87.5$

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] compile error with python2.5

2006-09-20 Thread Charlie Moad
This came up on the dev list yesterday and we tried with swig-1.3.29,
which is the latest listed release on SF.  The link you provided shows
this was indeed fixed after the 1.3.29 release.  Jon, can we give
bleeding edge swig a try?

Thanks,
 Charlie

On 9/20/06, Achim Gaedke [EMAIL PROTECTED] wrote:
 Hello Charlie!

 Hmmm... Basically you are right. But maybe you are more familiar with
 SWIG issues than I am.

 Ok, I will do the job and go to swig and have a look:

 http://swig.cvs.sourceforge.net/swig/SWIG/Lib/python/pyrun.swg?r1=1.143r2=1.144

 You will find this error corrected five months ago.

 You are using version: 1.3.27 (as stated in the file's header), the last
 official release is 1.3.12 (June 2006) and the latest cvs version 1.3.30
 (in progress). I do not understand why this version is not in use...

 Maybe you should try the latest SWIG version.

 Yours, Achim

 Charlie Moad wrote:
  Thanks for the patch.  Ideally we need to find a way to fix this in
  swig though.  Otherwise we would have to reapply the patch every time
  we regenerate the wrappings.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] compile error with python2.5

2006-09-20 Thread Charlie Moad
It builds now.  We still have to wait on a useable numpy for python2.5
and pygtk for windows/py2.5.  All the other components are there or we
can build.

On 9/20/06, John Hunter [EMAIL PROTECTED] wrote:
  Charlie == Charlie Moad [EMAIL PROTECTED] writes:

 Charlie This came up on the dev list yesterday and we tried with
 Charlie swig-1.3.29, which is the latest listed release on SF.
 Charlie The link you provided shows this was indeed fixed after
 Charlie the 1.3.29 release.  Jon, can we give bleeding edge swig
 Charlie a try?

 OK, bleeding edge SWIG versions of the agg wrappers are in svn.

 Good luck!

 JDH


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] compile error with python2.5

2006-09-20 Thread Charlie Moad
I applied the parts of the patch that don't affect the swig files.
Seems to be working well.

Thanks,
Charlie

On 9/20/06, Andrew Jaffe [EMAIL PROTECTED] wrote:
 Hi all,

 As discussed by David Cooke, above, I think there are still some other
 issues, at least under OSX: several files need to be patch to convert
 int to the new Py_ssize_t, at least in cxx_extensions.cxx and _image.cpp

 Will these be changed?

 Andrew



 Achim Gaedke wrote:
  Hi there!
 
  I built numpy-1.0b5 and pygtk with python2.5 on Sunday. It worked, but I
  use numarray as standard numerix extension.
  There was a bugfix for numpy-1.0b5 that is already contained in their
  repository version.
 
  Yours, Achim
 
  Charlie Moad wrote:
  It builds now.  We still have to wait on a useable numpy for python2.5
  and pygtk for windows/py2.5.  All the other components are there or we
  can build.
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] 0.87.5 Installation alongside Numpy/SciPy [OS X]

2006-09-15 Thread Charlie Moad
mpl 0.87.5 is compiled against numpy 1.0b5.  It should remain
compatible with future release of 1.0.

On 9/15/06, David Andrews [EMAIL PROTECTED] wrote:
 Hi everyone,

 I'm confused as to what version of NumPy this most recent release of
 matplotlib wants to be used with - I get the following message:

  from pylab import *
 RuntimeError: module compiled against version 102 of C-API but
 this version of numpy is 100
 ...etc

 This suggests to me that my current version of numpy is out of date.
 The most recent version of numpy on their sourceforge site is
 apparently 0.9.8, and a beta version - 1.0b5

 Cheers,

 Dave

 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] MPL/Pylab install woes (still)

2006-09-12 Thread Charlie Moad
 After some progress in installing matplotlib (after solving the numpy
 problem, thanks), I've hit another obstacle. Again, perhaps someone will
 recognise the symptoms or suggest the next place to look. The technical set
 up: OSX 10.4, MPL 0.87.5, numeric, numarray and  numpy 1.0b5 installed,
 intel MacBook.

 The issue: matplotlib installs but when pylab is imported, I get: :

 14:28:56: Debug: ../src/common/object.cpp(224): assert
 sm_classTable-Get(m_className) == NULL failed: class
 already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() twice (may
 be by linking some object module(s) twice)?
 ../src/common/object.cpp(224): assert
 sm_classTable-Get(m_className) == NULL failed: class
 already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() twice (may
 be by linking some object module(s) twice)?
 Trace/BPT trap

 and then dumped to the CLI.  ``sm_classTable`` appears to be defined in  the
 wxagg backend.

Do you have the universal wxpython installed?  If so, make sure you
set WX_CONFIG to point to the correct wx-config executable.

 When matplotlib is built, I get a bunch of warnings like::

/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning fat file:
 /usr/local/lib/libgcc_s.10.4.dylib does not contain an
 architecture that matches the specified -arch flag: ppc (file ignored)

I am guessing you are on an intel machine.  These can safely be ignored.

 when linking various agg and _nc_transforms pieces, as well as::

src/_ns_backend_agg.cpp:41:1: warning: M_PI redefined
In file included from /usr/include/math.h:26,
   from
 /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:52,

This should be wrapped with an ifdef, but again they can be ignored for now.

 although these don't terminate the build. It would seem that something is
 getting architectures mixed up, but I can't identify what. Things I've done
 - reinstalled Python (made sure it was universal), updated Developer tools,
 cleared  reinstalled MPL. Any ideas on what to try next?

Sounds like wx is your problem right now, so please try my suggestion above.

- Charlie

-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ANN: matplotlib-0.87.5

2006-09-06 Thread Charlie Moad
That error was relating to the source release.  Can you please post
your error for the binary?

On 9/6/06, Sven Schreiber [EMAIL PROTECTED] wrote:
 Charlie Moad schrieb:
  Minor rev bump for numpy 1.0b5 compatibility.  This release should
  remain compatible with future 1.0 releases of numpy.
 

 I keep running into the ImportError problem described on the devel list,
 with the win32 2.4 binary (exe). Is that still just a case of waiting
 for the mirrors to update, or is there a deeper problem? Are there
 alternative download links? How to tell whether it's the right binary,
 since version numbers are the same?

 Thanks for your help,
 Sven


-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ANN: matplotlib-0.87.5

2006-09-06 Thread Charlie Moad
The source error must of propagated to those builds.  I will post new
ones shortly.

On 9/6/06, Sven Schreiber [EMAIL PROTECTED] wrote:
 Well the thread on the devel list that I referred to explicitly has the
 win32 exe in its title (Missing __init__.py in
 matplotlib-0.87.5.win32-py2.4.exe ?) . The starting post there pretty
 much says it all.

 There's also a recent post on the numpy list that sounds like it's maybe
 the same problem (quote):
 
 Is there a compatible matplotlib as well?  I was o.k. with mpl from
 enthought until I switched numerix to numpy.  That made mpl unhappy.
 I downloaded 0.87.5 but I broke something in the process because now
 even switching back to Numeric doesn't make mpl happy.
 

 Thanks,
 Sven

 Charlie Moad schrieb:
  That error was relating to the source release.  Can you please post
  your error for the binary?
 
  On 9/6/06, Sven Schreiber [EMAIL PROTECTED] wrote:
  Charlie Moad schrieb:
   Minor rev bump for numpy 1.0b5 compatibility.  This release should
   remain compatible with future 1.0 releases of numpy.
  
 
  I keep running into the ImportError problem described on the devel list,
  with the win32 2.4 binary (exe). Is that still just a case of waiting
  for the mirrors to update, or is there a deeper problem? Are there
  alternative download links? How to tell whether it's the right binary,
  since version numbers are the same?
 
  Thanks for your help,
  Sven
 
 



-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] [matplotlib-devel] ANN: matplotlib-0.87.5 *fixed*

2006-09-06 Thread Charlie Moad
Try the ones I added to the link above.  I already had a mpl build on
sf.  Numpy is also at the link now.

On 9/6/06, Christopher Barker [EMAIL PROTECTED] wrote:
 Charlie Moad wrote:
  I just uploaded working (at least for me)
  versions to sourceforge again.

 Charlie,

 What are your plans for an OS-X build? Is it time?

 We'd need a new numpy build too -- that I could do.

 -Chris



 --
 Christopher Barker, Ph.D.
 Oceanographer

 NOAA/ORR/HAZMAT (206) 526-6959   voice
 7600 Sand Point Way NE   (206) 526-6329   fax
 Seattle, WA  98115   (206) 526-6317   main reception

 [EMAIL PROTECTED]

 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Snapshot build for use with numpy-1.0b3

2006-08-30 Thread Charlie Moad
http://euclid.uits.iupui.edu/files/

For the record, these will probably be pulled after the next release.

On 8/30/06, Adriaan Hough [EMAIL PROTECTED] wrote:
 hi

 i'm looking for a recent binary build for windows that'll work with
 numpy-1.0b4 (maybe compatible with 1.0b3?). the links in the previous
 message don't seem to work anymore. would someone take pity on a
 win-python newbie?


 regards

 adriaan peens-hough



 From: Charlie Moad [EMAIL PROTECTED]
 Snapshot build for use with numpy-1.0b3
2006-08-23 06:11
 Here is a snapshot of svn this morning for those wanting to work with
  the numpy beta.  Both builds are for python2.4 and windows.
 
  exe: http://tinyurl.com/gf299
  egg: http://tinyurl.com/fbjmg
 
  -Charlie
 

 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Is matplotlib compatible whith PyQt4 ?

2006-08-19 Thread Charlie Moad
On 8/19/06, Darren Dale [EMAIL PROTECTED] wrote:
 On Friday 18 August 2006 08:27, Darren Dale wrote:
  On Wednesday 16 August 2006 04:54, Samuel GARCIA wrote:
   Thank you,
   Sorry I did known the existence of matplotlib.backends.backend_qt4agg.
   It is more easy than I thought.
  
   but I still have a problem. This is my code :
  
   import sys
  
   from PyQt4.QtCore import *
   from PyQt4.QtGui import *
  
   from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as
   FigureCanvas
   from matplotlib.figure import Figure
  
   #
  --  class MyWidget(QWidget):
   def __init__(self, parent=None):
   QWidget.__init__(self, parent)
   self.menuBar = QMenuBar()
   self.fileMenu = QMenu(self.tr(File), self)
   self.menuBar.addMenu(self.fileMenu)
  
   mainLayout = QVBoxLayout()
   mainLayout.setMenuBar(self.menuBar)
  
   self.setLayout(mainLayout)
  
   #
  --  if __name__ == __main__:
   app = QApplication(sys.argv)
   dialog = MyWidget()
   dialog.show()
   sys.exit(app.exec_())
  
   and it does not works because the main window is blocking.

 There is a comment in the embedding_in_qt.py example:

 # The QApplication has to be created before backend_qt is imported, otherwise
 # it will create one itself.

 This goes for qt4 as well, and is the source of the problem. You can have only
 one QApplication at a time. (Ted, John, do you think the QApplication really
 needs to be created during the module import? show() is the only function
 that looks for the QApplication, maybe the qApp should be created there
 instead. Any reason against?)

 I added an example, embedding_in_qt4.py, to the svn repository. It is closely
 based on embedding_in_qt.py.

From what I saw, creating QApp in show makes more sense.

- Charlie

-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] packing an app with cx_Freeze

2006-08-14 Thread Charlie Moad
Check out the py2exe page about matplotlib.

http://starship.python.net/crew/theller/moin.cgi/MatPlotLib

On 8/14/06, Christian Meesters [EMAIL PROTECTED] wrote:
 Hi,

 Yesterday I tried packing an application of mine which makes use of wxPython,
 scipy, and matplotlib with cx_Freeze.

 The Traceback I get after running FreezePython --install-dir SPlot_dir
 SPlot.py and starting the application is:

 Traceback (most recent call last):
   File /home/cm/bin/initscripts/Console.py, line 27, in ?
 exec code in m.__dict__
   File SPlot.py, line 17, in ?
   File /usr/lib64/python2.4/site-packages/matplotlib/__init__.py, line 720,
 in ?
 defaultParams = {
   File /usr/lib64/python2.4/site-packages/matplotlib/__init__.py, line 273,
 in wrapper
 ret = func(*args, **kwargs)
   File /usr/lib64/python2.4/site-packages/matplotlib/__init__.py, line 360,
 in _get_data_path
 raise RuntimeError('Could not find the matplotlib data files')
 RuntimeError: Could not find the matplotlib data files

 I should mention that the everything was done on one machine (running SuSE
 10.0 and python 2.4.1).

 Anyone tried packing an application with matplotlib before and has a hint for
 me what to change?

 TIA
 Christian

 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib/wxmpl/numpy conflict on windows xp: runtime error, C-API ?

2006-08-07 Thread Charlie Moad
Here is a link to a build that works with numpy-1.0b1.  Pushing a
release now for 1.0 might be pointless, since the C-api could possibly
change and break compatibility again.  After all, it still is a beta.

http://euclid.uits.iupui.edu/~cmoad/matplotlib-0.87.4_r2645-py2.4-win32.egg

On 8/7/06, izak marais [EMAIL PROTECTED] wrote:
 Does anyone know when the matplotlib install will be able to work with
 numpy1.0? numpy0.9.8 has a memory leak that crashes my program :(.

 thanks!


  
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] How to draw a region of interest

2006-08-07 Thread Charlie Moad
from matplotlib.widgets import Lasso
It might not of made the last release.
http://svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/widgets.py?revision=2583view=markup

On 8/7/06, Daniel Kornhauser [EMAIL PROTECTED] wrote:
 Hey guys:

 Charlie I did not find your lasso example so I cooked up mine, I attach it.
 Can you give me the file name that contains the new Lasso widget for
 doodling ?

 This is just the start of the lasso or region of interest widget I
 still have to :
 - fill the region with a color
 - make it work with layers
 - add methods that return the pixel region or the contour coordinates
 - make a nice class

 If anybody has made such a widget I would love to see the code, I hate
 reinventing the wheel.

 If there is not such an example such as the lasso tool, can my example
 be added to the examples ?
 What is the process ?

 Anyway, I can't believe there is not such a widget, I thought there must
 be some people that use matplotlib for Digital Image Processing ?
 Isn't there ?

 Any critique on my code would be appreciated, I have never programed
 with matplotlib ...


Daniel.




 Charlie Moad wrote:
  On 8/4/06, Daniel Kornhauser [EMAIL PROTECTED] wrote:
  Hi:
 
  Just stared playing with matplotlib, I want to draw a polygon on top of
  an image to select a region of interest in the image.
  Does anybody have any example or advice on how to interactively draw a
  polygon with the mouse by placing it's vertices's one click at a time ?
  Another case that I have would be just to fill a region with a thick
  line, searched for a doodle example or a paint example but could not
  find them, any advice would be appreciated too.
 
  Look in at the widget examples.  There is a new Lasso widget for
  doodling and a RectangleSelector.
 
  - Charlie



 #!/usr/bin/env python
 
 This example shows how to use matplotlib to create regions of interest.
 I has two modes:
  - the segment mode, each time you click the mouse you can create a line 
 segment
  - the free hand mode, by keeping pressed the right button you can create 
 a iregular contour
 The right button closes the loop.
 Daniel Kornhauser
 
 from pylab import *

 class ROI:

 def __init__(self, ax, fig):
 self.previous_point = []
 self.start_point = []
 self.end_point = []
 self.line = None

 self.fig =  fig
 self.fig.canvas.draw()

 def motion_notify_callback(self, event):
 if event.inaxes:
 ax = event.inaxes
 x, y = event.xdata, event.ydata
 if event.button == None and self.line != None: # Move line around
 self.line.set_data([self.previous_point[0], x],
[self.previous_point[1], y])
 self.fig.canvas.draw()
 elif event.button == 1: # Free Hand Drawing
 line = Line2D([self.previous_point[0], x],
   [self.previous_point[1], y])
 ax.add_line(line)
 self.previous_point = [x, y]
 self.fig.canvas.draw()


 def button_press_callback(self, event):
 if event.inaxes:
 x, y = event.xdata, event.ydata
 ax = event.inaxes
 if event.button == 1:  # If you press the right button
 if self.line == None: # if there is no line, create a line
 self.line = Line2D([x,  x],
[y, y],
marker = 'o')
 self.start_point = [x,y]
 self.previous_point =  self.start_point
 ax.add_line(self.line)
 self.fig.canvas.draw()
 # add a segment
 else: # if there is a line, create a segment
 self.line = Line2D([self.previous_point[0], x],
[self.previous_point[1], y],
marker = 'o')
 self.previous_point = [x,y]
 event.inaxes.add_line(self.line)
 self.fig.canvas.draw()

 elif event.button == 3 and self.line != None: # close the loop
 self.line.set_data([self.previous_point[0], 
 self.start_point[0]],
[self.previous_point[1], 
 self.start_point[1]])
 ax.add_line(self.line)
 self.fig.canvas.draw()
 self.line = None

 def main():
 fig = figure()
 ax = fig.add_subplot(111)
 ax.set_title( left click: line segment   left pressed: doodle
 right click: close region)
 cursor = ROI(ax, fig)
 fig.canvas.mpl_connect

Re: [Matplotlib-users] Font error

2006-08-04 Thread Charlie Moad
On 8/4/06, João Fonseca [EMAIL PROTECTED] wrote:
 I have compiled version 0.87.4 of matplotlib successfully but
 whenever I try to plot anything I get the following font error:

 RuntimeError: Could not load facefile /System/Library/Fonts/
 LucidaGrande.dfont; Unknown_File_Format. I don't think there is a
 problem with the font file, I checked this with Font Book and
 everything is ok.

 If I use axis('off') to turn off the axis, plots work fine but there
 is obviously something wrong and I can't quite work it out.

 Can anyone help?

Try deleting your ~/.matplotlib folder to clear you font cache.

- Charlie

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ImportError: No module named Numeric

2006-08-03 Thread Charlie Moad
On 8/3/06, John Hunter [EMAIL PROTECTED] wrote:
  Kenny == Kenny Ortmann [EMAIL PROTECTED] writes:

 Kenny When pylab tries to call numerix\__init__.py it is trying
 Kenny to figure out whether to call numpy, numeric, or numarray.
 Kenny Since it defaults to numeric I've tried to change the
 Kenny default to numpy, and that returned no luck.

 Find your matplotlib rc file -- it is probably in the folder

   C:\Documents and Settings\yourname\.matplotlib

 and edit it to change the numerix setting to numpy.  Eg,

   numerix  : numpy  # numpy, Numeric or numarray

Before you have to write back the latest matplotlib release only
works with numpy-0.9.8.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] TextWithDash: self._mytext AttributeError

2006-07-13 Thread Charlie Moad
On 7/13/06, John Hunter [EMAIL PROTECTED] wrote:
  Charlie == Charlie Moad [EMAIL PROTECTED] writes:

 Charlie Thanks for the note.  This is a known issue and has been
 Charlie addressed in svn.  The mplot modules have been added to
 Charlie svn and are being worked on.

 Actually, these changes are in 0.87.4, I think.

They are fixed in the matplotlib modules, but I guess I was referring
to the issue existing in mplot3d. Maybe the scipy wiki should mention
that it doesn't work with newer versions of mpl.  I don't know the
originally targeted version though.

- Charlie


-
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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ANN: matplotlib-0.87.4 (bugfix release for enthon)

2006-07-12 Thread Charlie Moad
The modules have been imported into the matplotlib repository, and
they are semi-functional.  They still need a lot of work though.
There is a new example, simple3d_oo.py.

- Charlie

On 7/11/06, imcs ee [EMAIL PROTECTED] wrote:
 what about the mplot3d. (http://www.scipy.org/Cookbook/Matplotlib/mplot3D)
 it works nice under matplotlib0.86.2
 but it can't work under matplotlib 0.87.3(with numpy or numeric).

 On 7/12/06, Charlie Moad [EMAIL PROTECTED] wrote:
  On 7/7/06, John Hunter [EMAIL PROTECTED] wrote:
  
   We'd like to do a bugfix release for the next release of enthought
   python, which will include the latest mpl.  Apparently, there is a
   problem with 0.87.3 and numpy which has been fixed in svn.
  
   If there is anything we should wait on, let us know, otherwise we'll
   probably try to roll out 0.87.4 early next week.
  
   Thanks,
   JDH
 
  http://cheeseshop.python.org/pypi/matplotlib/
  http://sourceforge.net/project/showfiles.php?group_id=80706
 
  ===
  2006-07-11 Released 0.87.4 at revision 2558
 
  2006-07-07 Fixed a usetex bug with older versions of latex - DSD
 
  2006-07-07 Add compatibility for NumPy 1.0 - TEO
 
  2006-06-29 Added a Qt4Agg backend. Thank you James Amundson - DSD
 
  2006-06-26 Fixed a usetex bug. On windows, usetex will prcess
postscript output in the current directory rather than
in a temp directory. This is due to the use of spaces
and tildes in windows paths, which cause problems with
latex. The subprocess module is no longer used. - DSD
 
  2006-06-22 Various changes to bar(), barh(), and hist().
Added 'edgecolor' keyword arg to bar() and barh().
The x and y args in barh() have been renamed to width
and bottom respectively, and their order has been swapped
to maintain a (position, value) order ala matlab. left,
height, width and bottom args can now all be scalars or
sequences. barh() now defaults to edge alignment instead
of center alignment. Added a keyword arg 'align' to bar(),
barh() and hist() that controls between edge or center bar
alignment. Fixed ignoring the rcParams['patch.facecolor']
for bar color in bar() and barh(). Fixed ignoring the
rcParams['lines.color'] for error bar color in bar()
and barh(). Fixed a bug where patches would be cleared
when error bars were plotted if rcParams['axes.hold']
was False. - MAS
 
  2006-06-22 Added support for numerix 2-D arrays as alternatives to
a sequence of (x,y) tuples for specifying paths in
collections, quiver, contour, pcolor, transforms.
Fixed contour bug involving setting limits for
color mapping.  Added numpy-style all() to numerix. - EF
 
  2006-06-20 Added custom FigureClass hook to pylab interface - see
examples/custom_figure_class.py
 
  2006-06-16 Added colormaps from gist (gist_earth, gist_stern,
gist_rainbow, gist_gray, gist_yarg, gist_heat, gist_ncar) - JW
 
  2006-06-16 Added a pointer to parent in figure canvas so you can
access the container with fig.canvas.manager.  Useful if
you want to set the window title, eg in gtk
fig.canvas.manager.window.set_title, though a GUI neutral
method would be preferable JDH
 
  2006-06-16 Fixed colorbar.py to handle indexed colors (i.e.,
norm = no_norm()) by centering each colored region
on its index. - EF
 
  2006-06-15 Added scalex and scaley to Axes.autoscale_view to support
selective autoscaling just the x or y axis, and supported
these command in plot so you can say plot(something,
scaley=False) and just the x axis will be autoscaled.
Modified axvline and axhline to support this, so for
example axvline will no longer autoscale the y axis. JDH
 
  2006-06-13 Fix so numpy updates are backward compatible - TEO
 
  2006-06-12 Updated numerix to handle numpy restructuring of
oldnumeric - TEO
 
  2006-06-12 Updated numerix.fft to handle numpy restructuring
Added ImportError to numerix.linear_algebra for numpy -TEO
 
  2006-06-11 Added quiverkey command to pylab and Axes, using
QuiverKey class in quiver.py.  Changed pylab and Axes
to use quiver2 if possible, but drop back to the
newly-renamed quiver_classic if necessary.  Modified
examples/quiver_demo.py to illustrate the new quiver
and quiverkey.  Changed LineCollection implementation
slightly to improve compatibility with PolyCollection. - EF
 
  2006-06-11 Fixed a usetex bug for windows, running latex on files
with spaces in their names or paths was failing - DSD
 
  2006-06-09 Made additions to numerix, changes to quiver to make

[Matplotlib-users] ANN: matplotlib-0.87.4 (bugfix release for enthon)

2006-07-11 Thread Charlie Moad
On 7/7/06, John Hunter [EMAIL PROTECTED] wrote:

 We'd like to do a bugfix release for the next release of enthought
 python, which will include the latest mpl.  Apparently, there is a
 problem with 0.87.3 and numpy which has been fixed in svn.

 If there is anything we should wait on, let us know, otherwise we'll
 probably try to roll out 0.87.4 early next week.

 Thanks,
 JDH

http://cheeseshop.python.org/pypi/matplotlib/
http://sourceforge.net/project/showfiles.php?group_id=80706

===
2006-07-11 Released 0.87.4 at revision 2558

2006-07-07 Fixed a usetex bug with older versions of latex - DSD

2006-07-07 Add compatibility for NumPy 1.0 - TEO

2006-06-29 Added a Qt4Agg backend. Thank you James Amundson - DSD

2006-06-26 Fixed a usetex bug. On windows, usetex will prcess
   postscript output in the current directory rather than
   in a temp directory. This is due to the use of spaces
   and tildes in windows paths, which cause problems with
   latex. The subprocess module is no longer used. - DSD

2006-06-22 Various changes to bar(), barh(), and hist().
   Added 'edgecolor' keyword arg to bar() and barh().
   The x and y args in barh() have been renamed to width
   and bottom respectively, and their order has been swapped
   to maintain a (position, value) order ala matlab. left,
   height, width and bottom args can now all be scalars or
   sequences. barh() now defaults to edge alignment instead
   of center alignment. Added a keyword arg 'align' to bar(),
   barh() and hist() that controls between edge or center bar
   alignment. Fixed ignoring the rcParams['patch.facecolor']
   for bar color in bar() and barh(). Fixed ignoring the
   rcParams['lines.color'] for error bar color in bar()
   and barh(). Fixed a bug where patches would be cleared
   when error bars were plotted if rcParams['axes.hold']
   was False. - MAS

2006-06-22 Added support for numerix 2-D arrays as alternatives to
   a sequence of (x,y) tuples for specifying paths in
   collections, quiver, contour, pcolor, transforms.
   Fixed contour bug involving setting limits for
   color mapping.  Added numpy-style all() to numerix. - EF

2006-06-20 Added custom FigureClass hook to pylab interface - see
   examples/custom_figure_class.py

2006-06-16 Added colormaps from gist (gist_earth, gist_stern,
   gist_rainbow, gist_gray, gist_yarg, gist_heat, gist_ncar) - JW

2006-06-16 Added a pointer to parent in figure canvas so you can
   access the container with fig.canvas.manager.  Useful if
   you want to set the window title, eg in gtk
   fig.canvas.manager.window.set_title, though a GUI neutral
   method would be preferable JDH

2006-06-16 Fixed colorbar.py to handle indexed colors (i.e.,
   norm = no_norm()) by centering each colored region
   on its index. - EF

2006-06-15 Added scalex and scaley to Axes.autoscale_view to support
   selective autoscaling just the x or y axis, and supported
   these command in plot so you can say plot(something,
   scaley=False) and just the x axis will be autoscaled.
   Modified axvline and axhline to support this, so for
   example axvline will no longer autoscale the y axis. JDH

2006-06-13 Fix so numpy updates are backward compatible - TEO

2006-06-12 Updated numerix to handle numpy restructuring of
   oldnumeric - TEO

2006-06-12 Updated numerix.fft to handle numpy restructuring
   Added ImportError to numerix.linear_algebra for numpy -TEO

2006-06-11 Added quiverkey command to pylab and Axes, using
   QuiverKey class in quiver.py.  Changed pylab and Axes
   to use quiver2 if possible, but drop back to the
   newly-renamed quiver_classic if necessary.  Modified
   examples/quiver_demo.py to illustrate the new quiver
   and quiverkey.  Changed LineCollection implementation
   slightly to improve compatibility with PolyCollection. - EF

2006-06-11 Fixed a usetex bug for windows, running latex on files
   with spaces in their names or paths was failing - DSD

2006-06-09 Made additions to numerix, changes to quiver to make it
   work with all numeric flavors. - EF

2006-06-09 Added quiver2 function to pylab and method to axes,
   with implementation via a Quiver class in quiver.py.
   quiver2 will replace quiver before the next release;
   it is placed alongside it initially to facilitate
   testing and transition. See also
   examples/quiver2_demo.py. - EF

2006-06-08 Minor bug fix to make ticker.py draw proper minus signs
   with usetex - DSD


-
Using Tomcat but need to do 

Re: [Matplotlib-users] Problem upgrading to 87.3

2006-07-03 Thread Charlie Moad
Sounds like you need to upgrade numpy to 0.9.8.

- Charlie

On 7/3/06, Michael J.T. O'Kelly [EMAIL PROTECTED] wrote:
 I get a mysterious problem when I try to upgrade from 87.2 to 87.3.

 At first it complained of a bad configuration file. Once that was
 corrected, though, matplotlib still crashes Python as soon as import
 pylab or import matplotlib is called. No message of any kind is passed.

 The Windows error report says the exception was in multiarray.pyd.  I
 can reinstall 87.2 and everything is fine.  Any idea what the problem
 might be?


 Thanks!

 --Michael

 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=lnkkid=120709bid=263057dat=121642
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] can't get started

2006-06-05 Thread Charlie Moad
On 6/3/06, John Hunter [EMAIL PROTECTED] wrote:
  Charlie == Charlie Moad [EMAIL PROTECTED] writes:

 Charlie On 6/2/06, David S. [EMAIL PROTECTED] wrote:
  I have just installed numpy-0.9.8, scipy-0.4.9, and
  matplotlib-0.87.2 on a Windows machine with Python 2.4.2.

 Charlie matplotlib-0.87.2 requires numpy-0.9.6.  You will get an
 Charlie error otherwise.


 This is starting to bite enough people that we should consider rolling
 out a release.  We had hope to get the 3d stuff working before the
 next release, but having a version up there that doesn't work with the
 latest numpy is a more pressing problem to me.  Does this seem like a
 good idea to you Charlie?  Are there other features or fixes that
 other developers would like to get in first?

Agreed.  I think we are tied closely enough to numpy that a minor
release is justified.  A 0.88 release doesn't seem justified yet, so I
could push a 0.87.3 barring any outstanding bugs.

- Charlie


___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users