Hi David,

As Carlos mentioned, this feature was implemented in Spyder v1 in
which the interactive Python interpreter was running exclusively in
Spyder's process/thread (this old interpreter is equivalent to the
current "Internal console" which is dedicated to Spyder internal
debugging). This design was not safe as a hard crash in the
interpreter was freezing the whole Spyder GUI. But the advantage of
this design was the fact that (with a little hack) it was possible to
show matplotlib figures directly in Spyder's main window, as
dockwidgets similar to any other Spyder plugin.

Since v2, Spyder has a safe design using exclusively external Python
processes: when the interpreter crashes, Spyder's GUI is still
responding and the crashed console window is simply shown as
terminated.

Now, even with Spyder v2, we could re-implement this feature by
writing a custom Matplotlib backend which would communicate with
Spyder's process to send figures as .svg images or .png images for the
Spyder GUI to show them as native dockwidgets. If anyone is interested
by coding this feature, I think that one way to investigate this
further would be to get inspiration from the work of the IPython team
with their inline Qt backend which does almost exactly what I've just
explained.

Cheers,
Pierre

2012/5/14 Carlos Córdoba <[email protected]>:
> Hi David,
>
> It could do that in version 1 but it was deactivated in version 2 because (I
> think) it made Spyder unstable.
>
> Cheers,
> Carlos
>
> El 13/05/12 23:29, David escribió:
>
>> I like it when the plots show up in some segment of the main window
>> rather than openning a second window that easily gets lost behind
>> others. Can Spyder do this?
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/spyderlib?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to