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
> based on that plot, and then creates another plot that displays the chosen
> set of information.
>
> If the choices are made with a qt or wx dialogue, 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.

I attached a script that allows to input a number via "raw_input" (after the 
first figure appeared) and than opens up a second figure. I hope the goes 
towards your needs.

Kind regards,
Matthias

Attachment: let_a_plot_appear.py
Description: application/python

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to