ipykernel
ipykernel copied to clipboard
IPython Kernel for Jupyter
We are developing a Jupyter widget which makes it possible to [embed interactive Unfolded maps into notebooks](https://docs.unfolded.ai/jupyter):  Our widget is embedded via an iframe and so the communications with...
Ipython already provides support for qt6. for example running this in ipython works: ``` %gui qt6 ``` however when running the same using the ipykernel i get ``` %gui qt6...
I'm trying to plot some cropped images of my data with matplotlib, but it always showing this message after running the code cell:  **the code snippest;** ``` import matplotlib.pyplot...
The following minimal example results in the `qtconsole` restarting ``` import numpy as np remaining_parameters=[] cost_function_first = lambda x: cost_function_first(np.append(x, remaining_parameters)) cost_function_first([0.]) ``` with error message ``` Kernel died, restarting...
Upgrading from `ipykernel==6.3.1` `ipykernel==6.4.0` breaks `pythreejs` when serializing any `pythreejs.OrbitControls`. ``` ~/python/pyvista/pyvista/jupyter/pv_pythreejs.py in convert_renderer(pv_renderer) 494 ) 495 --> 496 controls = [tjs.OrbitControls(controlling=camera)] 497 498 renderer = tjs.Renderer(camera=camera, /tmp/venv/lib/python3.8/site-packages/pythreejs/controls/OrbitControls_autogen.py in __init__(self,...
Hello, just found a problem with the last version... I'm using pycharm and I'm not able to debug. Traceback (most recent call last): ``` File "C:\Program Files\JetBrains\PyCharm 2021.1.3\plugins\python\helpers-pro\jupyter_debug\pydev_jupyter_utils.py", line 64,...
It looks like the latest tags use v6.3.0, v6.3.1 ... while v was absent before. just wondering for consistency if we should duplicate those tags, and either decide to migrate...
Kernel: Python 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)] IPython version: 7.9.0 Jupyter notebook and Jupyter lab show the same behaviour. I am trying to set...
The `process_one` function [catches](https://github.com/ipython/ipykernel/blob/db5f708f66277110e4336cb4210a12d05323c564/ipykernel/kernelbase.py#L444) `asyncio.QueueEmpty`, but `msg_queue` is a tornado Queue and `get_nowait` [raises](https://github.com/tornadoweb/tornado/blob/aa9d32d5e89b290dad69e0c6655b7497ea492e45/tornado/queues.py#L272) its own [QueueEmpty](https://github.com/tornadoweb/tornado/blob/aa9d32d5e89b290dad69e0c6655b7497ea492e45/tornado/queues.py#L47) type, not the one in asyncio. This looks like it was part of...
See https://gist.github.com/mvolfik/2582939ec00120a04503507214c24105 ```python3 import contextvars, asyncio VAR = contextvars.ContextVar("VAR", default="default") async def produce_result(x): return x async def read_var(): print("Var:", VAR.get()) # The following is broken # In[3]: result = await...