Google’s colab

One can also use Google Colab notebooks. However, the following should be noted:

  1. friendly must be installed using !pip install friendly.

  2. As for Jupyter notebooks, from friendly.jupyter import * must be used.

  3. The colour support is not as good as is the case for Jupyter notebooks.

Here are some sample outputs:

_images/colab-jupyter.png _images/colab-jupyter2.png _images/colab-jupyter3.png

There is also a dark theme available.

_images/colab-dark1.png

Unfortunately, the default gives rise to some unreadable content. Switching to using the 'dark' formatter does improve the situation.

_images/colab-dark2.png

Specifying a background colour helps to blend in the result.

_images/colab-dark3.png