Typically, I tend to open many different figures in my scripts (20-50
at a time), and look through them one at a time after I've completed
processing data. This allows me to easily compare different sets of
data rather quickly. Ipython opens individual windows for each plot,
that are handled as individual windows by the operating system.
Spyder appears to keep the figures as children of its main window.
This prevents using operating system tricks to resize the plot windows
(maximize and tile commands). Is there an easy way to modify this
behavior in spyder so that each figure opens in a new window?
I'm using standard matplotlib commands in my scripts and get the usual
independent plot windows
import matplotlib.pyplot as plt
plt.figure()
plt.plot(...)
...
plt.show() #at end of script file
I don't know (or use) yet the spyder specific plot features.
Josef
>
> --
> You received this message because you are subscribed to the Google Groups "spyder" group.
> To post to this group, send email to spyd...@googlegroups.com.
> To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
>
>
Cheers,
Pierre
That's probably because you have disabled the "Dockable matplotlib
figures" option in the interactive console or because you are using
the external console.
> import matplotlib.pyplot as plt
> plt.figure()
> plt.plot(...)
> ...
> plt.show() #at end of script file
>
> I don't know (or use) yet the spyder specific plot features.
Actually there are no specific plotting commands: Spyder is patching
matplotlib at startup (for the interactive console only) to allow
figures to be docked in the Spyder main window GUI. So even if you
reimport matplotlib in your script the way you wrote above, you are
using the patched matplotlib (as long as you are using the interactive
console of course).
Pierre