Skip to main content

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).
  • 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.
  • Try to make results reproducible by setting the seed for the built-in random module, NumPy, and, if available, PyTorch and Tensorflow.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_interactive-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_interactive-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_interactive-0.1.1.tar.gz.

File metadata

  • Download URL: jupyter_interactive-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-91-generic

File hashes

Hashes for jupyter_interactive-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f6b28cc7fe0df1afad66105d4c6f056b63d1e72fac130e6c76caa976c4c04fd8
MD5 a0f16bff5d70e94f64792a3d7050d710
BLAKE2b-256 ef761e4428671f6e6911b4e61257cad902ea04e87d06f2e97cb41201aba5dc8c

See more details on using hashes here.

File details

Details for the file jupyter_interactive-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jupyter_interactive-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-91-generic

File hashes

Hashes for jupyter_interactive-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a28d7d87378504aa59464a0e9a4110403675f5dfed846eea645870a810e66d19
MD5 e8037e55b10a8a33dfbe8788de25376f
BLAKE2b-256 e093289b3828e04bdca80a39be2dc98effbd497ba88bd5385ff16b44bdadc0c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page