{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "a181905e-ddbd-416e-8e10-20210d57f4bd", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " \n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "from lets_plot import *\n", "LetsPlot.setup_html()\n", "\n", "from lets_plot.plot.coord import coord_polar" ] }, { "cell_type": "code", "execution_count": 2, "id": "bd55dece-a599-4a1e-939e-3779c4a0adfc", "metadata": {}, "outputs": [], "source": [ "hours = list(map(lambda v: '{:02d}:00'.format(v), range(12)))\n", "p = ggplot() \\\n", " + geom_point(aes(x=hours)) \\\n", " + theme_grey()" ] }, { "cell_type": "markdown", "id": "afd30d53-4a7a-46f7-9394-233e7be0441c", "metadata": {}, "source": [ "# Linear coordinate system \n", "In linear coordinate systems `inset` acts as a margin, moving the panel boundaries within the plot:" ] }, { "cell_type": "code", "execution_count": 3, "id": "75f5e483-d09c-4ab5-9431-591e5d74b7d8", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " " ], "text/plain": [ "