runningbirds
runningbirds

Reputation: 6615

Showing output both with Jupyter notebook and in python interactive at same time?

I imagine this question is rather silly.

I'm using VS code and Jupyter notebooks within it. Is it possible to have the output sent to the interactive python interpreter instead/at the same time as the output beneath the Jupyter notebook cells? I tried searching, google but failed.

Upvotes: 0

Views: 114

Answers (2)

Steffen
Steffen

Reputation: 29

Just run first %matplotlib inline and change then to the backend you want to use with mpl.use(backend). I don't understand why it works, but I accidentally figured out that it works.

Upvotes: 0

henrique39
henrique39

Reputation: 197

The answer in short is unfortunately 'no'. The Interactive window can be used with the #%% magic line or using the 'Jupiter.execSelectionInteractive' command (⇧ + ↩ on Mac). However, the later is not available in a notebook, only in .py files.

Upvotes: 1

Related Questions