[matplotlib-devel] matplotlib.image.AxesImage can't work.

2007-11-29 Thread hjc520070
I just want to show a matplotlib.image.AxesImage on a figure. But It can't work properly. Can somebody help me? The code are following: when I run it , It just show a white figure. But I Set it cm.Greens .It doesn't work . Why? # -*- coding:gb2312 -*- import matplotlib matplotlib.use("WXAgg")

Re: [matplotlib-devel] matplotlib.image.AxesImage can't work.

2007-11-29 Thread John Hunter
On Nov 29, 2007 7:34 AM, hjc520070 <[EMAIL PROTECTED]> wrote: > > I just want to show a matplotlib.image.AxesImage on a figure. But It can't > work properly. Can somebody help me? The code are following: when I run it > , It just show a white figure. But I Set it cm.Greens .It doesn't work . Axes

[matplotlib-devel] Building TkAgg backend without a running X server [revisited]

2007-11-29 Thread Ludwig Schwardt
Hi, Is there any chance that the patch I submitted on 31 October on this list could still make it into 0.91.0? On an aside, what is the best way to submit patches to mpl? Via the bug-tracker, or as attached files or direct in-line in mpl-devel mails? To refresh your memory on the patch: I've re

[matplotlib-devel] Fwd: problem compiling matplotlib on AIX

2007-11-29 Thread John Hunter
Does anyone have any thoughts on this? Lila, can you provide matplotlib, gcc and AIX version/platform info? -- Forwarded message -- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Nov 29, 2007 11:49 AM Subject: problem compiling matplotlib on AIX To: [EMAIL PROTECTED] John,

Re: [matplotlib-devel] Building TkAgg backend without a running X server [revisited]

2007-11-29 Thread James Amundson
On Thu, 29 Nov 2007 18:13:39 +0200 Ludwig Schwardt <[EMAIL PROTECTED]> wrote: > I've reworked the Tcl/Tk checking code in setupext.py (see attached > patch). It is now possible to build matplotlib with Tk support without > requiring a running X server. This is useful for doing autobuilds > (e.g. a

Re: [matplotlib-devel] Building TkAgg backend without a running X server [revisited]

2007-11-29 Thread Michael Droettboom
This seems like a good idea to me, and it works for me (I can build mpl with the TkAgg extension from a console with X completely shutdown on RHEL4...). John -- does the timing for this work with you release plans? (It probably needs some testing in a bunch of different environments.) If so,

Re: [matplotlib-devel] Building TkAgg backend without a running X server [revisited]

2007-11-29 Thread John Hunter
On Nov 29, 2007 10:13 AM, Ludwig Schwardt <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any chance that the patch I submitted on 31 October on this > list could still make it into 0.91.0? 91.0 is already out, but I just committed it so it will make it in for 91.1. > On an aside, what is the best

Re: [matplotlib-devel] Building TkAgg backend without a running X server [revisited]

