{ "cells": [ { "cell_type": "markdown", "id": "c4c21432", "metadata": {}, "source": [ "## Support for marker rotation" ] }, { "cell_type": "code", "execution_count": 1, "id": "96f6596f", "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "from lets_plot import *" ] }, { "cell_type": "code", "execution_count": 2, "id": "09704322", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " \n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 3, "id": "7ccad20f", "metadata": {}, "outputs": [], "source": [ "data = {\n", " 'x': [1, 2, 3, 4],\n", " 'y': [1, 1, 1, 1],\n", " 'angle': [-30, 0, 30, 60]\n", "}" ] }, { "cell_type": "code", "execution_count": 4, "id": "4bddfeb1", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " " ], "text/plain": [ "| \n", " | state | \n", "found name | \n", "geometry | \n", "
|---|---|---|---|
| 0 | \n", "CA | \n", "California | \n", "MULTIPOLYGON (((-124.32694 40.61620, -124.3118... | \n", "