Skip to content
Advertisement

Interractive plots Ipython 5.0.0 in the terminal

I run Ipthon in the terminal, in linux (not a jupyter notebook).

In Ipython 2.4.1, the following commands opens a pop up interactive Tk plot window:

JavaScript

In Ipython 5.0.0, when I use the same code:

JavaScript

nothing appears. How do I get my poping up interractive plot in Iptyhon 5.0.0?

Advertisement

Answer

From your output with ipython using TkAgg i.e. tk (python-tk) as backend.

Using matplotlib backend: TkAgg

But with ipython3, it is agg

Using matplotlib backend: agg

I try with ipython3 and TkAgg backend it’s working just fine as ipython. You may need to install python3-tk to use TkAgg with matplotlib

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement