From f72d77723ba9cd25de5fdc30e863ba6713a052ba Mon Sep 17 00:00:00 2001 From: Philipp Schlegel Date: Mon, 26 Aug 2024 22:29:29 +0100 Subject: [PATCH] add notebook to test navis on Google collaboratory --- material/navis/navis_on_colab.ipynb | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 material/navis/navis_on_colab.ipynb diff --git a/material/navis/navis_on_colab.ipynb b/material/navis/navis_on_colab.ipynb new file mode 100644 index 0000000..7b271ef --- /dev/null +++ b/material/navis/navis_on_colab.ipynb @@ -0,0 +1,41 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Using `Navis` on Google Collaboratory is super straight forward:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# First we need to install the navis package\n", + "!pip install navis -U" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Import and run some test code\n", + "import navis\n", + "\n", + "nl = navis.example_neurons(3, kind='skeleton')\n", + "nl" + ] + } + ], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +}