HELP: unable to plot simple example

Hi,

I just installed matplot and the required packages and I am having
a problem performing a simple plot. I would be grateful for any help
that I can get. I am using the default setting in the file matplotlibrc,
I tried setting ‘interactive’ to both True and False without any success.

Here is the output when running simple_plot.py

In [2]: import simple_plot
loaded rc file /home/henock/.matplotlib/matplotlibrc
matplotlib version 0.87.5
verbose.level helpful
interactive is True
platform is linux2
numerix numpy 1.0b5
font search path [’/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data’]
$HOME=/home/henock
CONFIGDIR=/home/henock/.matplotlib
loaded ttfcache file /home/henock/.matplotlib/ttffont.cache
matplotlib data path /usr/local/lib/python2.4/site-packages/matplotlib/mpl-data
backend Agg version v2.2

Am I missing something here. After the show() function is executed there is no plot
whatsoever.

Thanks,
Henock

In ipython, to run a script as if you were at the system prompt, use

run simple_plot

instead of 'import'. As long as you started ipython as

ipython -pylab

to enable the automatic matplotlib support, you should be fine (report
otherwise).

regards,

f

···

On 9/12/06, Henock Abebe <habebe@...1263...> wrote:

Hi,

I just installed matplot and the required packages and I am having
a problem performing a simple plot. I would be grateful for any help
that I can get. I am using the default setting in the file matplotlibrc,
I tried setting 'interactive' to both True and False without any success.

Here is the output when running simple_plot.py

In [2]: import simple_plot

Try a different backend. If one doesn't work, something went wrong during the
installation (it happened to me a couple of times, reinstalling from scratch
seemed to have solve the pb).