Skip to content

utility routines used in PySDM, PyPartMC & PyMPDATA example Jupyter notebooks

License

Notifications You must be signed in to change notification settings

open-atmos/jupyter-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

open-atmos-jupyter-utils

License: GPL v3 Github Actions Status PyPI version

Utility routines used in Jupyter notebooks in PySDM, PyMPDATA and PyPartMC projects:

  • show_plot() - a drop-in replacement for matplotlib's show() displaying the figure using vector graphics (svg) by default and offering a download-as-pdf widget just below (on Colab the widget triggers Google Drive download)
  • TemporaryFile - a class equipped with make_link_widget() method returning a click-to-download Colab-compatible widget to be display()-ed in a Jupyter notebook
  • pip_install_on_colab('package_a', 'package_b', ...) - a function handling execution of pip (and ldconfig) on Colab

public API docs are maintained at: https://open-atmos.github.io/jupyter-utils/