Hi,

I assume that the interactive mode is switched of. In order to check
whether or not interactive mode is switched on/off, use the following
commands:
isinteractive() (True for interactive, False for not)

Switching the interactive mode on/off: ion() or ioff() respectively.

When the interactive mode is switched off, you need to type show() before
the figure will pop up.

Note that with IPython you also have the option to have your plots inline
(in the console, instead of as a floating window). In order to toggle
between the different ipython plot settings, use the spyder preference
dialogue:
Tools > Preferences > IPython console > Graphics > Graphics backend: switch
to inline or otherwise (I assume Qt will work fine for Ubuntu).

Note that you can find more information here:
http://matplotlib.org/users/shell.html

Best regards,
David



On 10 January 2013 18:38, Leopoldo Pena <[email protected]> wrote:

> Hi all,
>
> I'm rather newbie using spyder, but I like it a lot.
> I have run into some issues though, that I am not sure how to fix or if
> that is the expected behaviour.
>
> This are the steps to reproduce it.
>
> 1 - Clean install of Ubuntu 12.10 64bits
> 2- Using USC or apt install spyder (e.g. sudo apt-get install spyder)
> after allowing universe repositories.
> Spyder 2.1.10,
> 3- Open spyder.
> 4- Open Ipython (0.13.1) interpreter with contextual menu.
> 5- type: %pylab to start scientific environment with matplotlib. IT IS NOT
> IMPORTED on ipython by default when opening a terminal.
> 6- type:
>              a=range(10)
>              plot(a)
>
> 7- The output shows that the plot object has been generated, but nothing
> shows up on display, neither inline embebded or as a floating window.
> Out[7]: [<matplotlib.lines.Line2D at 0x32d5610>]
>
> Replicating these steps on the standard python terminal produces a
> floating figure.
>
> Any advice?
>
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/spyderlib/-/k7qQ-UZc7K4J.
> 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