Re: [Matplotlib-users] Strange import error

2010-03-27 Thread Ken Dere
Hi, thanks for the suggestion. They do have multiple versions but I checked that everything is using 2.5 regards, Ken Dere Rune V. Sjøen wrote: > Hi, > > Does the box have multiple python versions installed, and are you sure > that apache is using the > same version and/or s

[Matplotlib-users] Strange import error

2010-03-26 Thread Ken Dere
Hi, I am trying to import pylab into an application running under an Apache wsgi server. The error I get is that if it tries to import matplotlib.cbook. The application can import numpy, scipy etc just fine. the error message is that matplotlib has no module cbook. I can import matplotlib OK

Re: [Matplotlib-users] forcing a plot to appear

2010-02-16 Thread Ken Dere
Matthias Michler wrote: > Hi Ken, > > On Monday 15 February 2010 20:35:06 Ken Dere wrote: >> Hi, >> >> I am trying to develop an application that I can run inside the ipython >> shell. One of my methods creates a plot, asks the user to make a choice >&g

[Matplotlib-users] forcing a plot to appear

2010-02-15 Thread Ken Dere
, everything goes fine. If I try to get the choice by asking the user to type the information into the shell, neither plot appears until after the choice is made. I have tried show() and draw() but neither make any difference. thanks for any help Ken Dere

[Matplotlib-users] getting a subregion with the cursor

2008-07-16 Thread Ken Dere
I would like to be able to call something like: > sub = getSub(myImage) and then click my cursor on two places in an image and have that subregion returned as sub. I would also like to be able to do this with a single statement rather doing z=connect('button_press_event',getSub). Seems like s