{ "cells": [ { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ ":dep plotly = { version = \">=0.6.0\" }\n", ":dep itertools-num = \"0.1.3\"" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "extern crate plotly;\n", "extern crate rand_distr;\n", "extern crate itertools_num;\n", "extern crate itertools;" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "scrolled": true }, "outputs": [], "source": [ "use itertools_num::linspace;\n", "use plotly::common::{\n", " ColorScale, ColorScalePalette, DashType, Fill, Font, Line, LineShape, Marker, Mode, Title,\n", "};\n", "use plotly::layout::{Axis, BarMode, Layout, Legend, TicksDirection};\n", "use plotly::{Bar, NamedColor, Plot, Rgb, Rgba, Scatter};\n", "use rand_distr::{Distribution, Normal, Uniform};" ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "scrolled": true }, "outputs": [ { "data": { "text/html": [ "