Skip to content

Python/Jupyter

Posts on Python, Jupyter, JupyterLab

Jupyterlab – resolve error messages regarding iopub_data_rate_limit

When I worked with some ML-based text evaluation I had run across an output limit rate on the notebooks output rate: iopub_data_rate_limit : (bytes/sec) Maximum rate at which stream output can be sent on iopub before they are limited. I had changed it by a factor of 10 from the standard value in a file ~/.jupyter/jupyter_notebook_config.py in my home-directory on my Linux system. When starting Jupyterlab I get error messages of the kind: ‘iopub_data_rate_limit’ has moved from NotebookApp to ServerApp. This config will be passed… Read More »Jupyterlab – resolve error messages regarding iopub_data_rate_limit

Jupyterlab, Python3, asyncio – asynchronous tasks in a notebook background thread

Jupyterlab and IPython are always good for some surprises. Things that work in a standard Python task in Eclipse or at the prompt of a Linux shell may not work in a Python notebook within a Jupyterlab environment. One example where things behave a bit differently in Jupyterlab are asynchronous tasks. This post is about starting and stopping asynchronous tasks via the Python3 package “asyncio” in a Jupyterlab notebook. In addition we do not want to block the usage of further notebook cells despite long… Read More »Jupyterlab, Python3, asyncio – asynchronous tasks in a notebook background thread