{ "cells": [ { "cell_type": "markdown", "id": "b688f244-c275-48fa-a578-21f84a87e384", "metadata": {}, "source": [ "## Markdown support" ] }, { "cell_type": "code", "execution_count": 1, "id": "8f15dd53-32d7-402b-8d4e-d6f3267f3227", "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": "a58056ef-179d-4e66-bdd5-24d2836457b5", "metadata": {}, "outputs": [], "source": [ "p = ggplot() \\\n", " + geom_blank() \\\n", " + labs(title='*Hello*, **world**', subtitle='_Simple plot_', caption='*Powered by **lets-plot***', x='Title **X**', y='Title **Y**') \\\n", " + ggsize(400, 200)" ] }, { "cell_type": "markdown", "id": "cc5d32d7-574a-408e-999f-b4abb704a66f", "metadata": {}, "source": [ "#### With markdown disabled (default)" ] }, { "cell_type": "code", "execution_count": 3, "id": "6333bac4-f969-4294-8dfc-cffb671aa303", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " " ], "text/plain": [ "