{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "subjective-telling", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "%useLatestDescriptors\n", "%use lets-plot\n" ] }, { "cell_type": "code", "execution_count": 2, "id": "swiss-conservative", "metadata": {}, "outputs": [], "source": [ "// Set the 'grey' theme as a default plot theme.\n", "LetsPlot.theme = themeGrey()" ] }, { "cell_type": "code", "execution_count": 3, "id": "affected-chancellor", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " " ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "val dat = mapOf(\"x\" to listOf(1, 2, 3), \"y\" to listOf(1, 2, 3))\n", "letsPlot(dat) {x = \"x\"; y = \"y\"} + geomPoint(size = 5)" ] } ], "metadata": { "kernelspec": { "display_name": "Kotlin", "language": "kotlin", "name": "kotlin" }, "language_info": { "codemirror_mode": "text/x-kotlin", "file_extension": ".kt", "mimetype": "text/x-kotlin", "name": "kotlin", "nbconvert_exporter": "", "pygments_lexer": "kotlin", "version": "1.7.20-dev-1299" } }, "nbformat": 4, "nbformat_minor": 5 }