qtconsole icon indicating copy to clipboard operation
qtconsole copied to clipboard

%qtconsole seems to be incompatible with %matplotlib notebook

Open dereky42 opened this issue 6 years ago • 4 comments

Since upgrading to python 3.7, figures fail to appear if I use both %qtconsole and %matplotlib notebook. I get a lot of No such comm warnings. Either magic command alone works okay.

I created a fresh install and environment:

conda create -n envname python=3.7 numpy pandas seaborn scikit-learn scikit-image scipy statsmodels notebook qtconsole

I can open the console without breaking the plotting if I start the console from the command line.

jupyter console --existing kernel-xxxx-xxxx-xxxx.json

I've also tried python=3.6 and notebook=5.7.8, same issue.

My versions: MacOSX 10.14.6 Anaconda distribution for Python 3.7 python 3.7.4 notebook 6.0.0 qtconsole 4.5.4

dereky42 avatar Sep 07 '19 05:09 dereky42

I get a lot of No such comm warnings

Maybe this problem is caused by the introduction of comms to qtconsole. Please downgrade to qtconsole 4.4.4 and try again.

ccordoba12 avatar Sep 07 '19 09:09 ccordoba12

Hi Carlos,

Downgrading to 4.4.4 seems to have fixed the problem. Thanks for the quick reply!

Should I close this issue, or does it point to something else that needs to be addressed?

Derek

dereky42 avatar Sep 07 '19 17:09 dereky42

Please don't close it. We need to address this problem.

@impact27, could you take a look at this one?

ccordoba12 avatar Sep 07 '19 18:09 ccordoba12

I get a lot of No such comm warnings

Maybe this problem is caused by the introduction of comms to qtconsole. Please downgrade to qtconsole 4.4.4 and try again.

There are Comms but they are not actually used in qtconsole. The only thing that is done is to create a CommManager that can be used to create comms. I don't think this is related but I don't really know jupyter notebooks.

impact27 avatar Sep 08 '19 17:09 impact27