{ "cells": [ { "cell_type": "markdown", "id": "978283e4-0431-47ba-9d3f-25e3ae3d8726", "metadata": {}, "source": [ "## `BW` tiles for `geom_livemap()`\n", "This theme is designed to be used for papers - it is a high contrast greyscale theme, also it draws roads and streets starting from zoom=13." ] }, { "cell_type": "code", "execution_count": 1, "id": "6d81eebe-0411-46e4-8277-6097eb635b74", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "
\n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "from lets_plot import *\n", "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 2, "id": "7b907068-2d7a-42f9-a51e-958d8d366f14", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " " ], "text/plain": [ "" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from lets_plot import tilesets\n", "ggplot() + geom_livemap(\n", " tiles=tilesets.LETS_PLOT_BW,\n", " location=[-71.106385, 42.375922],\n", " zoom=13\n", ")" ] } ], "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.8.18" } }, "nbformat": 4, "nbformat_minor": 5 }