Re: [Matplotlib-users] Is there a way to create a plot and call show() so as not to use the main Qt loop?

2012-11-22 Thread Goyo
2012/11/4 Brickle Macho bricklema...@gmail.com: [...] When I show() a plot form within a Qt application I get the following message printed on the console: QCoreApplication::exec: The event loop is already running I think I understand the error, obviously the application I calling form

Re: [Matplotlib-users] Is there a way to create a plot and call show() so as not to use the main Qt loop?

2012-11-21 Thread Bob Kestner
This may help you if I understand your basic problem. I use a lot of interactive plots. This is an example of the work around to show() that I use: import matplotlib.pyplot as plt plt.ion() fig = plt.figure(figsize=(10,8)) ax = fig.add_axes([.15,.1,.8,.65]) ax.plot([1,2,3]) ax.set_title('Fisrt

[Matplotlib-users] Is there a way to create a plot and call show() so as not to use the main Qt loop?

2012-11-04 Thread Brickle Macho
In an Qt application I am extending, I display a list of thumbnails, selecting a thumbnail opens a plot window with the source of the thumbnail. I a newbie at all this but did manage to write a simple widget which embedded a matplotlib FigureCanvas. It appears that I also need to code the