Using Evidently in Colab and other notebook environments.
You can generate the dashboards in Jupyter notebooks.
You can also use Google Colab, Kaggle Kernel, or Deepnote.
evidentlyin these environments, run the following command in the notebook cell:
!pip install evidently
Sometimes, you might need to explicitly add an argument to display the report inline:
show()method has the argument
modewhich can take the following options:
- auto - the default option. Ideally, you will not need to specify the value for
modeand can use the default. But if it does not work (in case we failed to determine the environment automatically), consider setting the correct value explicitly.
- nbextention - to show the UI using nbextension. Use this option to display dashboards in Jupyter notebooks (it should work automatically).
- inline - to insert the UI directly into the cell. Use this option for Google Colab, Kaggle Kernels, and Deepnote.
If you use Jupyter Lab, you won't be able to explore the reports inside a Jupyter notebook. However, the report generation in a separate HTML file will work correctly.