{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Colors Viridis\n", "\n", "The `viridis` color maps are designed to be perceptually-uniform,\n", "both in regular form and also when converted to black-and-white.\n", "\n", "More info: [https://bids.github.io/colormap/](https://bids.github.io/colormap/)" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "execution": { "iopub.execute_input": "2026-01-27T17:08:07.889706Z", "iopub.status.busy": "2026-01-27T17:08:07.889619Z", "iopub.status.idle": "2026-01-27T17:08:07.892484Z", "shell.execute_reply": "2026-01-27T17:08:07.892202Z" } }, "outputs": [], "source": [ "import pandas as pd\n", "\n", "from lets_plot import *" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "execution": { "iopub.execute_input": "2026-01-27T17:08:07.893353Z", "iopub.status.busy": "2026-01-27T17:08:07.893280Z", "iopub.status.idle": "2026-01-27T17:08:07.894809Z", "shell.execute_reply": "2026-01-27T17:08:07.894615Z" } }, "outputs": [ { "data": { "text/html": [ "\n", "
\n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "execution": { "iopub.execute_input": "2026-01-27T17:08:07.908064Z", "iopub.status.busy": "2026-01-27T17:08:07.907990Z", "iopub.status.idle": "2026-01-27T17:08:08.019711Z", "shell.execute_reply": "2026-01-27T17:08:08.019276Z" } }, "outputs": [ { "data": { "text/html": [ "| \n", " | miles per gallon | \n", "number of cylinders | \n", "engine displacement (cu. inches) | \n", "engine horsepower | \n", "vehicle weight (lbs.) | \n", "time to accelerate (sec.) | \n", "model year | \n", "origin of car | \n", "vehicle name | \n", "
|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", "18.0 | \n", "8 | \n", "307.0 | \n", "130 | \n", "3504 | \n", "12.0 | \n", "70 | \n", "US | \n", "chevrolet chevelle malibu | \n", "
| 1 | \n", "15.0 | \n", "8 | \n", "350.0 | \n", "165 | \n", "3693 | \n", "11.5 | \n", "70 | \n", "US | \n", "buick skylark 320 | \n", "
| 2 | \n", "18.0 | \n", "8 | \n", "318.0 | \n", "150 | \n", "3436 | \n", "11.0 | \n", "70 | \n", "US | \n", "plymouth satellite | \n", "