2007-11-29 Thread Michael Droettboom
Ah! I see you just applied it yourself, John. Consider the question answered! (And again, thanks for the patch, Ludwig.) Cheers, Mike Michael Droettboom wrote: > This seems like a good idea to me, and it works for me (I can build mpl > with the TkAgg extension from a console with X completely

[matplotlib-devel] Gtk stuff in mlab.py

2007-11-29 Thread Michael Droettboom
There are some Gtk-specific functions at the bottom of mlab.py. It tries to "import gtk" and then will either define them or not. On one of my recent profiling fests, I noticed that this "import gtk" (if gtk is installed, and running with some non-Gtk backend) accounts for between 1-2% of the

[matplotlib-devel] site docs

2007-11-29 Thread John Hunter
For the 0.91 release, I have updated the web site, which had become woefully out of date. In addition to some 91 specific things like "what's new", credits and updating a bunch of links to point to pyplot, I also cleaned out some dead wood (removed numeric and numarray references, cleaned up insta

Re: [matplotlib-devel] Building TkAgg backend without a running X server [revisited]

2007-11-29 Thread John Hunter
On Nov 29, 2007 2:14 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > This seems like a good idea to me, and it works for me (I can build mpl > with the TkAgg extension from a console with X completely shutdown on > RHEL4...). I tested in my normal X11 enabled solaris build environment and in a

Re: [matplotlib-devel] Gtk stuff in mlab.py

2007-11-29 Thread John Hunter
On Nov 29, 2007 2:30 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > There are some Gtk-specific functions at the bottom of mlab.py. It > tries to "import gtk" and then will either define them or not. Ahh, I hadn't considered import time in the try/except block. In light of this, we probably

Re: [matplotlib-devel] Fwd: problem compiling matplotlib on AIX

2007-11-29 Thread [EMAIL PROTECTED]
matplotlib-0.91.0: Added additional include paths for aix5 to setupext.py. freetype-2.3.5 because the system one was compiled old and compiled 32-bit; did have to make one patch. AIX 5.3 I'm not using gcc, because the project I'm trying to help uses an xlc-compiled Python. (I did read somewh

[matplotlib-devel] Patch: allowing non-interactive plots with axes3d

2007-11-29 Thread Ludwig Schwardt
Hi, I'm glad you liked my Tk patch! Along the same line, I patched axes3d.py to allow the creation of non-interactive 3D plots. Currently, the 3D axis object (matplotlib.axes3d.Axes3D) can only be created in an interactive session (i.e. while the figure is being displayed), as it attempts to conne

Re: [matplotlib-devel] Patch: allowing non-interactive plots with axes3d

2007-11-29 Thread John Hunter
On Nov 29, 2007 4:02 PM, Ludwig Schwardt <[EMAIL PROTECTED]> wrote: > I'm glad you liked my Tk patch! Along the same line, I patched axes3d.py to > allow the creation of non-interactive 3D plots. OK, since noone else is maintaining this package right now, what you say goes :-) Committed in r4509

Re: [matplotlib-devel] site docs

2007-11-29 Thread Darren Dale
On Thursday 29 November 2007 03:34:19 pm John Hunter wrote: > For the 0.91 release, I have updated the web site, which had become > woefully out of date. In addition to some 91 specific things like > "what's new", credits and updating a bunch of links to point to > pyplot, I also cleaned out some

Re: [matplotlib-devel] site docs

2007-11-29 Thread John Hunter
On Nov 29, 2007 4:46 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > Not to be a glory hog, but I spent a fair bit of time on backend_ps and > backend_qt*. It seems like Eric's fingerprints can be found all over > matplotlib, but I dont have a suggestion for what to add to his nugget. Great, thanks

Re: [matplotlib-devel] site docs

2007-11-29 Thread Darren Dale
On Thursday 29 November 2007 9:19:37 pm John Hunter wrote: > Great, thanks for he pointers -- in general I would like to give as > much credit as possible to everyone who has contributed, so any > omissions are merely oversight or laziness and not intentional > slights. I've made a few additions t

[matplotlib-devel] MacOSX distrubution build notes

2007-11-29 Thread Charles Moad
For reference and possible critique, I wrote up notes on how I built a Universal matplotlib dist.# Build instructions for a matplotlib distribution on OSX# Using python-2.5 package from python.org# Getting startingquaternion:mpl-build cmoad$ pwd/usr/local/src/mpl-buildquaternion:mpl-build cmoad$ ll

[matplotlib-devel] 0.91.1 posted

2007-11-29 Thread Charles Moad
I posted the 0.91.1 source and mac build. Please test it out. I held off on the announcement since I haven't built the windows binaries. I did run into several problems that stemmed from files not being mentioned in "MANIFEST.in". Some included "CXX/*.h", "ttconv/ *.h" and "se

Re: [matplotlib-devel] release plans

2007-11-29 Thread John Hunter
On Nov 29, 2007 7:45 PM, Charlie Moad <[EMAIL PROTECTED]> wrote: > So here's my plan. I just got an iMac a few weeks ago and I had to > spend a little time getting parallels setup with VS2003... yada yada > yada. I plan on cutting a 0.91.1 release tomorrow followed shortly by > windows and mac bu

Re: [matplotlib-devel] release plans

2007-11-29 Thread Charlie Moad
So here's my plan. I just got an iMac a few weeks ago and I had to spend a little time getting parallels setup with VS2003... yada yada yada. I plan on cutting a 0.91.1 release tomorrow followed shortly by windows and mac builds. Hopefully nothing radical has snuck into the svn tree since the 0.

Re: [matplotlib-devel] site docs

2007-11-29 Thread Darren Dale
On Thursday 29 November 2007 10:36:48 pm Darren Dale wrote: > On Thursday 29 November 2007 9:19:37 pm John Hunter wrote: > > Great, thanks for he pointers -- in general I would like to give as > > much credit as possible to everyone who has contributed, so any > > omissions are merely oversight or