{
"cells": [
{
"cell_type": "markdown",
"id": "b688f244-c275-48fa-a578-21f84a87e384",
"metadata": {},
"source": [
"# Markdown Support\n",
"Markdown can be used in titles only and is disabled by default. To enable it, set `element_markdown()` for the appropriate element in `theme()`.\n",
"\n",
"Currently supported features:\n",
"\n",
"- Emphasis (`*`, `**`, `***`, `_`, `__`, `___`)\n",
"- Coloring with inline style (`text`)\n",
"- Links with anchor tags (`Lets-Plot`)\n",
"- Multiple lines using double space and a newline delimiter (` \\n`)\n",
"\n",
"Not supported features:\n",
"\n",
"- Tag `
` for line splitting\n",
"- Links styling\n",
"- Links with Markdown syntax (`[Lets-Plot](https://lets-plot.org)`)"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "8f15dd53-32d7-402b-8d4e-d6f3267f3227",
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import pandas as pd\n",
"\n",
"from lets_plot import *"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "d6d30a4f-4a19-4f3f-8593-46d690ebbfa6",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
" \n",
" \n",
" "
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"LetsPlot.setup_html()"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "62e90f3c-3feb-4111-a8d0-b7b8669fc3aa",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(234, 11)\n"
]
},
{
"data": {
"text/html": [
"
| \n", " | manufacturer | \n", "model | \n", "displ | \n", "year | \n", "cyl | \n", "trans | \n", "drv | \n", "cty | \n", "hwy | \n", "fl | \n", "class | \n", "
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", "audi | \n", "a4 | \n", "1.8 | \n", "1999 | \n", "4 | \n", "auto(l5) | \n", "f | \n", "18 | \n", "29 | \n", "p | \n", "compact | \n", "
| 1 | \n", "audi | \n", "a4 | \n", "1.8 | \n", "1999 | \n", "4 | \n", "manual(m5) | \n", "f | \n", "21 | \n", "29 | \n", "p | \n", "compact | \n", "
| 2 | \n", "audi | \n", "a4 | \n", "2.0 | \n", "2008 | \n", "4 | \n", "manual(m6) | \n", "f | \n", "20 | \n", "31 | \n", "p | \n", "compact | \n", "
| 3 | \n", "audi | \n", "a4 | \n", "2.0 | \n", "2008 | \n", "4 | \n", "auto(av) | \n", "f | \n", "21 | \n", "30 | \n", "p | \n", "compact | \n", "
| 4 | \n", "audi | \n", "a4 | \n", "2.8 | \n", "1999 | \n", "6 | \n", "auto(l5) | \n", "f | \n", "16 | \n", "26 | \n", "p | \n", "compact | \n", "