{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "41ac809a-f7c9-4a9d-9a6e-1be18bf49fa8", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " \n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import numpy as np\n", "import pandas as pd\n", "from lets_plot import *\n", "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 2, "id": "b197f201-0c65-4c5d-9e74-5a8f3fae3d20", "metadata": {}, "outputs": [], "source": [ "np.random.seed(42)" ] }, { "cell_type": "code", "execution_count": 3, "id": "9cb90585-0450-4b1d-b7bf-5e8b55162ecb", "metadata": {}, "outputs": [], "source": [ "n = 50\n", "x = np.arange(n)\n", "y = x + np.random.normal(scale=10, size=n)\n" ] }, { "cell_type": "markdown", "id": "c3fb2929-89e5-4c6a-aa81-3a2e1afe66db", "metadata": {}, "source": [ "#### Default" ] }, { "cell_type": "code", "execution_count": 4, "id": "6ffbffee-5705-432e-b7f4-02103ee870ea", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "