Re: [Matplotlib-users] Update to Matplotlib and Numpy producing error

2008-06-02 Thread Charlie Moad
I am pretty sure setupext.py used to have these defaults coded in, but
something must have changed.  I haven't had to check default backends
in a long time.  I'll get new builds up asap.

- Charlie

On Mon, Jun 2, 2008 at 12:01 PM, John Hunter <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 2, 2008 at 10:41 AM, KURT PETERS <[EMAIL PROTECTED]> wrote:
>
>>  File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_gtk.py",
>> line 6, in 
>>import gobject
>> ImportError: No module named gobject
>
> This is a problem with our installer since the default backend we have
> set is GTKAgg (we usually set it to GTKAgg).  Fortunately, it is
> relatively easy for you to fix:.  Edit
> site-packages/matplotlib/mpl-data/matplotlib and change the 'backend :
> GTKAgg' line to
>
>  backend : TkAgg
>
> Charlie -- we will need to roll out a new binary builds which fix this
> ASAP because this will bite all the win32 users who don't have a
> custom rc, which is most of them I suspect. We'll also need to check
> the settings in the 91.3 release.  My apologies for not testing this
> as you requested (I did test on linux though).  You probably will also
> want to check the default backend for the OS X eggs too.
>
> JDH
>

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


Re: [Matplotlib-users] Update to Matplotlib and Numpy producing error

2008-06-02 Thread Charlie Moad
Thanks Darren.  The win32 binaries are updated now.  TkAgg is the
default on all of them, and the OSX binaries already had TkAgg as the
default.

- Charlie

On Mon, Jun 2, 2008 at 6:13 PM, Darren Dale <[EMAIL PROTECTED]> wrote:
> On Monday 02 June 2008 05:33:52 pm John Hunter wrote:
>> On Mon, Jun 2, 2008 at 4:32 PM, Charlie Moad <[EMAIL PROTECTED]> wrote:
>> > I am pretty sure setupext.py used to have these defaults coded in, but
>> > something must have changed.  I haven't had to check default backends
>> > in a long time.  I'll get new builds up asap.
>>
>> Darren has added a setup.cfg to configure the builds external to
>> setup.py.  You'll probably want to use it to configure the default
>> backend.
>
> When I did all that stuff, I tried to make setup.py choose the backend for the
> default matplotlibrc intelligently. It defaults to agg, but then if a gui
> toolkit is available it will use that. BUT, maybe you want to tell matplotlib
> what the default backend should be, so you can set that in setup.cfg and THAT
> setting has precedence, see the template. That feature was added specifically
> for package managers, and I hoped it would make your life easier, Charlie.
> You should be able to edit setup.cfg, set the backend there, and it will be
> propagated to the default matplotlibrc.
>

-
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] 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/OR&R(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] 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] 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/OR&R(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] 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] CocoaAgg backend seems to be broken

2008-06-23 Thread Charlie Moad
On Thu, Jun 19, 2008 at 10:35 PM, John Hunter <[EMAIL PROTECTED]> wrote:

> On Thu, Jun 19, 2008 at 9:19 PM, Charles Moad <[EMAIL PROTECTED]> wrote:
>
> > Seems like that one little fix did the trick.  I ran several examples and
> > haven't had any problems.  Committed now.
>
> Thanks Charlie!  Can you provide some basic instructions for those of
> us on osx how we can enable and test this backend?
>

I guess the two option are to set "CocoaAgg" as the default backend in your
rc config or run a script with the "-dCocoaAgg" flag.

- Charlie
-
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] 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] 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=100&url=/___
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=100&url=/___
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=100&url=/
> ___
> 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=100&url=/___
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=100&url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] MatPlotLib won't plot

2008-08-10 Thread Charlie Moad
Can you search your system and see if you have that dll installed somewhere.
 Most likely you will.  If you find it, go to the command prompt and change
to the directory where the dll is.  Then run this command:
Regsvr32 msvcp71.dll

(I don't know if your 64-bit machine uses the command Regsvr64, so try that
too)

- Charlie

On Sun, Aug 10, 2008 at 2:50 AM, Adam Getchell <[EMAIL PROTECTED]>wrote:

> Just installed matplotlib, it doesn't plot the basic plot.py:
>
> from pylab import *
> plot([1,2,3])
> show()
>
> Here's the results:
>
> C:\Projects\Python>python simple-plot.py --verbose-helpful
> $HOME=X:\
> CONFIGDIR=X:\.matplotlib
> matplotlib data path C:\Python25\lib\site-packages\matplotlib\mpl-data
> loaded rc file
> C:\Python25\lib\site-packages\matplotlib\mpl-data\matplotlibrc
> matplotlib version 0.98.3
> verbose.level helpful
> interactive is False
> units is False
> platform is win32
>
> I also get a popup window with this text:
>
> "This application has failed to start because MSVCP71.dll was not found.
> Re-installing the application may fix this problem."
>
> As far as I can tell, this is a Visual C++ library from .NET 2003.
>
> My laptop is running Windows 2008 (64-bit) with the .NET 3.0 framework.
>
> I have already removed site-packages/matplotlib and reinstalled, with
> the same results.
>
> Let me know if I should be reporting anything else not listed on:
>
> http://matplotlib.sourceforge.net/faq.html
>
> Thanks!
>
> Adam
> --
> "Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu
>
> -
> 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=100&url=/
> ___
> 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=100&url=/___
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=100&url=/
> ___
> 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=100&url=/___
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=100&url=/
> ___
> 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=100&url=/___
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=100&url=/
> ___
> 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=100&url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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  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


[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=80706&package_id=82474&release_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 cla

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

2007-02-07 Thread Charlie Moad
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.

- 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=lnk&kid=120709&bid=263057&dat=121642
___
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=lnk&kid=120709&bid=263057&dat=121642
___
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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] ANN: matplotlib-0.90.1

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

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

===
2007-06-02 Released 0.90.1 at revision 3352

2007-06-02 Display only meaningful labels when calling legend()
   without args. - NN

2007-06-02 Have errorbar follow the color cycle even if line is not plotted.
   Suppress plotting of errorbar caps for capsize=0. - NN

2007-06-02 Set markers to same alpha value as line. - NN

2007-06-02 Fix mathtext position in svg backend. - NN

2007-06-01 Deprecate Numeric and numarray for use as numerix. Props to
   Travis -- job well done. - ADS

2007-05-18 Added LaTeX unicode support. Enable with the
   'text.latex.unicode' rcParam. This requires the ucs and
   inputenc LaTeX packages. - ADS

2007-04-23 Fixed some problems with polar -- added general polygon
   clipping to clip the lines a nd grids to the polar axes.
   Added support for set_rmax to easily change the maximum
   radial grid.  Added support for polar legend - JDH

2007-04-16 Added Figure.autofmt_xdate to handle adjusting the bottom
   and rotating the tick labels for date plots when the ticks
   often overlap - JDH

2007-04-09 Beginnings of usetex support for pdf backend. -JKS

2007-04-07 Fixed legend/LineCollection bug. Added label support
   to collections. - EF

2007-04-06 Removed deprecated support for a float value as a gray-scale;
   now it must be a string, like '0.5'.  Added alpha kwarg to
   ColorConverter.to_rgba_list. - EF

2007-04-06 Fixed rotation of ellipses in pdf backend
   (sf bug #1690559) -JKS

2007-04-04 More matshow tweaks; documentation updates; new method
   set_bounds() for formatters and locators. - EF

2007-04-02 Fixed problem with imshow and matshow of integer arrays;
   fixed problems with changes to color autoscaling. - EF

2007-04-01 Made image color autoscaling work correctly with
   a tracking colorbar; norm.autoscale now scales
   unconditionally, while norm.autoscale_None changes
   only None-valued vmin, vmax. - EF

2007-03-31 Added a qt-based subplot-adjustment dialog - DSD

2007-03-30 Fixed a bug in backend_qt4, reported on mpl-dev - DSD

2007-03-26 Removed colorbar_classic from figure.py; fixed bug in
   Figure.clf() in which _axobservers was not getting
   cleared.  Modernization and cleanups. - EF

2007-03-26 Refactored some of the units support -- units now live in
   the respective x and y Axis instances.  See also
   API_CHANGES for some alterations to the conversion
   interface.  JDH

2007-03-25 Fix masked array handling in quiver.py for numpy. (Numeric
   and numarray support for masked arrays is broken in other
   ways when using quiver. I didn't pursue that.) - ADS

2007-03-23 Made font_manager.py close opened files. - JKS

2007-03-22 Made imshow default extent match matshow - EF

2007-03-22 Some more niceties for xcorr -- a maxlags option, normed
   now works for xcorr as well as axorr, usevlines is
   supported, and a zero correlation hline is added.  See
   examples/xcorr_demo.py.  Thanks Sameer for the patch.  -
   JDH

2007-03-21 Axes.vlines and Axes.hlines now create and returns a
   LineCollection, not a list of lines.  This is much faster.
   The kwarg signature has changed, so consult the docs.
   Modified Axes.errorbar which uses vlines and hlines.  See
   API_CHANGES; the return signature for these three functions
   is now different

2007-03-20 Refactored units support and added new examples - JDH

2007-03-19 Added Mike's units patch - JDH

2007-03-18 Matshow as an Axes method; test version matshow1() in
   pylab; added 'integer' Boolean kwarg to MaxNLocator
   initializer to force ticks at integer locations. - EF

2007-03-17 Preliminary support for clipping to paths agg - JDH

2007-03-17 Text.set_text() accepts anything convertible with '%s' - EF

2007-03-14 Add masked-array support to hist. - EF

2007-03-03 Change barh to take a kwargs dict and pass it to bar.
   Fixes sf bug #1669506.

2007-03-02 Add rc parameter pdf.inheritcolor, which disables all
   color-setting operations in the pdf backend. The idea is
   that you include the resulting file in another program and
   set the colors (both stroke and fill color) there, so you
   can use the same pdf file for e.g. a paper and a
   presentation and have them in the surrounding color. You
   will probably not want to draw figure and axis frames in
   that case, since they would be filled in the same color. - JKS

2007-02-26 Prevent building _wxagg.so with broken Mac OS X wxPython. - ADS

2007-02-23 Require setuptools for Python 2.3 - ADS

2007-02-22 WXAgg

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] 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]
> > > wrote:
> >
> > On 9/24/07, C M <[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
> >  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] 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 "", 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] Problems with binary install of matplotlib-0.9.1 python2.4 on windows

2007-12-03 Thread Charlie Moad
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-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] 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:
> >>  
> >>
> >>  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:
> .
> 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] 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.

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 ()
>   1 from numpy import *
>   2 from scipy import *
> > 3 from pylab import *
>   4
>   5 n=100
>
> c:\python25\Lib\site-packages\pylab.py in ()
> > 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 ()
> 290
> 291
> --> 292 from matplotlib.pyplot import *
> 293
> 294
>
> c:\python25\Lib\site-packages\matplotlib\pyplot.py in ()
>  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 
> ()
>
>   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 ()
> > 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: 
>
> ---
>
> Here is another trace trying to run ipython with "--pylab" switch:
>
> Traceback (most recent call last):
>   File "C:\Python25\scripts\ipython", line 27, in 
> 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 
>  >
> from matplotlib.pyplot import *
>   File "c:\python25\Lib\site-packages\matplotlib\pyplot.py", line 37, in 
>  >
> new_figure_manager, draw_if_interactive, show = pylab_setup()
>   File "c:\python25\Lib\site-packages\matplotlib

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] 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 "", line 1, in 
>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 
>  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 
>  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 
>  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
> 
>  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 "", line 1, in 
> 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 "", line 1, in 
> >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 
> >  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 
> >  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 
> >  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
> > 
> >  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 "", line 1, in 
> > 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] 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] 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] 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] 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/OR&R(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] 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] 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=3953&view=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 
>
> 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\matplotlib>python 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:\b

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] can't import pylab

2006-05-29 Thread Charlie Moad

The 0.87.2 release requires numpy-0.9.6.

- Charlie

On 5/29/06, Uri Nix <[EMAIL PROTECTED]> wrote:



Hi,

I'm using Python 2.4.1, numpy-0.9.8, and matplotlib-0.87.2 on a Windows
XP computer.
Problem is that any attempt to import pylab results in a crash.
Using "python -v", the culprit seems to be the following line:

#
c:\Python24\lib\site-packages\matplotlib\_transforms.pyc
matches
c:\Python24\lib\site-packages\matplotlib\_transforms.py
import matplotlib._transforms # precompiled from
c:\Python24\lib\site-packages\matplotlib\_transforms.pyc

Any ideas and solutions to this issue?

Cheers,
Uri



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
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-02 Thread Charlie Moad
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.

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


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


Re: [Matplotlib-users] Question about the data path

2006-06-02 Thread Charlie Moad
On 6/2/06, Russell E. Owen <[EMAIL PROTECTED]> wrote:
> I'm using matplotlib in an application I distribute. For Windows and Mac
> users I distribute a frozen application which includes python,
> matplotlib, etc. and I'm wondering how best to include the matplotlib
> data files.
>
> matplotlib searches for its data files in __init__._get_data_path. It
> seems to search shared locations first, then locations that would be
> relevant to a frozen application. Is that safe? I worry that if a user
> of my app has their own version of matplotlib (possibly a very different
> version than I've included) then the data files might be different.
>
> If this really is an issue, then what to do?

The only way you could have conflicting data sources is if
MATPLOTLIBDATA is defined in your environment.  If someone is capable
of setting that I am inclined to think they might know what to do in
case of an error.  If that env var is not set, then mpl looks inside
the its module.  Different installs will not see the others.  We
finally have a special case for frozen installations.  It has
primarily been made for py2exe, in which you should have a folder
called 'matplotlibdata' in your app's bundle.

> For Mac I can put the data files deep in the app in
> Contents/Frameworks/Python.Framework/2.4/share/matplotlib, which is the
> second location looked at (after environment variable MATPLOTLIBDATA).

The second location should be:
Frameworks/Python.Framework/2.4/lib/python2.4/matplotlib/mpl-data

Are you using an old version of matplotlib?

> For Windows, there doesn't seem any way out. The Windows frozen test is
> dead last.

You can remove the MATPLOTLIBDATA env var from os.environ in your code.

>
> ---
>
> Also, should I worry about the user's local matplotlibrc file (which
> again might be for the wrong version or might never have been created or
> configured at all -- the main problem I've hit so far is that the
> auto-created default of this file is always wrong about the back
> end--picking gtkagg even though I don't even build gtk support).
>
> Again, that looks difficult or impossible because the search order is
> for the usual user locations first, then look in the data directory.

In my experience with distributing apps with matplotlib, I have known
in advanced the packages I want to use.  For example, if I know I am
going to bundle Tkinter and numpy, then I make sure I have the
following before using any matplotlib commands.

import matplotlib
matplotlib.use('TkAgg')
matplotlib.rcParams['numerix'] = 'numpy'

This makes sure your app uses you desired backend modules no matter
what the global config says.

Good luck,
 Charlie


___
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


[Matplotlib-users] ANN: matplotlib-0.87.3

2006-06-07 Thread Charlie Moad
New compile to match numpy-0.9.8.
win32-py2.4 coming tomorrow morning...

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

===
2006-06-06 Released 0.87.3 at revision 2432

2006-05-30 More partial support for polygons with outline or fill,
   but not both.  Made LineCollection inherit from
   ScalarMappable. - EF

2006-05-29 Yet another revision of aspect-ratio handling. - EF

2006-05-27 Committed a patch to prevent stroking zero-width lines in
   the svg backend - DSD

2006-05-24 Fixed colorbar positioning bug identified by Helge
   Avlesen, and improved the algorithm; added a 'pad'
   kwarg to control the spacing between colorbar and
   parent axes. - EF

2006-05-23 Changed color handling so that collection initializers
   can take any mpl color arg or sequence of args; deprecated
   float as grayscale, replaced by string representation of
   float. - EF

2006-05-19 Fixed bug: plot failed if all points were masked - EF

2006-05-19 Added custom symbol option to scatter - JDH

2006-05-18 New example, multi_image.py; colorbar fixed to show
   offset text when the ScalarFormatter is used; FixedFormatter
   augmented to accept and display offset text. - EF

2006-05-14 New colorbar; old one is renamed to colorbar_classic.
   New colorbar code is in colorbar.py, with wrappers in
   figure.py and pylab.py.
   Fixed aspect-handling bug reported by Michael Mossey.
   Made backend_bases.draw_quad_mesh() run.- EF

2006-05-08 Changed handling of end ranges in contourf: replaced
   "clip-ends" kwarg with "extend".  See docstring for
   details. -EF

2006-05-08 Added axisbelow to rc - JDH

2006-05-08 If using PyGTK require version 2.2+ - SC

2006-04-19 Added compression support to PDF backend, controlled by
   new pdf.compression rc setting. - JKS

2006-04-19 Added Jouni's PDF backend

2006-04-18 Fixed a bug that caused agg to not render long lines

2006-04-16 Masked array support for pcolormesh; made pcolormesh support the
   same combinations of X,Y,C dimensions as pcolor does;
   improved (I hope) description of grid used in pcolor,
   pcolormesh. - EF

2006-04-14 Reorganized axes.py - EF

2006-04-13 Fixed a bug Ryan found using usetex with sans-serif fonts and
   exponential tick labels - DSD

2006-04-11 Refactored backend_ps and backend_agg to prevent module-level
   texmanager imports. Now these imports only occur if text.usetex
   rc setting is true - DSD

2006-04-10 Committed changes required for building mpl on win32
   platforms with visual studio.  This allows wxpython
   blitting for fast animations. - CM

2006-04-10 Fixed an off-by-one bug in Axes.change_geometry.

2006-04-10 Fixed bug in pie charts where wedge wouldn't have label in
   legend. Submitted by Simon Hildebrandt. - ADS

2006-05-06 Usetex makes temporary latex and dvi files in a temporary
   directory, rather than in the user's current working
   directory - DSD

2006-04-05 Apllied Ken's wx deprecation warning patch closing sf patch
   #1465371 - JDH

2006-04-05 Added support for the new API in the postscript backend.
   Allows values to be masked using nan's, and faster file
   creation - DSD

2006-04-05 Use python's subprocess module for usetex calls to
   external programs. subprocess catches when they exit
   abnormally so an error can be raised. - DSD

2006-04-03 Fixed the bug in which widgets would not respond to
   events.  This regressed the twinx functionality, so I
   also updated subplots_adjust to update axes that share
   an x or y with a subplot instance. - CM

2006-04-02 Moved PBox class to transforms and deleted pbox.py;
   made pylab axis command a thin wrapper for Axes.axis;
   more tweaks to aspect-ratio handling; fixed Axes.specgram
   to account for the new imshow default of unit aspect
   ratio; made contour set the Axes.dataLim. - EF

2006-03-31 Fixed the Qt "Underlying C/C++ object deleted" bug. - JRE

2006-03-31 Applied Vasily Sulatskov's Qt Navigation Toolbar enhancement. - JRE

2006-03-31 Ported Norbert's rewriting of Halldor's stineman_interp
   algorithm to make it numerix compatible and added code to
   matplotlib.mlab.  See examples/interp_demo.py - JDH

2006-03-30 Fixed a bug in aspect ratio handling; blocked potential
   crashes when panning with button 3; added axis('image')
   support. - EF

2006-03-28 More changes to aspect ratio handling; new PBox class
   in new file pbox.py to facilitate resizing and repositioning
   axes; made PolarAxes maintain unit aspect ratio. - EF

2006-03-23 Refactored TextWithDash class to inherit 

Re: [Matplotlib-users] .87.3 intall problems

2006-06-27 Thread Charlie Moad
> Charlie -- I thought we were setting the default backend to TkAgg for
> win32 installs.

and I thought that was settled by being hard coded into setup.py

# line 287
if sys.platform=='win32':
rc = dict(backend='TkAgg', numerix='Numeric')

Danny, can you try deleting your .matplotlib folder and trying again?

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


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


Re: [Matplotlib-users] wxmsw26uh_vc.dll and matplotlib 0.87

2006-07-06 Thread Charlie Moad
As you have found, the matplotlib binaries are built using the unicode
version of wxpython.  If you are not using blitting, then you can just
go in any delete the "matplotlib/backends/_wxagg.so" (.pyd for
windows) file from the installed matplotlib module.  Then the
pure-python wx backend will be used instead, and it should work fine
with both versions of wx.

- Charlie

On 7/6/06, Werner F. Bruhin <[EMAIL PROTECTED]> wrote:
> Werner F. Bruhin wrote:
>
> > Trying to py2exe the application I get an error no such file
> > "wxmsw26uh_vc.dll".
> >
> > I am on:
> > # Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
> > # wxPython 2.6.3.2, Boa Constructor 0.4.4
> >
> > Part of the changes I made inludes trying out numpy 0.8.9.
> >
> > What is this dll for and where should it be?  The name looks like it is
> > part of wxWidget but I can't seem to find it.
>
> Googling on it I found that it is included with wxPython Unicode.
>
> What is needed to tell matplotlib not to use Unicode?  Is this still
> possible with 0.87?
>
> Werner
>
> >
> >
> > Werner
> >
> >
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[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 n

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
> >
>

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

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

- Charlie

On 7/12/06, Andrew M. Bradley <[EMAIL PROTECTED]> wrote:
> Hi:
>
> I obtain the following error when saving a figure to postscript after
> running one of the test routines in mplot3d.py:
>
> >>> from numpy import *; import mpl3d.mplot3d as p3; import pylab as p
> >>> p3.test1()
> >>> p.savefig('test1')
> Traceback (most recent call last):
>   File "", line 1, in ?
>   File "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py",
> line 811, in savefig
> return fig.savefig(*args, **kwargs)
>   File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py",
> line 660, in savefig
> self.canvas.print_figure(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py",
> line 1061, in print_figure
> self.figure.draw(renderer)
>   File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py",
> line 531, in draw
> for a in self.axes: a.draw(renderer)
>   File "/usr/local/lib/python2.4/site-packages/mpl3d/mplot3d.py", line
> 714, in draw
> self.w_xaxis.draw(renderer)
>   File "/usr/local/lib/python2.4/site-packages/mpl3d/mplot3d.py", line
> 613, in draw
> tick.draw(renderer)
>   File "/usr/local/lib/python2.4/site-packages/matplotlib/axis.py",
> line 161, in draw
> if self.label1On: self.label1.draw(renderer)
>   File "/usr/local/lib/python2.4/site-packages/matplotlib/text.py",
> line 1166, in draw
> self.update_coords(renderer)
>   File "/usr/local/lib/python2.4/site-packages/mpl3d/mplot3d.py", line
> 411, in update_coords
> return text_update_coords(self, renderer)
>   File "/usr/local/lib/python2.4/site-packages/mpl3d/mplot3d.py", line
> 102, in text_update_coords
> we = self._mytext.get_window_extent(renderer=renderer)
> AttributeError: TextWithDash instance has no attribute '_mytext'
>
> I installed matplotlib-0.87.3 and mpl3d yesterday and today. After a
> bit of hunting, I noticed there are two similar definitions of
> TextWithDash in matplotlib's text.py: _TextWithDash and TextWithDash.
> Noting the underscored version defines _mytext but the underscore-free
> version does not, I switched the underscores. Now things are working
> (though perhaps I've broken something else in the process). I suspect
> the error is a product of on-going changes to matplotlib; nonetheless,
> I thought my email might be helpful to others.
>
> Andrew
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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=lnk&kid=120709&bid=263057&dat=121642
___
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=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-23 Thread Charlie Moad
This error used to come up with mingw and python2.4 builds, but now we
use Visual Studio for python2.4.  I am surprised no one else has
reported this error though?  I see you used the egg binary?  Has
anyone else use the python2.4 windows egg with success.

- Charlie

On 7/22/06, Chris Fonnesbeck <[EMAIL PROTECTED]> wrote:
> I am trying to run Matplotlib 0.87.4 on WinXP after having installed from
> the binaries posted on sourceforge. Unfortunately, when I try importing from
> pylab, I get a popup declaring:
>
> "This application has failed to start because MSVCP71.dll was not found."
>
> I usually work on Mac/Linux, so I have no idea what this means. Here is the
> traceback.
>
> Traceback (most recent call last):
>   File "", line 1, in ?
>File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\pylab.py
> ", line 1, in ?
> from matplotlib.pylab import *
>   File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
> ib\pylab.py", line 200, in ?
> from axes import Axes, PolarAxes
>   File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
> ib\axes.py", line 14, in ?
> from artist import Artist, setp
>   File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
> ib\artist.py", line 4, in ?
> from transforms import identity_transform
>   File "c:\python24\lib\site-packages\matplotlib-
> 0.87.4-py2.4-win32.egg\matplotl
> ib\transforms.py", line 215, in ?
> from _transforms import Value, Point, Interval, Bbox, Affine
>   File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
> ib\_transforms.py", line 17, in ?
> from matplotlib._ns_transforms import *
> ImportError: DLL load failed: The specified module could not be found.
>
> I have tried building matplotlib myself using mingw32, but with no success.
> Any help is most appreciated.
> --
> Chris Fonnesbeck + Atlanta, GA + http://trichech.us
> -
> 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-23 Thread Charlie Moad
The mingw/2.4 build still works.  There are instructions at the top of
the setupext.py file.  The dll linking error you are getting is
something we ran into a lot.  If you have numpy installed distutils
will use the numpy\distutils\mingw32ccompiler.py file.  In the
Mingw32CCompiler class remove all links to "msvcr71".  In my version
of numpy just comment out the whole if block at line 127.

- Charlie

On 7/23/06, Chris Fonnesbeck <[EMAIL PROTECTED]> wrote:
> On 7/23/06, Charlie Moad <[EMAIL PROTECTED]> wrote:
> > This error used to come up with mingw and python2.4 builds, but now we
> > use Visual Studio for python2.4.  I am surprised no one else has
> > reported this error though?  I see you used the egg binary?  Has
> > anyone else use the python2.4 windows egg with success.
> >
>
> Thanks, Charlie. I tried the egg binary and the exe, both with the
> same result. Does it have something to do with the numpy build that I
> am using? I definitely need to use an open source compiler, so it
> would be great to get this running.
>
> C.
>
> --
> Chris Fonnesbeck + Atlanta, GA + http://trichech.us
>

-
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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-24 Thread Charlie Moad
On 7/24/06, Christopher Barker <[EMAIL PROTECTED]> wrote:
> msvcr71.dll is a dll required for virtually every application built with
> MSVC7.1. For example, py2exe distributes it by default when it builds
> exes. However, it is so common, most systems already have it, installed
> by some other app.
>
> I'm guessing in this case, you're working with a new Windows box that
> hasn't had much installed on it yet. I don't have it booted up now, but
> I don't have much installed on my Windows box, and I have at least a
> half a dozen copies of it on my system, a few in standard system
> directories.

Not really.  I am using Visual Studio for the build in which I have
never seen or heard of this error occuring.  This was a mingw problem,
and the fix I mentioned was what we did when the builds were done with
mingw.

> For completeness, I guess that dll should be included in the egg. In the
>   meantime, search your system for it, I bet you have at least one copy.
> If not, I'll bet you can get it from MS's web site.

We got this error no matter what.  I had the file all over the place
and the mingw builds still complained.

-
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.php&p=sourceforge&CID=DEVDEV
___
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-07-24 Thread Charlie Moad
I am guessing you installed numpy1.0b1.  You need to use 0.9.8.

On 7/24/06, massimo sandal <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm trying to install a matplotlib+wxmpl app I wrote on Linux on a
> Windows XP machine.
>
> It crashes starting with the following error:
> -
> C:\Documents and Settings\Principale\Desktop\Python\Hooke>python hooke.py
> Traceback (most recent call last):
>File "hooke.py", line 12, in ?
>  import wxmpl
>File "C:\Programmi\Python23\Lib\site-packages\wxmpl.py", line 26, in ?
>  from matplotlib.axes import PolarAxes, _process_plot_var_args
>File "C:\PROGRA~1\Python23\Lib\site-packages\matplotlib\axes.py",
> line 23, in
> ?
>  from contour import ContourSet
>File "C:\PROGRA~1\Python23\Lib\site-packages\matplotlib\contour.py",
> line 18,
> in ?
>  import _contour
>File "C:\PROGRA~1\Python23\Lib\site-packages\matplotlib\_contour.py",
> line 17,
>   in ?
>  from matplotlib._ns_cntr import *
> RuntimeError: module compiled against version 90709 of C-API but this
> version of numpy is 100
> -
>
> I installed the latest sourceforge stable (not CVS/SVN) versions of
> matplotlib, numpy and wxmpl as of today.
>
> I'm quite puzzled, I guess I understand what the error is (different gcc
> versions?), but how can I get around it? Do I need to recompile
> numpy/matplotlib?
>
> m.
>
> --
> Massimo Sandal
> University of Bologna
> Department of Biochemistry "G.Moruzzi"
>
> snail mail:
> Via Irnerio 48, 40126 Bologna, Italy
>
> email:
> [EMAIL PROTECTED]
>
> tel: +39-051-2094388
> fax: +39-051-2094387
>
>
> -
> 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-24 Thread Charlie Moad
On 7/24/06, Chris Fonnesbeck <[EMAIL PROTECTED]> wrote:
> And by the way, trying to build matplotlib myself with the numpy
> binary installed, fails. It appears to be related to tkagg:
>
> src/_tkagg.cpp:28:18: tk.h: No such file or directory
> src/_tkagg.cpp:36: syntax error before `*' token
> src/_tkagg.cpp:40: `ClientData' was not declared in this scope
> src/_tkagg.cpp:40: parse error before `,' token
> src/_tkagg.cpp: In function `int PyAggImagePhoto(...)':
> src/_tkagg.cpp:43: `Tk_PhotoHandle' undeclared (first use this function)
> src/_tkagg.cpp:43: (Each undeclared identifier is reported only once for each
>function it appears in.)
> src/_tkagg.cpp:43: parse error before `;' token
> src/_tkagg.cpp:44: `Tk_PhotoImageBlock' undeclared (first use this function)
> src/_tkagg.cpp:56: `argc' undeclared (first use this function)
> src/_tkagg.cpp:57: `interp' undeclared (first use this function)
> src/_tkagg.cpp:57: `argv' undeclared (first use this function)
> src/_tkagg.cpp:58: `Tcl_AppendResult' undeclared (first use this function)
> src/_tkagg.cpp:59: `TCL_ERROR' undeclared (first use this function)
> src/_tkagg.cpp:63: `photo' undeclared (first use this function)
> src/_tkagg.cpp:63: `Tk_FindPhoto' undeclared (first use this function)
> src/_tkagg.cpp:117: `block' undeclared (first use this function)
> src/_tkagg.cpp:143: `Tk_PhotoPutBlock' undeclared (first use this function)
> src/_tkagg.cpp:153: `Tk_PhotoBlank' undeclared (first use this function)
> src/_tkagg.cpp:158: `TCL_OK' undeclared (first use this function)
> src/_tkagg.cpp: In function `PyObject* _tkinit(PyObject*, PyObject*)':
> src/_tkagg.cpp:174: `Tcl_Interp' undeclared (first use this function)
> src/_tkagg.cpp:183: parse error before `)' token
> src/_tkagg.cpp:188: `struct TkappObject' has no member named `interp'
> src/_tkagg.cpp:194: `Tcl_CmdProc' undeclared (first use this function)
> src/_tkagg.cpp:194: parse error before `)' token
> C:/MinGW/include/c++/3.2.3/bits/basic_string.tcc: At top level:
> src/_tkagg.cpp:42: warning: `int PyAggImagePhoto(...)' defined but not used
> error: Command "g++ -O2 -Wall -Iwin32_static/include/tcl84 -I. -Isrc -Iswig 
> -Iag
> g23/include -I. -I. -Iwin32_static/include/tcl84\freetype2 -I.\freetype2 
> -Isrc\f
> reetype2 -Iswig\freetype2 -Iagg23/include\freetype2 -I.\freetype2 
> -I.\freetype2
> -IC:\Python24\lib\site-packages\numpy\core\include -IC:\Python24\include 
> -IC:\Py
> thon24\PC -c src/_tkagg.cpp -o build\temp.win32-2.4\Release\src\_tkagg.o" 
> failed
>  with exit status 1
>
> However, I have Tk installed, as it comes bundled with ActiveState python.

are you running:

win32_static\profile24.bat
win32_static\importlib24.bat

-
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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-28 Thread Charlie Moad
> Is it easy to unstall one version of a module before installing
> another one.

It will just overwrite the old files, so normally you don't run into
problems.  There is no defacto way to remove the modules though.  It
is usually pretty obvious what needs to be removed from the
site-packages folder.  Sometimes it is a little more difficult.
Matplotlib installs matplotlib, pytz, dateutil, and pylab.py.

- 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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-28 Thread Charlie Moad
It looks like Travis committed a numpy 1.0 compatibility fix on July
7th.  It includes the header which addresses your error.  You will
have to use >=matplotlib-0.87.4 if you want to use the latest numpy.

- Charlie

On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> OK,
> I removed the rpms, and used a direct install of numpy-1.0b1 from the
>   tar.gz package.
>
> Then, I tried to install matplotlib-0.87 from the tar.gz package.
>
> Apparently, same problem:
>
> python setup.py build >& build.log
> [EMAIL PROTECTED] matplotlib-0.87.3]# tail build.log
> gcc: src/_ns_cntr.c
> src/_ns_cntr.c: In function 'Cntr_init':
> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> this function)
> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> only once
> src/_ns_cntr.c:1582: error: for each function it appears in.)
> src/_ns_cntr.c: In function 'Cntr_init':
> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> this function)
> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> only once
> src/_ns_cntr.c:1582: error: for each function it appears in.)
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
> -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386
> -mtune=pentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC
> -I/usr/lib/python2.4/site-packages/numpy/core/include
> -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.4 -c
> src/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
> failed with exit status 1
>
>
> On Fri, 28 Jul 2006, Charlie Moad wrote:
>
> > What version of numpy are you using, and was it installed from source
> > or package?
> >
> > On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >> Hello,
> >>   I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box
> >>
> >> The system has python-2.4 installed
> >>
> >> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
> >> been added.
> >>
> >> I am including the output of running
> >>
> >> $ python setup.py install
> >>
> >> Any help is appreciated.
> >>
> >> -Thanks,
> >>   -sen1
> >>
> >> Output of above script:
> >>
> >> /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92:
> >> DeprecationWarning: get_
> >> numpy_include is deprecated, use get_include
> >>DeprecationWarning)
> >> running install
> >> running build
> >> running build_py
> >> running build_ext
> >> building 'matplotlib._ns_cntr' extension
> >> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
> >> -Wp,-D_FORTI
> >> FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> >> -fasynchronous-unwind-
> >> tables -D_GNU_SOURCE -fPIC -fPIC
> >>
> >> compile options:
> >> '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l
> >> ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c'
> >> extra options: '-DSCIPY=1'
> >> gcc: src/_ns_cntr.c
> >> src/_ns_cntr.c: In function 'Cntr_init':
> >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> >> this functi
> >> on)
> >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> >> only once
> >> src/_ns_cntr.c:1582: error: for each function it appears in.)
> >> src/_ns_cntr.c: In function 'Cntr_init':
> >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> >> this functi
> >> on)
> >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> >> only once
> >> src/_ns_cntr.c:1582: error: for each function it appears in.)
> >> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
> >> -pipe -Wp,-D_F
> >> ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> >> -fasynchronous-unw
> >> ind-tables -D_GNU_SOURCE -fPIC -fPIC
> >> -I/usr/lib/python2.4/site-packages/numpy/co
> >> re/include -I/usr/local/include -I/usr/include
> >> -I. -I/usr/include/python2.4 -c s
> >> rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
> >> failed with
> >>   exit status 1
> >>
> >>
> >> -
> >> Take Su

Re: [Matplotlib-users] installation problem

2006-07-28 Thread Charlie Moad
What version of numpy are you using, and was it installed from source
or package?

On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello,
>   I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box
>
> The system has python-2.4 installed
>
> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
> been added.
>
> I am including the output of running
>
> $ python setup.py install
>
> Any help is appreciated.
>
> -Thanks,
>   -sen1
>
> Output of above script:
>
> /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92:
> DeprecationWarning: get_
> numpy_include is deprecated, use get_include
>DeprecationWarning)
> running install
> running build
> running build_py
> running build_ext
> building 'matplotlib._ns_cntr' extension
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
> -Wp,-D_FORTI
> FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> -fasynchronous-unwind-
> tables -D_GNU_SOURCE -fPIC -fPIC
>
> compile options:
> '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l
> ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c'
> extra options: '-DSCIPY=1'
> gcc: src/_ns_cntr.c
> src/_ns_cntr.c: In function 'Cntr_init':
> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> this functi
> on)
> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> only once
> src/_ns_cntr.c:1582: error: for each function it appears in.)
> src/_ns_cntr.c: In function 'Cntr_init':
> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
> this functi
> on)
> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
> only once
> src/_ns_cntr.c:1582: error: for each function it appears in.)
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
> -pipe -Wp,-D_F
> ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> -fasynchronous-unw
> ind-tables -D_GNU_SOURCE -fPIC -fPIC
> -I/usr/lib/python2.4/site-packages/numpy/co
> re/include -I/usr/local/include -I/usr/include
> -I. -I/usr/include/python2.4 -c s
> rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
> failed with
>   exit status 1
>
>
> -
> 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-29 Thread Charlie Moad
On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> OK, I was able to install with 0.87.4 (still no tkagg, however).

What's the error you are getting with tk?  Do you have the dev
packages installed?

> This is still with the tar.gz version of numpy-1.0b
>
> I will  try to re-install numpy from the rpms to see if that makes a
> difference.
> -sen
>
> BTW You guys are great!  I love the way you got to my questions so
> fast. Reminds me of the old redhat days (e.g. when Eric Troan, Donnie
> Barnes, Marc Ewing, etc. would answer questions on the mailing lists).

Thanks!

-
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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] installation problem

2006-07-29 Thread Charlie Moad
It can't find tk.h so it looks like you need to install the tk dev packages.

On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Here is the output of an attempt to install 0.87.4 with tkagg.
>
> It installs fine without it.
>
>
> Any ideas will be appreciated.
>
> TIA,
>   -sen
>
> compile options:
> '-I/usr/lib/python2.4/site-packages/numpy/core/include
> -I/usr/local/include -I/usr/include -I. -I/usr/local/include
> -I/usr/include -I. -I/
> usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/inc
> lude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/i
> nclude/python2.4 -c'
> extra options: '-DSCIPY=1'
> gcc: src/_ns_backend_gdk.c
> gcc -pthread -shared build/temp.linux-i686-2.4/src/_ns_backend_gdk.o
> -L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/lib -lgobject-2.0
> -lglib-2.0 -lgtk
> -x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
> -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> -o build/lib.linu
> x-i686-2.4/matplotlib/backends/_ns_backend_gdk.so
> building 'matplotlib.backends._tkagg' extension
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> -fasynchronous-un
> wind-tables -D_GNU_SOURCE -fPIC -fPIC
>
> compile options: '-I/usr/include -I/usr/include -I/usr/local/include
> -I/usr/include -I. -Isrc -Iswig -Iagg23/include
> -I. -I/usr/local/include -I/usr/includ
> e -I. -I/usr/include/freetype2 -I/usr/include/freetype2
> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
> -Isrc/freetype2 -Iswig/freety
> pe2 -Iagg23/include/freetype2 -I./freetype2
> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
> -I/usr/include/python2.4 -c'
> gcc: src/_tkagg.cpp
> src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
> src/_tkagg.cpp:36: error: ISO C++ forbids declaration of 'Tcl_Interp'
> with no type
> src/_tkagg.cpp:36: error: expected ';' before '*' token
> src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:40: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:41: error: expected primary-expression before 'int'
> src/_tkagg.cpp:41: error: expected primary-expression before 'char'
> src/_tkagg.cpp:41: error: initializer expression list treated as
> compound expression
> src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token
> src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)':
> src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:174: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:183: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:183: error: expected `;' before 'arg'
> src/_tkagg.cpp:188: error: 'struct TkappObject' has no member named
> 'interp'
> src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this
> scope
> src/_tkagg.cpp:194: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in
> this scope
> src/_tkagg.cpp:195: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'Tcl_CreateCommand' was not declared in
> this scope
> src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
> src/_tkagg.cpp:36: error: ISO C++ forbids declaration of 'Tcl_Interp'
> with no type
> src/_tkagg.cpp:36: error: expected ';' before '*' token
> src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:40: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:41: error: expected primary-expression before 'int'
> src/_tkagg.cpp:41: error: expected primary-expression before 'char'
> src/_tkagg.cpp:41: error: initializer expression list treated as
> compound expression
> src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token
> src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)':
> src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:174: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:183: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:183: error: expected `;' before 'arg'
> src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this
> scope
> src/_tkagg.cpp:194: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in
> this scope
> src/_tkagg.cpp:195: error: expected primar

Re: [Matplotlib-users] Help running matplotlib on Mac OS X

2006-07-31 Thread Charlie Moad
On 7/31/06, João Quinta da Fonseca <[EMAIL PROTECTED]> wrote:
> I'm trying to quit Matlab and use python fro my data analysis. I have
> installed the latest MacPython (universal), wxpython, aggdraw and
> matplotlib from pythonmac.org. Everything seems to work, apart from
> matplotlib. Running from ipython:
>
> In [1]: from pylab import *
> In [2]: plot([1,2,3,4])
>
> I get:
>
> Out[2]: []
>
> but nothing appears, not even an error message. I get a bouncing
> anvil (MacPython logo) on the dock but nothing happens.
> If I run python in verbose mode I get:
>
> plot([1,2,3])
> import MacOS # dynamically loaded from /Library/Frameworks/
> Python.framework/Versions/2.4/lib/python2.4/lib-dynload/MacOS.so
> []
>
> unfortunately this means nothing to me. Can anyone help? Thanks,

For non-interactive pylab, just type "show()" after your code above.
The -pylab option John mentioned is the ideal way to go though.

- 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Making the Axes Plot Area Transparent Rather than having Color

2006-08-04 Thread Charlie Moad
On 8/4/06, Richard House <[EMAIL PROTECTED]> wrote:
> I am trying to make a transparent chart and have managed to make the frame 
> area transparent using frameon(False). However I can't find out how to make 
> the plot area background on the chart transparent, without using a graphics 
> package to process the matplotlib produced image. I have searched the mailing 
> list and documentation but haven't found any information on the subject.
> Can anyone offer any advice?

gca().axesPatch.set_alpha(0.0)

-
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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Making the Axes Plot Area TransparentRatherthan having Color

2006-08-04 Thread Charlie Moad
On 8/4/06, Richard House <[EMAIL PROTECTED]> wrote:
> -Original Message-
> On Behalf Of Charlie Moad, Sent: 04 August 2006 14:34
> Subject: Re: [Matplotlib-users] Making the Axes Plot Area 
> TransparentRatherthan having Color
>
> On 8/4/06, Richard House <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> >  On Behalf Of Charlie Moad, Sent: 04 August 2006 13:59
> > Subject: Re: [Matplotlib-users] Making the Axes Plot Area Transparent
> > Ratherthan having Color
> >
> > On 8/4/06, Richard House <[EMAIL PROTECTED]> wrote:
> > > I am trying to make a transparent chart and have managed to make the 
> > > frame area transparent using frameon(False). However I can't find out how 
> > > to make the plot area background on the chart transparent, without using 
> > > a graphics package to process the matplotlib produced image. I have 
> > > searched the mailing list and documentation but haven't found any 
> > > information on the subject.
> > > Can anyone offer any advice?
> >
> > gca().axesPatch.set_alpha(0.0)
> >
> > Thanks for that Charlie. It works, but removes the axes plot area border so 
> > the x and y axes have no solid line. Is there a simple way to avoid that or 
> > do I need to plot the axes as lines?
>
> I don't think I am seeing that effect.  I am attaching my output for this:
>
> figure(frameon=False)
> plot(rand(100))
> gca().axesPatch.set_alpha(0.0)
> savefig('out.png')
>
> Thanks again Charlie. Just had a few experiments. I wonder if we are dealing 
> with difference platform/version behaviour? I was running WinXP, Python 2.4, 
> Matplotlib 0.82 and your example code did not produce transparency for me. 
> However the following code did but without the plot area border (example 
> attached):
> #!/usr/bin/env python
> from pylab import *
> fig = figure()
> fig.set_frameon(False)
> plot(rand(100))
> gca().axesPatch.set_alpha(0.0)
> savefig('transparent.png')
>
> On upgrading to 0.87.3 (0.87.4 complains about numpy versions), and running 
> this code, the png file produced does include a border, the same as in your 
> output sample. The upgraded matplotlib also produces a plot area border in my 
> own chart code, so the problem is solved.

Sounds like you got it working then.  Mpl 0.87.4 requires numpy-0.9.8.
 I think 0.87.3 requires 0.9.6, but I am starting to forget all the
number combinations.  Once numpy 1.0 is released, this mess should be
gone.

-
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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Immediate Post Installation problem

2006-08-04 Thread Charlie Moad
On 8/4/06, R. Padraic Springuel <[EMAIL PROTECTED]> wrote:
> After installing matplotlib from the Window's binaries (a process which
> goes off without a hitch), I get the following error when trying to use it:
>
> Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from pylab import *
> Traceback (most recent call last):
>File "", 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 200, in ?
>  from axes import Axes, PolarAxes
>File "C:\Python24\lib\site-packages\matplotlib\axes.py", line 15, in ?
>  from axis import XAxis, YAxis
>File "C:\Python24\lib\site-packages\matplotlib\axis.py", line 25, in ?
>  from font_manager import FontProperties
>File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
> 990, in
> ?
>  fontManager = FontManager()
>File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
> 835, in
> __init__
>  rebuild()
>File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
> 828, in
> rebuild
>  self.ttfdict = createFontDict(self.ttffiles)
>File "C:\Python24\lib\site-packages\matplotlib\font_manager.py", line
> 456, in
> createFontDict
>  warnings.warn("Cannot handle unicode filenames %s"%fpath)
>File "C:\Python24\lib\warnings.py", line 61, in warn
>  warn_explicit(message, category, filename, lineno, module, registry)
>File "C:\Python24\lib\warnings.py", line 120, in warn_explicit
>  showwarning(message, category, filename, lineno)
>File "C:\Python24\lib\warnings.py", line 127, in showwarning
>  file.write(formatwarning(message, category, filename, lineno))
>File "C:\Python24\lib\warnings.py", line 133, in formatwarning
>  s =  "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in
> position 55:
>   ordinal not in range(128)
>
> Now, while I consider myself reasonably competant at sorting out errors
> in python, I haven't a clue what this one means, let alone how to fix
> it.  Does anyone know what this means or how to fix it?

A unicode character in your font path?  Weird.  Try deleting your font
cache in your ~/.matplotlib folder.  On windows it is somewhere in
your home folder.

-
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.php&p=sourceforge&CID=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-04 Thread Charlie Moad
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

-
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.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Immediate Post Installation problem

2006-08-04 Thread Charlie Moad
On 8/4/06, R. Padraic Springuel <[EMAIL PROTECTED]> wrote:
> More information:
>
> I realized that I was 4 versions behind, the error I was seeing was in
> version 0.87
>
> However:
> Version 0.87.1 has the same error
>
> Version 0.87.2 gives the following (though it works afterwards):
> Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> from pylab import *
> C:\Python24\lib\site-packages\matplotlib\font_manager.py:456:
> UserWarning: Canno
> t handle unicode filenames
>warnings.warn("Cannot handle unicode filenames")
>  >>>
>
> Version 0.87.3 seems to work just fine (no noticeable errors).
>
> Version 0.87.4 causes a full interpreter crash with no errors (the crash
> raises one of Window's infamous "* has encountered a problem and needs
> to close.  We are sorry for the inconvenience." dialogs).

You probably have numpy-0.9.6 installed.  0.87.4 requires 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.php&p=sourceforge&CID=DEVDEV
___
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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=2583&view=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.ad

Re: [Matplotlib-users] Problems upgrading to mpl 0.87.4

2006-08-12 Thread Charlie Moad
Matplotlib didn't used to link against the wxpython c-api.  The recent
versions are linked against the unicode version of wx, not the ansi.
You can install the unicode version.  We are trying to decide how to
handle this.

- Charlie

On 8/12/06, Joaquin Abian Monux <[EMAIL PROTECTED]> wrote:
> Dear all,
> I upgraded matplotlib from 0.87.2.win32-py2.4 to 0.87.4. When trying to run
> the test program
>
> #program text.py
> import matplotlib as mpl
> mpl.use('WXAgg')
> mpl.interactive(False)
> from pylab import plot, show
> plot([1,2,3,4])
> show()
>
> double clicking on it or at the command line I got a warning from python.exe
> saying that library wxmsw26uh_vc.dll could not be found. This warning never
> appeared with vs 87.2.
> Surprisingly, after saying OK to the warning the plot is plotted.
> I searched the web and found that recently someone reported a similar
> problem with matplotlib 87.4 and this library to the enthon team. I searched
> my hard disk and I found this library in the support directory of
> wxGlade(!!!???). I put this library in the Python24 directory and the
> warning disappeared but then I got a new one:
>
> C:\>python text.py
>
> Traceback (most recent call last):
>   File "text.py", line 6, in ?
> show()
>   File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_wx.py",
> line 1
> 193, in show
> figwin.canvas.draw()
>   File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_wxagg.py",
> lin
> e 63, in draw
> self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None)
> MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the
> wx.Bitmap
>
> I have the same problem with version 87.3. The problem only appears if I
> want to use WXAgg.
> I went back to vs87.2 and everything works as expected.
>
> Could someone help me?
>
> Thanks
> Joaquin
>
> _
> ¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
> MSN Motor. http://motor.msn.es/researchcentre/
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=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-15 Thread Charlie Moad
Yes.  Trying running a script like so:

python examples/simple_plot-py -dQt4Agg

On 8/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is matplotlib compatible whith PyQt4 ?
>
> Thank you
>
> samuel
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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=lnk&kid=120709&bid=263057&dat=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-16 Thread Charlie Moad
I am not the author of it.  I just may of made the last commits to it.
 I am pretty sure Darren wrote the initial implimentatin.  The only
example that exists right now is animation_blit_qt4.py.

On 8/16/06, Samuel GARCIA <[EMAIL PROTECTED]> wrote:
>
>  I am not good enougth track and solve the problem.
>  Maybe I can be a beta tester.
>
>  I saw in svn that the author of qt4 backend is Charlie Moad.
>  And it is very young (6 weeks).
>
>  So a question for Charlie moad : do you have a example which could work on
> my debian unstable station for embedding_in_qt4.py ?
>
>  thank you
>
>  Samuel
>
>
>
>  Darren Dale wrote:
>  On Wednesday 16 August 2006 04:54, Samuel GARCIA wrote:
>
>
>  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.
> But when I comment this line :
> #from matplotlib.backends.backend_qt4agg import
> FigureCanvasQTAgg as
> FigureCanvas
> it works !
> What am I doing wrong ?
>
>  You may not be doing anything wrong. The qt4 backend is new and hasn't seen
> much use. I think you are the first to try to embed in your own qt4
> application. If you feel up to it, maybe you could try to track down the
> problem.
>
> Darren
>
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> 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=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] MSVCP71.dll required by matplotlib

2006-08-17 Thread Charlie Moad
We used to explicitly remove the link when we used mingw for the
python2.4 build.  The VS build didn't seem to suffer from the problem,
but not these reports are coming up.  I might try removing the link
again.  Otherwise I will look into including it.

- Charlie

On 8/17/06, Leandro Lameiro <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I have got this error on a very clean installation of Windows 98SE and
> matplotlib 0.87.4 / numpy 0.9.8 / official python 2.4.
>
> >>> from pylab import *
>
> The import of the numpy version of the _transforms module,
> _ns_transforms, failed.  This is is either because numpy was
> unavailable when matplotlib was compiled, because a dependency of
> _ns_transforms could not be satisfied, or because the build flag for
> this module was turned off in setup.py.  If it appears that
> _ns_transforms was not built, make sure you have a working copy of
> numpy and then re-install matplotlib. Otherwise, the following
> traceback gives more details:
>
> Traceback (most recent call last):
>   File "", line 1, in ?
> from pylab import *
>   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 200, in ?
> from axes import Axes, PolarAxes
>   File "C:\Python24\Lib\site-packages\matplotlib\axes.py",
> line 14, in ?
> from artist import Artist, setp
>   File
> "C:\Python24\Lib\site-packages\matplotlib\artist.py", line
> 4, in ?
> from transforms import identity_transform
>   File
> "C:\Python24\Lib\site-packages\matplotlib\transforms.py",
> line 215, in ?
> from _transforms import Value, Point, Interval, Bbox, Affine
>   File
> "C:\Python24\Lib\site-packages\matplotlib\_transforms.py",
> line 17, in ?
> from matplotlib._ns_transforms import *
> ImportError: DLL load failed: Não é possível encontrar um dos arquivos de
> biblioteca necessário para executar esse aplicativo.
>
> (free translation -> DLL load failed: Couldn't find one of the files of the
> library needed to run this program)
>
> I have searched for it and found this post
> http://mail.enthought.com/pipermail/enthought-dev/2006-May/001597.html,
> that seems so much like my problem, except that it is using Numeric not
> numpy.
>
> Also, i found this post
> http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg00502.html
> that could be related to my problem.
>
> So, I decided to pull this DLL from the web and throw at C:\Windows\System.
> Then, everything worked fine.
>
> This confirms Christopher Barker suspicions (
> http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg00523.html
> ) that it is a DLL not shipped with stock Windows but some other program
> would install it (that is what nobody complained about the missing DLL).
>
>  I think matplotlib should ship this DLL, as a lot of other programs do...
>
> --
> Best regards
> Leandro Lameiro
>
> Blog: http://lameiro.redirectme.net/blog
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> 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=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] python coredump when using GtkAgg mode

2006-08-18 Thread Charlie Moad

Please follow the segfault instructions and get back to us.

http://svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/SEGFAULTS?revision=2312&view=markup


On 8/18/06, assiss <[EMAIL PROTECTED]> wrote:

hi all,
I installed matplotlib and it worked very well with TkAgg/Agg. But when use
GtkAgg or Gtk, python just coredumped without any prompts.
For example, python a.py -dTkAgg, it worked. python a.py -dGtkAgg,
"Segmentation fault (core dumped)".

When running the examples with -dGtkAgg, gtk_spreadsheet.py
embedding_in_gtk.py embedding_in_gtk3.py worked, embedding_in_gtk2.py
pylab_with_gtk.py failed and coredumped without any prompts.

My system is NetBSD AMD64-3.0. With python 2.4.3, gtk+-2.8.19, pygtk-2.8.6.

Is there someting wrong with my system? Thanks for your suggestion.

assiss
2006.8.18






 抢 呀 ! 魔 兽 点 卡 1 折 啦
 1. 今 秋 5 类 色 MM 的 靓 装 2.NIKE \ 阿 迪 \ Kappa \ 李 宁 全 场 99 元 !
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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


Re: [Matplotlib-users] python coredum p when using GtkAgg mode

2006-08-19 Thread Charlie Moad
On 8/18/06, assiss <[EMAIL PROTECTED]> wrote:
> From: "Charlie Moad" <[EMAIL PROTECTED]>
> To: "assiss" <[EMAIL PROTECTED]>
> Date: Fri, 18 Aug 2006 20:20:59 +0800 (CST)
> Subject: Re: [Matplotlib-users] python coredump when using GtkAgg mode
>
> Thanks.
>
>  9 import matplotlib._image #worked
>  10 import matplotlib._transforms #worked
>  11
>  12 #one of these three depending on which numerix package you are using
>  13 import matplotlib.backends._na_backend_agg # for
> numarray, worked
>  14 import matplotlib.backends._nc_backend_agg # for
> Numeric, worked
>  15 import matplotlib.backends._ns_backend_agg # for numpy,
> failed, because I didn't install numpy.
>  16
>  17 import matplotlib.backends._tkagg #worked
>  18 import matplotlib._agg #worked

Since your error was with gtk try:

import matplotlib.backends._gtkagg

I am guessing that will fail.  You might try reinstalling gtk and
pygtk.  I doubt anyone has NetBSD to confirm your error though.

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


Re: [Matplotlib-users] 3d Plotting

2006-08-21 Thread Charlie Moad
The colors come from the current colormap.  You can go all out and
make your own colormap and color based on index using your map.  I
don't know how to do that off the top of my head though.

On 8/21/06, rich kowalczyk <[EMAIL PROTECTED]> wrote:
> I understand that 3D plotting is not fully working yet, but I have a
> question that might be answerable anyway.
>
> I can get a nice looking 3D plot of my data using
>
> surf = ax3d.plot_surface(x, y, z)
>
> but I can't control the colors used in the plot.  I can do a
>
> surf.set_array(ColorArray)
>
> and the contents of the array (ColorArray) will be translated into
> colors on the plot somehow, but the translation appears to be
> arbitrary.  Does anyone know how the translation is done, so that I
> can assign a certain color to a certain part of the plot?
>
> Thanks,
> Rich.
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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

2006-08-23 Thread Charlie Moad
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=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] get_size_inches

2006-08-29 Thread Charlie Moad
On 8/29/06, PGM <[EMAIL PROTECTED]> wrote:
> Folks,
> I've just noticed that in order to get the size of a figure in inches, one can
> use:
> >>> fig.get_size_inches()
> However, the corresponding 'set' method is
> >>>fig.set_figsize_inches()
>
> Is this intentional ? Wouldn't it be better to keep the set/get methods
> consistent ?
>
> Thx for your insight

Agreed.  fig.set_figsize seems redundant, so I am changing it to
fig.set_size_inches.  The old one will still be present, but will
issue a deprecation warning.  I'll commit these changes soon.

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


Re: [Matplotlib-users] installation

2006-09-04 Thread Charlie Moad
On 9/1/06, Kenny Ortmann <[EMAIL PROTECTED]> wrote:
> hey guys i got the subversion from the site and I am trying to install it
> on windows.
>
> I changed dir into the matplotlib dir that includes the setup.py file.
>
> run python setup.py install, and im getting a wierd error.  i left the
> topmost lines along with the error.  has anyone seen anything like this
> before?
>
> building 'matplotlib.enthought.traits.ctraits' extension
> creating build\temp.win32-2.4\Release\lib
> creating build\temp.win32-2.4\Release\lib\matplotlib
> creating build\temp.win32-2.4\Release\lib\matplotlib\enthought
> creating build\temp.win32-2.4\Release\lib\matplotlib\enthought\traits
> C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c
> /nologo /Ox
>  /MD /W3 /GX /DNDEBUG -Ic:\Python24\include -Ic:\Python24\PC
> /Tclib/matplotlib/e
> nthought/traits/ctraits.c
> /Fobuild\temp.win32-2.4\Release\lib/matplotlib/enthoug
> ht/traits/ctraits.obj
> C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe /DLL
> /nologo
>  /INCREMENTAL:NO /LIBPATH:c:\Python24\libs /LIBPATH:c:\Python24\PCBuild
> /EXPORT:
> initctraits
> build\temp.win32-2.4\Release\lib/matplotlib/enthought/traits/ctraits
> .obj /OUT:build\lib.win32-2.4\matplotlib\enthought\traits\ctraits.pyd
> /IMPLIB:bu
> ild\temp.win32-2.4\Release\lib/matplotlib/enthought/traits\ctraits.lib
> building 'matplotlib.backends._tkagg' extension
> C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c
> /nologo /Ox
>  /MD /W3 /GX /DNDEBUG -Iwin32_static/include/tcl84 -I. -Isrc -Iswig
> -Iagg23/incl
> ude -I. -I. -Iwin32_static/include/tcl84\freetype2 -I.\freetype2
> -Isrc\freetype2
>  -Iswig\freetype2 -Iagg23/include\freetype2 -I.\freetype2 -I.\freetype2
> -Ic:\Pyt
> hon24\include -Ic:\Python24\PC /Tpsrc/_tkagg.cpp
> /Fobuild\temp.win32-2.4\Release
> \src/_tkagg.obj
> _tkagg.cpp
> src\_tkagg.cpp(28) : fatal error C1083: Cannot open include file: 'tk.h':
> No suc
> h file or directory
> error: Command ""C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\bin\cl.e
> xe" /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static/include/tcl84 -I.
> -Isrc -
> Iswig -Iagg23/include -I. -I. -Iwin32_static/include/tcl84\freetype2
> -I.\freetyp
> e2 -Isrc\freetype2 -Iswig\freetype2 -Iagg23/include\freetype2
> -I.\freetype2 -I.\
> freetype2 -Ic:\Python24\include -Ic:\Python24\PC /Tpsrc/_tkagg.cpp
> /Fobuild\temp
> .win32-2.4\Release\src/_tkagg.obj" failed with exit status 2

You need to install the tcl/tk headers as Darren mentioned.  I just
install ActiveTcl and the build should pick up on it no problem.

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


[Matplotlib-users] ANN: matplotlib-0.87.5

2006-09-05 Thread Charlie Moad
Minor rev bump for numpy 1.0b5 compatibility.  This release should
remain compatible with future 1.0 releases of numpy.

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

===
2006-09-05 Released 0.87.5 at revision 2761

2006-09-04 Added nxutils for some numeric add-on extension code --
   specifically a better/more efficient inside polygon tester 
(see
   unit/inside_poly_*.py) - JDH

2006-09-04 Made bitstream fonts the rc default - JDH

2006-08-31 Fixed alpha-handling bug in ColorConverter, affecting
   collections in general and contour/contourf in
   particular. - EF

2006-08-30 ft2font.cpp: Added draw_rect_filled method (now used by mathtext2
   to draw the fraction bar) to FT2Font - ES

2006-08-29 setupext.py: wrap calls to tk.getvar() with str(). On some
   systems, getvar returns a Tcl_Obj instead of a string - DSD

2006-08-28 mathtext2.py: Sub/superscripts can now be complex (i.e.
   fractions etc.). The demo is also updated - ES

2006-08-28 font_manager.py: Added /usr/local/share/fonts to list of
   X11 font directories - DSD

2006-08-28 mahtext2.py: Initial support for complex fractions. Also,
   rendering is now completely separated from parsing. The
   sub/superscripts now work better.
   Updated the mathtext2_demo.py - ES

2006-08-27 qt backends: don't create a QApplication when backend is
   imported, do it when the FigureCanvasQt is created. Simplifies
   applications where mpl is embedded in qt. Updated
   embedding_in_qt* examples - DSD

2006-08-27 mahtext2.py: Now the fonts are searched in the OS font dir and
   in the mpl-data dir. Also env is not a dict anymore. - ES

2006-08-26 minor changes to __init__.py, mathtex2_demo.py. Added matplotlibrc
   key "mathtext.mathtext2" (removed the key "mathtext2") - ES

2006-08-21 mathtext2.py: Initial support for fractions
   Updated the mathtext2_demo.py
   _mathtext_data.py: removed "\" from the unicode dicts
   mathtext.py: Minor modification (because of _mathtext_data.py)- ES

2006-08-20 Added mathtext2.py: Replacement for mathtext.py. Supports _ ^,
   \rm, \cal etc., \sin, \cos etc., unicode, recursive nestings,
   inline math mode. The only backend currently supported is Agg
   __init__.py: added new rc params for mathtext2
   added mathtext2_demo.py example - ES

2006-08-19 Added embedding_in_qt4.py example - DSD

2006-08-11 Added scale free Ellipse patch for Agg - CM

2006-08-10 Added converters to and from julian dates to matplotlib.dates
   (num2julian and julian2num) - JDH

2006-08-08 Fixed widget locking so multiple widgets could share the
   event handling - JDH

2006-08-07 Added scale free Ellipse patch to SVG and PS - CM

2006-08-05 Re-organized imports in numerix for numpy 1.0b2 -- TEO

2006-08-04 Added draw_markers to PDF backend. - JKS

2006-08-01 Fixed a bug in postscript's rendering of dashed lines - DSD

2006-08-01 figure.py: savefig() update docstring to add support for 'format'
   argument.
   backend_cairo.py: print_figure() add support 'format' argument. - SC

2006-07-31 Don't let postscript's xpdf distiller compress images - DSD

2006-07-31 Added shallowcopy() methods to all Transformations;
   removed copy_bbox_transform and copy_bbox_transform_shallow
   from transforms.py;
   added offset_copy() function to transforms.py to
   facilitate positioning artists with offsets.
   See examples/transoffset.py. - EF

2006-07-31 Don't let postscript's xpdf distiller compress images - DSD

2006-07-29 Fixed numerix polygon bug reported by Nick Fotopoulos.
   Added inverse_numerix_xy() transform method.
   Made autoscale_view() preserve axis direction
   (e.g., increasing down).- EF

2006-07-28 Added shallow bbox copy routine for transforms -- mainly
   useful for copying transforms to apply offset to. - JDH

2006-07-28 Added resize method to FigureManager class
   for Qt and Gtk backend - CM

2006-07-28 Added subplots_adjust button to Qt backend - CM

2006-07-26 Use numerix more in collections.
   Quiver now handles masked arrays. - EF

2006-07-22 Fixed bug #1209354 - DSD

2006-07-22 make scatter() work with the kwarg "color". Closes bug
   1285750 - DSD

2006-07-20 backend_cairo.py: require pycairo 1.2.0.
   print_figure() update to output SVG using cairo.

2006-07-19 Added blitting for Qt4Agg - CM

2006-07-19 Added lasso widget and example examples/lasso_demo.py - JDH

2006-07-18 Added blitting for QtAgg backend - CM

2006-07-17 Fixed bug #1523585: skip nans in semilog plots - DSD

2006-07-12 Add support to render the scientific notation label
   over the right

Re: [Matplotlib-users] installation

2006-09-05 Thread Charlie Moad
VS2003.Net is needed to easily build the python 2.4 version. (e.g.
python setup.py build)  You can also follow the mingw instructions for
a more open-source way of building matplotlib for windows.  We still
have to do this for python 2.3.  You can supposedly download the .net
compiler tools for free, but I haven't tried.  I am pasting my
previous post since I didn't re-all.

> > In order to build mpl with visual studio it requires VS.Net 2003.
> > Python 2.5 will be a little more "open" since it requires VS2005 and
> > there is a free edition of VS2005 called "Express Edition".  Python
> > 2.3 required the version of VS before .Net.

- Charlie

On 9/5/06, Kenny Ortmann <[EMAIL PROTECTED]> wrote:
> Do i need to reinstall vs2003.net?  I do not have access to that product
> anylonger.  I tried to obtain the latest SVN and i still recieved the same
> error.  Is there a certain way you are supposed to compile mpl on windows if
> you dont use the .exe?  for instance do i have to build it first?  or
> anything like that
>
>
> - Original Message -
> From: "Charlie Moad" <[EMAIL PROTECTED]>
> To: "Kenny Ortmann" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 05, 2006 1:21 PM
> Subject: Re: [Matplotlib-users] installation
>
>
> > On 9/5/06, Kenny Ortmann <[EMAIL PROTECTED]> wrote:
> >> Hey Charlie thanks for the info.
> >>
> >> I went ahead and installed Active Tcl
> >> I removed microsft visual studio 2003 .net from my computer because I
> >> never
> >> used it, and I did not want it on here in the first place but i had it on
> >> here from being an intern over the summer.
> >
> > You can use the new mpl release from today.
> >
> > In order to build mpl with visual studio it requires VS.Net 2003.
> > Python 2.5 will be a little more "open" since it requires VS2005 and
> > there is a free edition of VS2005 called "Express Edition".  Python
> > 2.3 required the version of VS before .Net.
> >
>
>

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


Re: [Matplotlib-users] installation

2006-09-05 Thread Charlie Moad
Refer to the top of the setupext.py file.

On 9/5/06, Kenny Ortmann <[EMAIL PROTECTED]> wrote:
> Where can I find these mingw instructions?  Sorry for asking such a simple
> question but I can not seem to find them, ive googled it looked in the
> readme file and cant find them :/.
>
> - Original Message -----
> From: "Charlie Moad" <[EMAIL PROTECTED]>
> To: "Kenny Ortmann" <[EMAIL PROTECTED]>
> Cc: "matplotlib-users" 
> Sent: Tuesday, September 05, 2006 2:45 PM
> Subject: Re: [Matplotlib-users] installation
>
>
> > VS2003.Net is needed to easily build the python 2.4 version. (e.g.
> > python setup.py build)  You can also follow the mingw instructions for
> > a more open-source way of building matplotlib for windows.  We still
> > have to do this for python 2.3.  You can supposedly download the .net
> > compiler tools for free, but I haven't tried.  I am pasting my
> > previous post since I didn't re-all.
> >
> >> > In order to build mpl with visual studio it requires VS.Net 2003.
> >> > Python 2.5 will be a little more "open" since it requires VS2005 and
> >> > there is a free edition of VS2005 called "Express Edition".  Python
> >> > 2.3 required the version of VS before .Net.
> >
> > - Charlie
> >
> > On 9/5/06, Kenny Ortmann <[EMAIL PROTECTED]> wrote:
> >> Do i need to reinstall vs2003.net?  I do not have access to that product
> >> anylonger.  I tried to obtain the latest SVN and i still recieved the
> >> same
> >> error.  Is there a certain way you are supposed to compile mpl on windows
> >> if
> >> you dont use the .exe?  for instance do i have to build it first?  or
> >> anything like that
> >>
> >>
> >> - Original Message -
> >> From: "Charlie Moad" <[EMAIL PROTECTED]>
> >> To: "Kenny Ortmann" <[EMAIL PROTECTED]>
> >> Sent: Tuesday, September 05, 2006 1:21 PM
> >> Subject: Re: [Matplotlib-users] installation
> >>
> >>
> >> > On 9/5/06, Kenny Ortmann <[EMAIL PROTECTED]> wrote:
> >> >> Hey Charlie thanks for the info.
> >> >>
> >> >> I went ahead and installed Active Tcl
> >> >> I removed microsft visual studio 2003 .net from my computer because I
> >> >> never
> >> >> used it, and I did not want it on here in the first place but i had it
> >> >> on
> >> >> here from being an intern over the summer.
> >> >
> >> > You can use the new mpl release from today.
> >> >
> >> > In order to build mpl with visual studio it requires VS.Net 2003.
> >> > Python 2.5 will be a little more "open" since it requires VS2005 and
> >> > there is a free edition of VS2005 called "Express Edition".  Python
> >> > 2.3 required the version of VS before .Net.
> >> >
> >>
> >>
> >
>
>

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

2006-09-06 Thread Charlie Moad
Sorry all for the error.  I just uploaded "working" (at least for me)
versions to sourceforge again.  For those who are sicking of playing
with mirrors here is a direct download.  Don't expect this link to be
good for a long time though.

http://euclid.uits.iupui.edu/mplfiles/

- Charlie

On 9/6/06, Charlie Moad <[EMAIL PROTECTED]> wrote:
> 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=lnk&kid=120709&bid=263057&dat=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/OR&R/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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Problems with matplotlib for windows

2006-09-06 Thread Charlie Moad
Please try the latest 0.87.5 and numpy 1.0b5 and get back with us if
you still have the problem.

On 9/6/06, Davidlohr Bueso A. <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I installed matplotlib for winXP, and when I try to import pylab I get
> this error:
>
> >>> from pylab import *
>
> Traceback (most recent call last):
>   File "", line 1, in -toplevel-
> from pylab import *
>   File "C:\Python24\Lib\site-packages\pylab.py", line 1, in -toplevel-
> from matplotlib.pylab import *
>   File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 196, in
> -toplevel-
> import cm
>   File "C:\Python24\Lib\site-packages\matplotlib\cm.py", line 5, in
> -toplevel-
> import colors
>   File "C:\Python24\Lib\site-packages\matplotlib\colors.py", line 33, in
> -toplevel-
> from numerix import array, arange, take, put, Float, Int, where, \
>   File "C:\Python24\Lib\site-packages\matplotlib\numerix\__init__.py",
> line 60, in -toplevel-
> from Numeric import *
>
> I'm using matplotlib-0.87.2.win32-py2.4.exe
>
> Does anyone know what I'm doing wrong?
>
> Thanks!
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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=lnk&kid=120709&bid=263057&dat=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 *fixed*

2006-09-07 Thread Charlie Moad
Did you upgrade your numpy to 1.0b5?  This is required.

On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> I downloaded the latest version from the link (see under). With 0.87.3 our
> application worked fine, but with with 0.87.5 we get the following:
>
> Traceback (most recent call last):
>   File "C:\Python24\PanelCheck_V.1.1.0\PanelCheck.py", line 222, in ?
> import PanelCheck_GUI
>   File "C:\Python24\PanelCheck_V.1.1.0\PanelCheck_GUI.py", line 10, in ?
> from Line_Plot import *
>   File "C:\Python24\PanelCheck_V.1.1.0\Line_Plot.py", line 3, in ?
> from Plot_Setup import *
>   File "C:\Python24\PanelCheck_V.1.1.0\Plot_Setup.py", line 9, in ?
> from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as
> FigureCanvas
>   File
> "C:\Python24\Lib\site-packages\matplotlib\backends\backend_wxagg.py", line
> 21, in ?
> from matplotlib.figure import Figure
>   File "C:\Python24\Lib\site-packages\matplotlib\figure.py", line 5, in ?
> from artist import Artist
>   File "C:\Python24\Lib\site-packages\matplotlib\artist.py", line 4, in ?
> from transforms import identity_transform
>   File "C:\Python24\Lib\site-packages\matplotlib\transforms.py", line 223,
> in ?
> from _transforms import Value, Point, Interval, Bbox, Affine
>   File "C:\Python24\Lib\site-packages\matplotlib\_transforms.py", line 1,
> in ?
> import sys, numerix
>   File "C:\Python24\Lib\site-packages\matplotlib\numerix\__init__.py", line
> 145, in ?
> __import__('fft', g, l)
>   File "C:\Python24\Lib\site-packages\matplotlib\numerix\fft\__init__.py",
> line 11, in ?
> from numpy.dft.old import *
> ImportError: No module named old
>
> Thanks
> Oliver
>
>
>
>
>
> [EMAIL PROTECTED] wrote on 06.09.2006
> 21:20:39:
>
> > Sorry all for the error.  I just uploaded "working" (at least for me)
> > versions to sourceforge again.  For those who are sicking of playing
> > with mirrors here is a direct download.  Don't expect this link to be
> > good for a long time though.
> >
> > http://euclid.uits.iupui.edu/mplfiles/
> >
> > - Charlie
> >
> > On 9/6/06, Charlie Moad <[EMAIL PROTECTED]> wrote:
> > > 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
> > > > >>
> > > > >
> > > &g

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


  1   2   >