For those who may be interested:
I plan to use mpl for some serious plotting in my programs featuring
wxPython GUIs. To get started, I've written a couple of non-trivial demos
with mpl and wxPython and posted them online (code and all).
Hmmm... The puzzling thing is that 0.91.2 works for me with the example
you provided. Can you try clearing out the installation directory
(usually /usr/lib/python2.5/site-packages/matplotlib/) and trying again?
Cheers,
Mike
Jonathan Hayward, http://JonathansCorner.com; wrote:
Thanks; will
I'm using matplotlib 0.98 together with wxpython 2.8.8.0. It would be nice
to be able to click on the legend and move it with the mouse. Is that
possible? Is there a simple way to do this? Has anyone tried this or can
someone point in the direction?
Thanks,
Soren
I deleted the matplotlib directory (there was one at the path you provided)
and reinstalled 0.91.2; the behavior was identical.
On Fri, Aug 1, 2008 at 7:49 AM, Michael Droettboom [EMAIL PROTECTED] wrote:
Hmmm... The puzzling thing is that 0.91.2 works for me with the example
you provided.
I have a PHP script which authenticates a user and I am trying to get the
PHP script to wrap a Python script using matplotlib.
As it is, the script mostly works when invoked from the command line or as
its own CGI script. When I call it from a PHP script, it doesn't produce
output, and testing
Just throwing out a suggestion here: You could try putting a
matplotlibrc file in the same directory as your Python script -- it will
use that instead of the one in ~/.matplotlib.
Cheers,
Mike
Jonathan Hayward, http://JonathansCorner.com; wrote:
I have a PHP script which authenticates a user
On Fri, 1 Aug 2008, eliben apparently wrote:
http://eli.thegreenplace.net/2008/08/01/matplotlib-with-wxpython-guis/
Cool demos: short and to the point.
Alan
PS Even though these are just short demos,
please include a software license.
Otherwise some people will hesitate to
even look at them.
Alan G Isaac wrote:
On Fri, 1 Aug 2008, eliben apparently wrote:
http://eli.thegreenplace.net/2008/08/01/matplotlib-with-wxpython-guis/
Cool demos: short and to the point.
Alan
PS Even though these are just short demos,
please include a software license.
Otherwise some people will
Tried that and reran it; I'm getting substantially the same stacktrace:
File /home/jhayward/bintmp/test.py, line 5, in module
import matplotlib;
File /usr/lib64/python2.5/site-packages/matplotlib/__init__.py, line
639, in module
rcParams = rc_params()
File
I found a reason for the behavior:
The script was running as user apache, but trying to open /root/.matplotlib,
and /root was mode 0700. It stopped crashing on import after I made /root
mode 0711.
This is somewhat surprising behavior to me; shouldn't it be defaulting to
something besides
It's supposed to default to the current user's home directory. Perhaps
apache doesn't have a home directory?
Cheers,
Mike
Jonathan Hayward, http://JonathansCorner.com; wrote:
I found a reason for the behavior:
The script was running as user apache, but trying to open
/root/.matplotlib,
On Fri, 1 Aug 2008, eliben apparently wrote:
I wouldn't imagine anyone would hesitate borrowing code
from a demo because of a lack of license.
It depends on what you mean by lack of a license.
I think what most people (myself included) would
like to see for a demo script is this file is in
Alan G Isaac wrote:
On Fri, 1 Aug 2008, eliben apparently wrote:
I wouldn't imagine anyone would hesitate borrowing code
from a demo because of a lack of license.
It depends on what you mean by lack of a license.
I think what most people (myself included) would
like to see for a
I found a reason for the behavior:
The script was running as user apache, but trying to open /root/.matplotlib,
and /root was mode 0700. It stopped crashing on import after I made /root
mode 0711.
This is somewhat surprising behavior to me; shouldn't it be defaulting to
something besides
User apache exists with home directory /var/www, which exists.
On Fri, Aug 1, 2008 at 11:59 AM, Michael Droettboom [EMAIL PROTECTED] wrote:
It's supposed to default to the current user's home directory. Perhaps
apache doesn't have a home directory?
Cheers,
Mike
Jonathan Hayward,
On Fri, 1 Aug 2008, eliben apparently wrote:
http://eli.thegreenplace.net/2006/04/13/choosing-an-open-source-license-for-my-code/
It is not the case that everything that is code needs
a common license. You may wish to read
http://www.scipy.org/License_Compatibility
Or not. ;-)
But I find
Hi all,
Does anybody know how one gets a mpl_toolkits.basemap.Basemap map to
automatically recognize when a feature has run off the end of the
longitude range, and needs to wrap around and show up on the far side
of a map having global extent? I have a bunch of linear features I'm
trying
This is getting a bit outside of my knowledge area, but it does look
like the environment variables are not being set up correctly when the
Python process is run. This is probably a more general apache/mod_php
sort of question, but it would be great to post the answer here so we
can add a
Zane Selvans wrote:
Hi all,
Does anybody know how one gets a mpl_toolkits.basemap.Basemap map to
automatically recognize when a feature has run off the end of the
longitude range, and needs to wrap around and show up on the far side
of a map having global extent? I have a bunch of
On Fri, 1 Aug 2008, eliben apparently wrote:
if you link my module into your code, you won't have to
release your code,
I read Jonathan's point as being: there is no such
linking possibility with such demo scripts.
This indeed is why I questioned the relevance of
the LGPL for such things,
20 matches
Mail list logo