{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [] } , { "cell_type": "code", "metadata": {}, "execution_count": null, "outputs": [], "source": ["#r \"nuget: Plotly.NET, 2.0.0\"\n", "#r \"nuget: Plotly.NET.Interactive, 2.0.0\"\n"] } , { "cell_type": "markdown", "metadata": {}, "source": ["# Histograms\n", "\n", "[![Binder](https://plotly.net/img/badge-binder.svg)](https://mybinder.org/v2/gh/plotly/Plotly.NET/gh-pages?filepath=04_0_histograms.ipynb)\u0026emsp;\n", "[![Script](https://plotly.net/img/badge-script.svg)](https://plotly.net/04_0_histograms.fsx)\u0026emsp;\n", "[![Notebook](https://plotly.net/img/badge-notebook.svg)](https://plotly.net/04_0_histograms.ipynb)\n", "\n", "**Summary:** This example shows how to create a one-dimensional histogram of a data samples in F#.\n", "\n", "let\u0027s first create some data for the purpose of creating example charts:\n", "\n"] } , { "cell_type": "code", "metadata": {}, "execution_count": 3, "outputs": [], "source": ["open Plotly.NET \n", "\n", "let rnd = System.Random()\n", "let x = [for i=0 to 500 do yield rnd.NextDouble() ]\n"] } , { "cell_type": "markdown", "metadata": {}, "source": ["A histogram consisting of rectangles whose area is proportional to the frequency of a variable and whose width is equal to the class interval.\n", "The histogram chart represents the distribution of numerical data and can be created using the `Chart.Histogram` function:.\n", "\n"] } , { "cell_type": "code", "metadata": {}, "execution_count": 4, "outputs": [], "source": ["let histo1 =\n", " x\n", " |\u003e Chart.Histogram\n", " |\u003e Chart.withSize(500.,500.)\n"] } , { "cell_type": "code", "metadata": {}, "execution_count": null, "outputs": [ { "data": { "text/html": ["\u003cdiv id=\"be22afb0-3d9e-4d5f-afdd-1ba15883608f\"\u003e\u003c!-- Plotly chart will be drawn inside this DIV --\u003e\u003c/div\u003e", "", "\u003cscript type=\"text/javascript\"\u003e", "", "", "", " var renderPlotly_be22afb03d9e4d5fafdd1ba15883608f = function() {", "", " var fsharpPlotlyRequire = requirejs.config({context:\u0027fsharp-plotly\u0027,paths:{plotly:\u0027https://cdn.plot.ly/plotly-2.6.3.min\u0027}}) || require;", "", " fsharpPlotlyRequire([\u0027plotly\u0027], function(Plotly) {", "", "", "", " var data = [{\"type\":\"histogram\",\"x\":[0.7353721870277375,0.8353763716350275,0.43759066632858534,0.018124559548015617,0.5484164041480913,0.4729665428826594,0.8826211006528996,0.5333529885120504,0.7123397286343535,0.2490812119956627,0.7191743096916619,0.30169956529204367,0.6572314972917059,0.27367012908328214,0.8980465614070164,0.24691397378487923,0.8363013216382388,0.48313748444003835,0.06114740319871814,0.405643007897609,0.346721724484085,0.43111410075575185,0.7161302156080231,0.5868156551901396,0.5959058619889518,0.0055450489229647015,0.5126018643406111,0.14590800561126593,0.9950706119133453,0.6189161090314004,0.12730543923926663,0.9547597713808275,0.5850437940022455,0.968614779091336,0.981150563026522,0.5946292904174705,0.8779149186049109,0.8083785532313433,0.3283838804872351,0.6531854876597605,0.8569797300116548,0.6370007530169414,0.0916265306623576,0.8946611316619578,0.5147487375055433,0.9416613452833882,0.5437912421780784,0.27762956568332053,0.501391695316109,0.5047210977252471,0.46829923946793783,0.06767466551918577,0.800383490311233,0.3078849662747075,0.952748716990465,0.4128523367857655,0.8921438674659247,0.8852977277386556,0.013491665517950446,0.26297155278418294,0.8067864710082695,0.3281982269126512,0.13466188947602498,0.5426461783637961,0.4175439854242846,0.48737746562036866,0.6719630548854028,0.5269634867162137,0.5971785567231014,0.20828262007310894,0.4835594920539492,0.4791778430490582,0.13109305336849264,0.3977168628366349,0.952213747939339,0.4908297274144916,0.2829549739166829,0.5315555753362495,0.052390413322266904,0.5511493918593973,0.8382477723149018,0.056400003912368546,0.8965471340637132,0.4657850598913952,0.15321445016928803,0.4667636196579047,0.3122390628648286,0.9945171183939568,0.4326556563885351,0.3124890345368162,0.6364315750585741,0.48661998159880715,0.8998565699601708,0.537751176852155,0.518914893646867,0.6022592983260939,0.07002842088171202,0.7443374817147892,0.20339089516224151,0.8025886987577706,0.7471185712180736,0.6882393195198052,0.40203076878894994,0.986428737695673,0.565896465604073,0.25936690728397915,0.5666807282001528,0.42009734826326395,0.28929856324281045,0.43127945656809974,0.4609776289300237,0.9092738115818793,0.10233256121232204,0.3710096742158221,0.661800405612843,0.3947428207376983,0.15627530104727572,0.027016562473900496,0.5467907366436937,0.956891069306084,0.6644268441929513,0.9927576565938637,0.31471399607525397,0.13053495960691452,0.04350225075725189,0.12410772584187635,0.9340232384743474,0.3391146033141207,0.2577661904633801,0.5997006943134502,0.6773174940680389,0.7548798843131111,0.1729499301758317,0.7809560827776426,0.9198104949513896,0.7156677895859882,0.6432039458154158,0.9140577873946008,0.7946551598995786,0.008110984500397489,0.10747127218095709,0.2868093733048036,0.6047701340095081,0.5872533864522184,0.1651719091581807,0.590101491343063,0.9461498930115642,0.08377188417270653,0.9949964333841848,0.07385977474924021,0.38366147112787563,0.06017763933877196,0.2801578043727505,0.8819899374227443,0.3458257623177108,0.09669699190859171,0.07517022922107652,0.08432523683067705,0.9849147941702142,0.4356573021155453,0.5687279976447539,0.260469627284988,0.14688494276856578,0.42141188356933157,0.6325244466071477,0.7606072503723943,0.10954862266007426,0.17877068918896188,0.579930908528145,0.6907230948636081,0.10304580664168805,0.5812818678738653,0.5530301059200354,0.2899114589896358,0.5845861717558447,0.8071151821100426,0.6669109078783252,0.03570204866970328,0.6395155476857,0.072550886587043,0.08494396624222345,0.07088063697068869,0.41661759125816866,0.8623615490261192,0.539672761838721,0.354348993378796,0.5258229508337252,0.6061916667252637,0.11705299546740822,0.6197961659023177,0.3392152485495855,0.2577881958577738,0.10455007852649478,0.09440048952741675,0.39955731291305663,0.15860846869734757,0.8914009922788761,0.8128867998815527,0.38162936427612604,0.30899414012825666,0.1613898027079277,0.35417783101771716,0.9583736527346475,0.36629192697881485,0.27454658429630996,0.8732749473309374,0.5975899746527688,0.49326393676155356,0.3109663419142844,0.12361094669051353,0.08075953934264646,0.06673390865362505,0.38910192001727106,0.6659198540908459,0.006671640242286725,0.9711685737252502,0.25643468329208885,0.6470505851826813,0.18814301021007107,0.4963240498974443,0.2259556398502517,0.47376085739480633,0.264361480164204,0.30909383649675304,0.9657454723277675,0.7997366639798377,0.008243754649893464,0.4501918603825674,0.3964448178563794,0.70135687279423,0.5026546419129619,0.23916895312146824,0.9437925269901103,0.9097247054094999,0.7022621038215534,0.5536453014737086,0.8508244451600897,0.4511437595353628,0.5113899125408221,0.23375295605856117,0.6715821959101128,0.7866585400122158,0.4051961561839905,0.42632357012721644,0.4907179280543892,0.8821844354619266,0.7334645505377949,0.5395896903457437,0.5929352211305695,0.09689972430603166,0.22337326520589396,0.7866334289311082,0.5214805043399419,0.7934505604294791,0.872812744096245,0.15852770713579822,0.17420576689023382,0.9211416055485168,0.699677757953608,0.2509890830142386,0.0862485118046189,0.998029937119492,0.07725133918948923,0.9742316880983977,0.17184895507431208,0.3050935329411948,0.7820162705189883,0.6143591720422181,0.22731836003391281,0.13142767236503894,0.938187651251737,0.987051375898768,0.20233160498256741,0.15232692749969878,0.4505559986765817,0.8754999712080749,0.9849838115491495,0.18572297512015867,0.31324716679855324,0.4292245890484476,0.5304994589671601,0.7426504135407939,0.6952583653828037,0.49573755106195205,0.6002821492040086,0.5878469477696027,0.9800667219920086,0.8931266271367713,0.8195978588040242,0.46968390078556665,0.3425813395590389,0.0027796761053169305,0.11099434165436917,0.4591259477658959,0.7040351932537448,0.06914511598580597,0.005877211383618852,0.004827539827720662,0.682852489714557,0.5537835777643636,0.4528756596520477,0.5198249498634026,0.3010607884590185,0.20541601031721712,0.11756084870401617,0.5067710100361165,0.9610833839366062,0.47288354299604374,0.18458388003933002,0.19038716832824298,0.44703629546504875,0.19504319131198078,0.2650043533597847,0.9432396899527782,0.1581634768354081,0.9232719364981777,0.1643398068167351,0.7895547312794073,0.27865784683305395,0.8963477166913546,0.9000126215855818,0.8885072225318463,0.06451917965442555,0.1067105118416043,0.31206791483856333,0.584841720648542,0.98915047144742,0.6949400510366526,0.5788069775813144,0.2813893666045826,0.5115927505466886,0.8707142290524307,0.11718260755696608,0.06710018875287416,0.25944679322281705,0.9997074377989325,0.40971625483922747,0.19650402747621643,0.12732022392452258,0.24710931097618904,0.7995163329209376,0.5636089982197513,0.9048725799165305,0.31189790889793834,0.6829106962629965,0.6800444410842476,0.06654647487655085,0.22876706766186594,0.4692124591627538,0.14430204772443744,0.5534374263409794,0.9515377476437397,0.3961190763173348,0.24956536907545257,0.453393210567442,0.5091726630922333,0.28719910536066506,0.49714711601422623,0.8359554953590388,0.016520007017732596,0.6902122337926975,0.7366971128746783,0.011340063490576147,0.7384751416641729,0.9997220853351527,0.8676279868752359,0.04332776885149647,0.5114843465494726,0.902666486662705,0.8432002502179718,0.3074202933932614,0.722637269261009,0.5175482575524912,0.5267633337678879,0.6418173928512506,0.48815585144938034,0.6429129032747355,0.4068796995465961,0.1783064050613543,0.6329184491048657,0.7968074192665786,0.40975259066038483,0.09205980699110661,0.032934439168486374,0.8464620794527127,0.3777767939374961,0.4560555932114688,0.004906731704223621,0.07605537864370404,0.16203341238084212,0.7690143435535944,0.47741595005948045,0.6788932183748001,0.40209180621547247,0.7786593662904708,0.05200877497954837,0.42447617499913537,0.7205633828145224,0.46215621305664467,0.1383374806661939,0.04157124089401221,0.12226027695121433,0.9004075909443204,0.6070776944564351,0.855684871159876,0.7669154869541321,0.6246216193226928,0.8816908674788649,0.4232223307756292,0.26410422669426536,0.6600188898117944,0.05237253372005124,0.7746803710231395,0.8227488342854683,0.6504499269379796,0.561978293486254,0.7330618069858309,0.363673384010326,0.2985545838717376,0.9695261682938242,0.4878273246114768,0.5018825062940295,0.5901988468909177,0.08059362971904172,0.29686841793732666,0.3374157652916411,0.7752663019597743,0.3411748187491661,0.9615033251122349,0.017310378139720917,0.4547133057457198,0.7969716788493976,0.7627211887474069,0.7578486907124073,0.19844991537863121,0.5733028048940261,0.8654359377724951,0.7884557936619538,0.6586099895288116,0.9422665227439407,0.4985391085402775,0.6730571535587909,0.9416890232015988,0.13581985129610352,0.10791061355816323,0.5951329841003392,0.6501308422708042,0.23445191185892178,0.5900251741517736,0.16937925770010476,0.9865417257393395,0.7112028161587981,0.22034578271774463,0.90436398500769,0.5293330600919895,0.9940582419760986,0.543513936753627,0.33420501010226333,0.6019548155696266,0.4083031744640895,0.48258429567507644,0.30290715735957396,0.2625462364887329,0.8602953116809493,0.7714527404826099,0.9618696069922804,0.9088234997110111,0.6290285757648251,0.06529690023337831,0.1724239259638064,0.19822017561788385,0.4740847626001631,0.3747253509438614,0.28498621910443644,0.2110072147662393,0.2352479114162832,0.38530793495924176,0.8507370318940999,0.33649665069962753,0.4860720687473393,0.08593855875286027,0.5466552981204231,0.6918559085381145,0.1309341086548782,0.41119828793447954,0.7630857529826214,0.3017363648049849,0.00643594450251439,0.510004298112879,0.7610962011008585,0.4902123105144197,0.09647242347758456,0.26835220175252006,0.275811505414957,0.45629110878920254,0.4419377024825333,0.6573555928630717,0.16366401112901607,0.2032383337388034,0.6161100049523429,0.3427857353598289],\"marker\":{}}];", "", " var layout = {\"width\":500,\"height\":500,\"template\":{\"layout\":{\"title\":{\"x\":0.05},\"font\":{\"color\":\"rgba(42, 63, 95, 1.0)\"},\"paper_bgcolor\":\"rgba(255, 255, 255, 1.0)\",\"plot_bgcolor\":\"rgba(229, 236, 246, 1.0)\",\"autotypenumbers\":\"strict\",\"colorscale\":{\"diverging\":[[0.0,\"#8e0152\"],[0.1,\"#c51b7d\"],[0.2,\"#de77ae\"],[0.3,\"#f1b6da\"],[0.4,\"#fde0ef\"],[0.5,\"#f7f7f7\"],[0.6,\"#e6f5d0\"],[0.7,\"#b8e186\"],[0.8,\"#7fbc41\"],[0.9,\"#4d9221\"],[1.0,\"#276419\"]],\"sequential\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]],\"sequentialminus\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]},\"hovermode\":\"closest\",\"hoverlabel\":{\"align\":\"left\"},\"coloraxis\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}},\"geo\":{\"showland\":true,\"landcolor\":\"rgba(229, 236, 246, 1.0)\",\"showlakes\":true,\"lakecolor\":\"rgba(255, 255, 255, 1.0)\",\"subunitcolor\":\"rgba(255, 255, 255, 1.0)\",\"bgcolor\":\"rgba(255, 255, 255, 1.0)\"},\"mapbox\":{\"style\":\"light\"},\"polar\":{\"bgcolor\":\"rgba(229, 236, 246, 1.0)\",\"radialaxis\":{\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"ticks\":\"\"},\"angularaxis\":{\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"ticks\":\"\"}},\"scene\":{\"xaxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"gridwidth\":2.0,\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"backgroundcolor\":\"rgba(229, 236, 246, 1.0)\",\"showbackground\":true},\"yaxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"gridwidth\":2.0,\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"backgroundcolor\":\"rgba(229, 236, 246, 1.0)\",\"showbackground\":true},\"zaxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"gridwidth\":2.0,\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"backgroundcolor\":\"rgba(229, 236, 246, 1.0)\",\"showbackground\":true}},\"ternary\":{\"aaxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\"},\"baxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\"},\"caxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\"},\"bgcolor\":\"rgba(229, 236, 246, 1.0)\"},\"xaxis\":{\"title\":{\"standoff\":15},\"ticks\":\"\",\"automargin\":true,\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"zerolinewidth\":2.0},\"yaxis\":{\"title\":{\"standoff\":15},\"ticks\":\"\",\"automargin\":true,\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"zerolinewidth\":2.0},\"annotationdefaults\":{\"arrowcolor\":\"#2a3f5f\",\"arrowhead\":0,\"arrowwidth\":1},\"shapedefaults\":{\"line\":{\"color\":\"rgba(42, 63, 95, 1.0)\"}},\"colorway\":[\"rgba(99, 110, 250, 1.0)\",\"rgba(239, 85, 59, 1.0)\",\"rgba(0, 204, 150, 1.0)\",\"rgba(171, 99, 250, 1.0)\",\"rgba(255, 161, 90, 1.0)\",\"rgba(25, 211, 243, 1.0)\",\"rgba(255, 102, 146, 1.0)\",\"rgba(182, 232, 128, 1.0)\",\"rgba(255, 151, 255, 1.0)\",\"rgba(254, 203, 82, 1.0)\"]},\"data\":{\"bar\":[{\"marker\":{\"line\":{\"color\":\"rgba(229, 236, 246, 1.0)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"error_x\":{\"color\":\"rgba(42, 63, 95, 1.0)\"},\"error_y\":{\"color\":\"rgba(42, 63, 95, 1.0)\"}}],\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"rgba(229, 236, 246, 1.0)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}}}],\"carpet\":[{\"aaxis\":{\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"endlinecolor\":\"rgba(42, 63, 95, 1.0)\",\"minorgridcolor\":\"rgba(255, 255, 255, 1.0)\",\"startlinecolor\":\"rgba(42, 63, 95, 1.0)\"},\"baxis\":{\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"endlinecolor\":\"rgba(42, 63, 95, 1.0)\",\"minorgridcolor\":\"rgba(255, 255, 255, 1.0)\",\"startlinecolor\":\"rgba(42, 63, 95, 1.0)\"}}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"contour\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}}}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"pie\":[{\"automargin\":true}],\"scatter\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scatter3d\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}},\"line\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"surface\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgba(235, 240, 248, 1.0)\"},\"line\":{\"color\":\"rgba(255, 255, 255, 1.0)\"}},\"header\":{\"fill\":{\"color\":\"rgba(200, 212, 227, 1.0)\"},\"line\":{\"color\":\"rgba(255, 255, 255, 1.0)\"}}}]}}};", "", " var config = {\"responsive\":true};", "", " Plotly.newPlot(\u0027be22afb0-3d9e-4d5f-afdd-1ba15883608f\u0027, data, layout, config);", "", "});", "", " };", "", " if ((typeof(requirejs) !== typeof(Function)) || (typeof(requirejs.config) !== typeof(Function))) {", "", " var script = document.createElement(\"script\");", "", " script.setAttribute(\"src\", \"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js\");", "", " script.onload = function(){", "", " renderPlotly_be22afb03d9e4d5fafdd1ba15883608f();", "", " };", "", " document.getElementsByTagName(\"head\")[0].appendChild(script);", "", " }", "", " else {", "", " renderPlotly_be22afb03d9e4d5fafdd1ba15883608f();", "", " }", "", "\u003c/script\u003e", "", ""] }, "execution_count": null, "metadata": {}, "output_type": "execute_result" }], "source": ["histo1\n"] }], "metadata": { "kernelspec": {"display_name": ".NET (F#)", "language": "F#", "name": ".net-fsharp"}, "langauge_info": { "file_extension": ".fs", "mimetype": "text/x-fsharp", "name": "C#", "pygments_lexer": "fsharp", "version": "4.5" } }, "nbformat": 4, "nbformat_minor": 1 }