Initialise a Jupyter notebook with useful extensions and reasonable defaults
Project description
jupyter-interactive
Initialise a Jupyter notebook with useful extensions and reasonable defaults.
Usage
%load_ext jupyter_interactive
Features
- Enable autoimport of missing modules.
- Enable the
%autoreload
keyword to reload all modules in the current session. - Enable the
%%R
and%%coconut
magic to execute specific cells using R and Coconut. - Configure plot output formatting:
- Display Matplotlib plots as interactive, resizable widgets (using
ipympl
). - Display Matplotlib plots at a higher resolution.
- Zoom in and out of Plotly figures using the mosue scroll wheel and/or two-finger scrolling.
- Download Plotly figures at their currently rendered size.
- Ensure that dragging Plotly figures results in panning (rather than zooming).
- Display Matplotlib plots as interactive, resizable widgets (using
- Configure the output formatting of dataframes:
- Display dataframes as interactive HTML tables (using
itables
). - Increase the table size limit to 8 MiB.
- Adjust default colours for better contrast.
- Display cell contents in a monospace font.
- Extend the range of available table lengths.
- Make Polars dataframes output Markdown when printed.
- Show all dataframe columns, even if there are many of them.
- Display dataframes as interactive HTML tables (using
- Try to make results reproducible by setting the seed for the built-in
random
module, NumPy, and, if available, PyTorch and Tensorflow.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for jupyter_interactive-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd7166e2aff81bd9376557ec7e8351d06738b8f9d748e5f0d9c59c4c4d72cdc1 |
|
MD5 | 8a5e534eec0f23094dac6463e3624f87 |
|
BLAKE2b-256 | d35440f85bdd177e469f61c84d49ccf06add20a20542a1e6c880137d43631606 |
Close
Hashes for jupyter_interactive-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcf6e0474447f742110b3c5d6263d6b961a9663bff54446d0b9939f368571afb |
|
MD5 | 9de84615a9b89760e6b2154052215841 |
|
BLAKE2b-256 | 14466912d73cc3a707ac2d6c633fb27367adbea5cad987fbf5c053bd3a0920d5 |