{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "573aa8f4-e152-4397-8b2f-a6164c2e49d4", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "The geodata is provided by © OpenStreetMap contributors and is made available here under the Open Database License (ODbL).\n" ] }, { "data": { "text/html": [ "\n", " \n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import numpy as np\n", "from lets_plot import *\n", "from lets_plot.geo_data import *\n", "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 2, "id": "3c539dba-0ceb-4dfc-905c-e43ac89f67d3", "metadata": {}, "outputs": [], "source": [ "france = geocode_countries(['France'])\n", "germany = geocode_countries(['Germany'])" ] }, { "cell_type": "markdown", "id": "e506e977-bb39-47c1-8866-d2c5c5285ad6", "metadata": {}, "source": [ "#### Simple with scale" ] }, { "cell_type": "code", "execution_count": 3, "id": "8006b809-e715-41c2-9717-9fc129fc21b4", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " " ], "text/plain": [ "