Closed ghost closed 4 years ago
You don't really need to use q.show()
in your Notebook.
In order to use PyQ in a Jupyter notebook, you need to install pyq-kernel. See https://pypi.python.org/pypi/pyq-kernel.
Installation instructions are:
pip install pyq-kernel
pyq -m pyq.kernel install
Then you will need to either create new notebook with PyQ X kernel (where X is 2 for Python 2, or 3 for Python 3).
In addition, you can enable show
in q sells by redirecting q stdout to the notebook:
I am reopening this issue to clarify that the reported behavior affects q('show')
and q.show()
, but not the .show()
method of K
objects:
I do recall thinking about making q.show
the same as K.show
, but I don't remember the reasons for the decision to keep q.show
equivalent to q('show')
rather than treating it as a special case.
Stale issue message
Using
q.show
in jupyter notebook outputs the value to the command prompt jupyter notebook is started from but doesn't output to the console in the browser, it just shows : :