{ "cells": [ { "cell_type": "raw", "id": "833c8e20", "metadata": { "slideshow": { "slide_type": "skip" } }, "source": [ "---\n", "title: 🚀 Demo notebook\n", "description: Simple notebook with widgets demo\n", "output: slides\n", "show-code: False\n", "params:\n", " name:\n", " input: text\n", " label: What is your name?\n", " value: Piotr\n", " mu: \n", " input: slider\n", " label: X-data mean\n", " value: 0\n", " min: -5\n", " max: 5\n", " sigma:\n", " input: numeric\n", " label: X-data sigma\n", " value: 1\n", " min: 0\n", " max: 3\n", " step: 0.01\n", " points:\n", " input: select\n", " label: How many points?\n", " value: 100\n", " choices: [50, 100, 200, 500, 1000]\n", " ---" ] }, { "cell_type": "code", "execution_count": 1, "id": "d177ab3a", "metadata": { "slideshow": { "slide_type": "skip" } }, "outputs": [], "source": [ "from IPython.display import Markdown as md\n", "from matplotlib import pyplot as plt\n", "from random import gauss" ] }, { "cell_type": "markdown", "id": "c418de47", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "