diff --git a/notebooks/examples.ipynb b/notebooks/examples.ipynb index 58c73b5..59d43cb 100644 --- a/notebooks/examples.ipynb +++ b/notebooks/examples.ipynb @@ -8,7 +8,7 @@ "\n", "A minimal Python library to draw customized maps from [OpenStreetMap](https://www.openstreetmap.org/#map=12/11.0733/106.3078) created using the [osmnx](https://github.com/gboeing/osmnx), [matplotlib](https://matplotlib.org/), [shapely](https://shapely.readthedocs.io/en/stable/index.html) and [vsketch](https://github.com/abey79/vsketch) packages.\n", "\n", - "![](../prints/heerhugowaard.png)\n", + "![](https://github.com/marceloprates/prettymaps/raw/main/prints/heerhugowaard.png)\n", "\n", "\n", "This work is [licensed](LICENSE) under a GNU Affero General Public License v3.0 (you can make commercial use, distribute and modify this project, but must **disclose** the source code with the license and copyright notice)\n", @@ -23,7 +23,7 @@ "Buy Me a Coffee at ko-fi.com\n", "\n", "## As seen on [Hacker News](https://web.archive.org/web/20210825160918/https://news.ycombinator.com/news):\n", - "![](../prints/hackernews-prettymaps.png)\n", + "![](https://github.com/marceloprates/prettymaps/raw/main/prints/hackernews-prettymaps.png)\n", "\n", "## [prettymaps subreddit](https://www.reddit.com/r/prettymaps_/)\n", "## [Google Colaboratory Demo](https://colab.research.google.com/github/marceloprates/prettymaps/blob/master/notebooks/examples.ipynb)" @@ -33,20 +33,38 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# Installation" + "# Installation\n", + "\n", + "OBS. I'm trying to solve a dependency issue with [vsketch](https://vsketch.readthedocs.io/en/latest/install.html) before publishing prettymaps v0.1.3, so, for now, please install directly from GitHub." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ + "### Install locally:\n", "Install prettymaps with:\n", "\n", "```\n", - "pip install prettymaps\n", + "git+https://github.com/marceloprates/prettymaps\n", "```" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Install on Google Colaboratory:\n", + "\n", + "Install prettymaps with:\n", + "\n", + "```\n", + "!pip install -e \"git+https://github.com/marceloprates/prettymaps#egg=prettymaps\"\n", + "```\n", + "\n", + "Then **restart the runtime** (Runtime -> Restart Runtime) before importing prettymaps" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -1549,7 +1567,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.6" + "version": "3.10.6 (main, Oct 7 2022, 20:19:58) [GCC 11.2.0]" }, "orig_nbformat": 4, "vscode": {