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 mouse 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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d8f02787c28dc5fdd97b10ffffdd458c0d03951420ba74580661a04538e6c9 |
|
MD5 | f49400d16dd10cd74dff21508464fadf |
|
BLAKE2b-256 | 4bf18bf4a18bd74036ae39d0267e3e7ada75f534cb7a34314fbc5d2d2330c9ae |
Close
Hashes for jupyter_interactive-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24d7086b437a3792295f00b587f3f55b39913bd6cb9b86220e86128a138e8f6 |
|
MD5 | 380cd09e1f382863510c10178bd21011 |
|
BLAKE2b-256 | 3d94f81bee1f3a9bfe0df1e26c6ecaf231b362be1731118ae0a9e7654ec1f221 |