{ "cells": [ { "cell_type": "markdown", "id": "0", "metadata": {}, "source": [ "# Some Labs in Toulouse" ] }, { "cell_type": "markdown", "id": "1", "metadata": {}, "source": [ "## Solace" ] }, { "cell_type": "markdown", "id": "2", "metadata": {}, "source": [ "The `SolaceMap` class automatically builds a LabMap based on https://solace.cnrs.fr/people.html" ] }, { "cell_type": "code", "execution_count": null, "id": "3", "metadata": {}, "outputs": [], "source": [ "from gismap.lab_examples.toulouse import SolaceMap as Solace\n", "\n", "solace = Solace(dbs=\"hal\")\n", "solace.update_authors()\n", "solace.update_publis()\n", "solace.expand()\n", "solace.show_html()" ] }, { "cell_type": "markdown", "id": "4", "metadata": {}, "source": [ "## Laas" ] }, { "cell_type": "markdown", "id": "5", "metadata": {}, "source": [ "The `LaasMap` class automatically builds a Map for a Laas team. It defaults to *Sara* but any team should work." ] }, { "cell_type": "code", "execution_count": null, "id": "6", "metadata": {}, "outputs": [], "source": [ "from gismap.lab_examples.toulouse import LaasMap as Laas\n", "\n", "trust = Laas(\"trust\", dbs=\"hal\")\n", "trust.update_authors()\n", "trust.update_publis()\n", "trust.expand()\n", "trust.show_html()" ] }, { "cell_type": "markdown", "id": "7", "metadata": {}, "source": [ "You can also build the full Laas graph if you want." ] }, { "cell_type": "markdown", "id": "8", "metadata": {}, "source": [ ":::warning\n", "A very large map is displayed below. Expect a lag in display.\n", ":::" ] }, { "cell_type": "code", "execution_count": null, "id": "9", "metadata": {}, "outputs": [], "source": [ "from gismap.lab_examples.toulouse import LaasFull\n", "\n", "laas = LaasFull(dbs=\"hal\")\n", "laas.update_authors()\n", "laas.update_publis()\n", "laas.show_html()" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.8" } }, "nbformat": 4, "nbformat_minor": 5 }