Skip to content

Instantly share code, notes, and snippets.

@hafen
Last active August 29, 2015 14:16
Show Gist options
  • Save hafen/4529b7698943d52fc30a to your computer and use it in GitHub Desktop.
Save hafen/4529b7698943d52fc30a to your computer and use it in GitHub Desktop.
iris
<head>
<script src="http://cdn.pydata.org/bokeh/release/bokeh-0.8.1.min.js"></script>
<link href="http://cdn.pydata.org/bokeh/release/bokeh-0.8.1.min.css" rel="stylesheet">
</head>
<div id=08fd29cc51d3761133a159ca4f697be5 class="plotdiv"></div>
<script type="text/javascript">
Bokeh.$(function() {
var modelid = "a57e43d6b7e067caeaa2a9159e4e5d59";
var modeltype = "Plot";
var elementid = "08fd29cc51d3761133a159ca4f697be5";
Bokeh.logger.info("Realizing plot:");
Bokeh.logger.info(" - modeltype: Plot");
Bokeh.logger.info(" - modelid: a57e43d6b7e067caeaa2a9159e4e5d59");
Bokeh.logger.info(" - elementid: 08fd29cc51d3761133a159ca4f697be5");
var all_models = [
{
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"attributes": {
"title": null,
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"plot_width": 480,
"plot_height": 480,
"x_range": {
"type": "Range1d",
"id": "848cf3fc57213cfc44bb85b6831c00ed"
},
"y_range": {
"type": "Range1d",
"id": "ffa74e8b48c400def9c11c6476238ebf"
},
"left": [
{
"type": "LogAxis",
"id": "058b760f122aa91fea7fafb855b5c82e"
}
],
"below": [
{
"type": "LinearAxis",
"id": "518cc0ab51e4f1b325363b1d4ea6d34e"
}
],
"right": [],
"above": [],
"renderers": [
{
"type": "GlyphRenderer",
"id": "857a2bf34c61909019c663123c3db3cf"
},
{
"type": "GlyphRenderer",
"id": "6c0712651a1d9a5d7ab81b9800251217"
},
{
"type": "GlyphRenderer",
"id": "51bc31950d287a515ef4d9cabd82bf9e"
},
{
"type": "LogAxis",
"id": "058b760f122aa91fea7fafb855b5c82e"
},
{
"type": "Grid",
"id": "e11c894fd93755e971b674b9137781b3"
},
{
"type": "GlyphRenderer",
"id": "42be7d0fb11586399471c2e417c1ffa9"
},
{
"type": "GlyphRenderer",
"id": "13913e64c32f5b87dd684815780b16bf"
},
{
"type": "GlyphRenderer",
"id": "19c6c6ae8326805151c31b124dc73d02"
},
{
"type": "Legend",
"id": "e07afce0075cbb5c7c59c8b1e20251fc"
},
{
"type": "LinearAxis",
"id": "518cc0ab51e4f1b325363b1d4ea6d34e"
},
{
"type": "Grid",
"id": "970d23d77476ba3c5d58f5befcca811e"
}
],
"tools": [
{
"type": "PanTool",
"id": "00c026452eed947a0931db8b9a1170c3"
},
{
"type": "WheelZoomTool",
"id": "fa038124019527eaab332af21ffd0019"
},
{
"type": "BoxZoomTool",
"id": "1f45319228ffdc20d4dd5467ad9394d5"
},
{
"type": "ResizeTool",
"id": "557f2525af8364754eca12cecfdfa1ad"
},
{
"type": "ResetTool",
"id": "03d7287578e20661d77feba335bb6698"
},
{
"type": "PreviewSaveTool",
"id": "681c23643103d6530cc414581a5f0155"
},
{
"type": "HoverTool",
"id": "09cb6552b99d1fdfb20753d4da386aed"
},
{
"type": "HoverTool",
"id": "11e140d98afddf8e283e49e613754bb2"
},
{
"type": "HoverTool",
"id": "fd1b4afe69f3057e584bfbfa63989be6"
}
],
"tool_events": {
"type": "ToolEvents",
"id": "ac40d6661d675d21b4b76fedef877f15"
},
"extra_y_ranges": {},
"extra_x_ranges": {},
"tags": [],
"doc": null,
"y_mapper_type": "log"
},
"subtype": "Figure"
},
{
"type": "PanTool",
"id": "00c026452eed947a0931db8b9a1170c3",
"attributes": {
"id": "00c026452eed947a0931db8b9a1170c3",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"dimensions": [
"width",
"height"
]
}
},
{
"type": "ToolEvents",
"id": "ac40d6661d675d21b4b76fedef877f15",
"attributes": {
"id": "ac40d6661d675d21b4b76fedef877f15",
"tags": [],
"doc": null
},
"geometries": []
},
{
"type": "WheelZoomTool",
"id": "fa038124019527eaab332af21ffd0019",
"attributes": {
"id": "fa038124019527eaab332af21ffd0019",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"dimensions": [
"width",
"height"
]
}
},
{
"type": "BoxZoomTool",
"id": "1f45319228ffdc20d4dd5467ad9394d5",
"attributes": {
"id": "1f45319228ffdc20d4dd5467ad9394d5",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
}
}
},
{
"type": "ResizeTool",
"id": "557f2525af8364754eca12cecfdfa1ad",
"attributes": {
"id": "557f2525af8364754eca12cecfdfa1ad",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
}
}
},
{
"type": "ResetTool",
"id": "03d7287578e20661d77feba335bb6698",
"attributes": {
"id": "03d7287578e20661d77feba335bb6698",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
}
}
},
{
"type": "PreviewSaveTool",
"id": "681c23643103d6530cc414581a5f0155",
"attributes": {
"id": "681c23643103d6530cc414581a5f0155",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
}
}
},
{
"type": "HoverTool",
"id": "09cb6552b99d1fdfb20753d4da386aed",
"attributes": {
"id": "09cb6552b99d1fdfb20753d4da386aed",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"renderers": [
{
"type": "GlyphRenderer",
"id": "857a2bf34c61909019c663123c3db3cf"
}
],
"names": [],
"always_active": true,
"tooltips": [
[
"Sepal.Length",
"@hover_Sepal_Length"
],
[
"Sepal.Width",
"@hover_Sepal_Width"
]
]
}
},
{
"type": "ColumnDataSource",
"id": "851db0578a5408a6f53bcc22e0854217",
"attributes": {
"id": "851db0578a5408a6f53bcc22e0854217",
"tags": [],
"doc": null,
"column_names": [
"x",
"y",
"line_color",
"fill_color",
"hover_Sepal_Length",
"hover_Sepal_Width"
],
"selected": [],
"discrete_ranges": {},
"cont_ranges": {},
"data": {
"x": [
5.1,
4.9,
4.7,
4.6,
5,
5.4,
4.6,
5,
4.4,
4.9,
5.4,
4.8,
4.8,
4.3,
5.8,
5.7,
5.4,
5.1,
5.7,
5.1,
5.4,
5.1,
4.6,
5.1,
4.8,
5,
5,
5.2,
5.2,
4.7,
4.8,
5.4,
5.2,
5.5,
4.9,
5,
5.5,
4.9,
4.4,
5.1,
5,
4.5,
4.4,
5,
5.1,
4.8,
5.1,
4.6,
5.3,
5
],
"y": [
3.5,
3,
3.2,
3.1,
3.6,
3.9,
3.4,
3.4,
2.9,
3.1,
3.7,
3.4,
3,
3,
4,
4.4,
3.9,
3.5,
3.8,
3.8,
3.4,
3.7,
3.6,
3.3,
3.4,
3,
3.4,
3.5,
3.4,
3.2,
3.1,
3.4,
4.1,
4.2,
3.1,
3.2,
3.5,
3.6,
3,
3.4,
3.5,
2.3,
3.2,
3.5,
3.8,
3,
3.8,
3.2,
3.7,
3.3
],
"line_color": [
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4"
],
"fill_color": [
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4",
"#1F77B4"
],
"hover_Sepal_Length": [
"5.1",
"4.9",
"4.7",
"4.6",
"5.0",
"5.4",
"4.6",
"5.0",
"4.4",
"4.9",
"5.4",
"4.8",
"4.8",
"4.3",
"5.8",
"5.7",
"5.4",
"5.1",
"5.7",
"5.1",
"5.4",
"5.1",
"4.6",
"5.1",
"4.8",
"5.0",
"5.0",
"5.2",
"5.2",
"4.7",
"4.8",
"5.4",
"5.2",
"5.5",
"4.9",
"5.0",
"5.5",
"4.9",
"4.4",
"5.1",
"5.0",
"4.5",
"4.4",
"5.0",
"5.1",
"4.8",
"5.1",
"4.6",
"5.3",
"5.0"
],
"hover_Sepal_Width": [
"3.5",
"3.0",
"3.2",
"3.1",
"3.6",
"3.9",
"3.4",
"3.4",
"2.9",
"3.1",
"3.7",
"3.4",
"3.0",
"3.0",
"4.0",
"4.4",
"3.9",
"3.5",
"3.8",
"3.8",
"3.4",
"3.7",
"3.6",
"3.3",
"3.4",
"3.0",
"3.4",
"3.5",
"3.4",
"3.2",
"3.1",
"3.4",
"4.1",
"4.2",
"3.1",
"3.2",
"3.5",
"3.6",
"3.0",
"3.4",
"3.5",
"2.3",
"3.2",
"3.5",
"3.8",
"3.0",
"3.8",
"3.2",
"3.7",
"3.3"
]
}
}
},
{
"type": "Circle",
"id": "21e5e5409803966e088b64566be5a50c",
"attributes": {
"id": "21e5e5409803966e088b64566be5a50c",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": 10
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
},
"line_color": {
"units": "data",
"field": "line_color"
},
"fill_color": {
"units": "data",
"field": "fill_color"
}
}
},
{
"type": "Circle",
"id": "a23f3d6a299b9cb63981da173e1454b1",
"attributes": {
"id": "a23f3d6a299b9cb63981da173e1454b1",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": 10
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
},
"line_color": {
"units": "data",
"value": "#e1e1e1"
},
"fill_color": {
"units": "data",
"value": "#e1e1e1"
}
}
},
{
"type": "GlyphRenderer",
"id": "857a2bf34c61909019c663123c3db3cf",
"attributes": {
"id": "857a2bf34c61909019c663123c3db3cf",
"tags": [],
"doc": null,
"selection_glyph": null,
"nonselection_glyph": {
"type": "Circle",
"id": "a23f3d6a299b9cb63981da173e1454b1"
},
"server_data_source": null,
"name": null,
"data_source": {
"type": "ColumnDataSource",
"id": "851db0578a5408a6f53bcc22e0854217"
},
"glyph": {
"type": "Circle",
"id": "21e5e5409803966e088b64566be5a50c"
}
}
},
{
"type": "HoverTool",
"id": "11e140d98afddf8e283e49e613754bb2",
"attributes": {
"id": "11e140d98afddf8e283e49e613754bb2",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"renderers": [
{
"type": "GlyphRenderer",
"id": "6c0712651a1d9a5d7ab81b9800251217"
}
],
"names": [],
"always_active": true,
"tooltips": [
[
"Sepal.Length",
"@hover_Sepal_Length"
],
[
"Sepal.Width",
"@hover_Sepal_Width"
]
]
}
},
{
"type": "ColumnDataSource",
"id": "6479126d0383742937dc975f0d0a33f1",
"attributes": {
"id": "6479126d0383742937dc975f0d0a33f1",
"tags": [],
"doc": null,
"column_names": [
"x",
"y",
"line_color",
"fill_color",
"hover_Sepal_Length",
"hover_Sepal_Width"
],
"selected": [],
"discrete_ranges": {},
"cont_ranges": {},
"data": {
"x": [
7,
6.4,
6.9,
5.5,
6.5,
5.7,
6.3,
4.9,
6.6,
5.2,
5,
5.9,
6,
6.1,
5.6,
6.7,
5.6,
5.8,
6.2,
5.6,
5.9,
6.1,
6.3,
6.1,
6.4,
6.6,
6.8,
6.7,
6,
5.7,
5.5,
5.5,
5.8,
6,
5.4,
6,
6.7,
6.3,
5.6,
5.5,
5.5,
6.1,
5.8,
5,
5.6,
5.7,
5.7,
6.2,
5.1,
5.7
],
"y": [
3.2,
3.2,
3.1,
2.3,
2.8,
2.8,
3.3,
2.4,
2.9,
2.7,
2,
3,
2.2,
2.9,
2.9,
3.1,
3,
2.7,
2.2,
2.5,
3.2,
2.8,
2.5,
2.8,
2.9,
3,
2.8,
3,
2.9,
2.6,
2.4,
2.4,
2.7,
2.7,
3,
3.4,
3.1,
2.3,
3,
2.5,
2.6,
3,
2.6,
2.3,
2.7,
3,
2.9,
2.9,
2.5,
2.8
],
"line_color": [
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E"
],
"fill_color": [
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E",
"#FF7F0E"
],
"hover_Sepal_Length": [
"7.0",
"6.4",
"6.9",
"5.5",
"6.5",
"5.7",
"6.3",
"4.9",
"6.6",
"5.2",
"5.0",
"5.9",
"6.0",
"6.1",
"5.6",
"6.7",
"5.6",
"5.8",
"6.2",
"5.6",
"5.9",
"6.1",
"6.3",
"6.1",
"6.4",
"6.6",
"6.8",
"6.7",
"6.0",
"5.7",
"5.5",
"5.5",
"5.8",
"6.0",
"5.4",
"6.0",
"6.7",
"6.3",
"5.6",
"5.5",
"5.5",
"6.1",
"5.8",
"5.0",
"5.6",
"5.7",
"5.7",
"6.2",
"5.1",
"5.7"
],
"hover_Sepal_Width": [
"3.2",
"3.2",
"3.1",
"2.3",
"2.8",
"2.8",
"3.3",
"2.4",
"2.9",
"2.7",
"2.0",
"3.0",
"2.2",
"2.9",
"2.9",
"3.1",
"3.0",
"2.7",
"2.2",
"2.5",
"3.2",
"2.8",
"2.5",
"2.8",
"2.9",
"3.0",
"2.8",
"3.0",
"2.9",
"2.6",
"2.4",
"2.4",
"2.7",
"2.7",
"3.0",
"3.4",
"3.1",
"2.3",
"3.0",
"2.5",
"2.6",
"3.0",
"2.6",
"2.3",
"2.7",
"3.0",
"2.9",
"2.9",
"2.5",
"2.8"
]
}
}
},
{
"type": "Square",
"id": "408b7fd3162fc828a4ade45a2a40c444",
"attributes": {
"id": "408b7fd3162fc828a4ade45a2a40c444",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": 10
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
},
"line_color": {
"units": "data",
"field": "line_color"
},
"fill_color": {
"units": "data",
"field": "fill_color"
}
}
},
{
"type": "Square",
"id": "a041f693aadc19bc69cdcb32ae9f5dc6",
"attributes": {
"id": "a041f693aadc19bc69cdcb32ae9f5dc6",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": 10
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
},
"line_color": {
"units": "data",
"value": "#e1e1e1"
},
"fill_color": {
"units": "data",
"value": "#e1e1e1"
}
}
},
{
"type": "GlyphRenderer",
"id": "6c0712651a1d9a5d7ab81b9800251217",
"attributes": {
"id": "6c0712651a1d9a5d7ab81b9800251217",
"tags": [],
"doc": null,
"selection_glyph": null,
"nonselection_glyph": {
"type": "Square",
"id": "a041f693aadc19bc69cdcb32ae9f5dc6"
},
"server_data_source": null,
"name": null,
"data_source": {
"type": "ColumnDataSource",
"id": "6479126d0383742937dc975f0d0a33f1"
},
"glyph": {
"type": "Square",
"id": "408b7fd3162fc828a4ade45a2a40c444"
}
}
},
{
"type": "HoverTool",
"id": "fd1b4afe69f3057e584bfbfa63989be6",
"attributes": {
"id": "fd1b4afe69f3057e584bfbfa63989be6",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"renderers": [
{
"type": "GlyphRenderer",
"id": "51bc31950d287a515ef4d9cabd82bf9e"
}
],
"names": [],
"always_active": true,
"tooltips": [
[
"Sepal.Length",
"@hover_Sepal_Length"
],
[
"Sepal.Width",
"@hover_Sepal_Width"
]
]
}
},
{
"type": "ColumnDataSource",
"id": "bdbe1bc8197a30973e12a7c64b702d94",
"attributes": {
"id": "bdbe1bc8197a30973e12a7c64b702d94",
"tags": [],
"doc": null,
"column_names": [
"x",
"y",
"line_color",
"fill_color",
"hover_Sepal_Length",
"hover_Sepal_Width"
],
"selected": [],
"discrete_ranges": {},
"cont_ranges": {},
"data": {
"x": [
6.3,
5.8,
7.1,
6.3,
6.5,
7.6,
4.9,
7.3,
6.7,
7.2,
6.5,
6.4,
6.8,
5.7,
5.8,
6.4,
6.5,
7.7,
7.7,
6,
6.9,
5.6,
7.7,
6.3,
6.7,
7.2,
6.2,
6.1,
6.4,
7.2,
7.4,
7.9,
6.4,
6.3,
6.1,
7.7,
6.3,
6.4,
6,
6.9,
6.7,
6.9,
5.8,
6.8,
6.7,
6.7,
6.3,
6.5,
6.2,
5.9
],
"y": [
3.3,
2.7,
3,
2.9,
3,
3,
2.5,
2.9,
2.5,
3.6,
3.2,
2.7,
3,
2.5,
2.8,
3.2,
3,
3.8,
2.6,
2.2,
3.2,
2.8,
2.8,
2.7,
3.3,
3.2,
2.8,
3,
2.8,
3,
2.8,
3.8,
2.8,
2.8,
2.6,
3,
3.4,
3.1,
3,
3.1,
3.1,
3.1,
2.7,
3.2,
3.3,
3,
2.5,
3,
3.4,
3
],
"line_color": [
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C"
],
"fill_color": [
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C",
"#2CA02C"
],
"hover_Sepal_Length": [
"6.3",
"5.8",
"7.1",
"6.3",
"6.5",
"7.6",
"4.9",
"7.3",
"6.7",
"7.2",
"6.5",
"6.4",
"6.8",
"5.7",
"5.8",
"6.4",
"6.5",
"7.7",
"7.7",
"6.0",
"6.9",
"5.6",
"7.7",
"6.3",
"6.7",
"7.2",
"6.2",
"6.1",
"6.4",
"7.2",
"7.4",
"7.9",
"6.4",
"6.3",
"6.1",
"7.7",
"6.3",
"6.4",
"6.0",
"6.9",
"6.7",
"6.9",
"5.8",
"6.8",
"6.7",
"6.7",
"6.3",
"6.5",
"6.2",
"5.9"
],
"hover_Sepal_Width": [
"3.3",
"2.7",
"3.0",
"2.9",
"3.0",
"3.0",
"2.5",
"2.9",
"2.5",
"3.6",
"3.2",
"2.7",
"3.0",
"2.5",
"2.8",
"3.2",
"3.0",
"3.8",
"2.6",
"2.2",
"3.2",
"2.8",
"2.8",
"2.7",
"3.3",
"3.2",
"2.8",
"3.0",
"2.8",
"3.0",
"2.8",
"3.8",
"2.8",
"2.8",
"2.6",
"3.0",
"3.4",
"3.1",
"3.0",
"3.1",
"3.1",
"3.1",
"2.7",
"3.2",
"3.3",
"3.0",
"2.5",
"3.0",
"3.4",
"3.0"
]
}
}
},
{
"type": "Triangle",
"id": "cc846883c38ff08b01f4a02bcd1f4834",
"attributes": {
"id": "cc846883c38ff08b01f4a02bcd1f4834",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": 10
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
},
"line_color": {
"units": "data",
"field": "line_color"
},
"fill_color": {
"units": "data",
"field": "fill_color"
}
}
},
{
"type": "Triangle",
"id": "b28127499cffc3a78b682b7134480b68",
"attributes": {
"id": "b28127499cffc3a78b682b7134480b68",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": 10
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
},
"line_color": {
"units": "data",
"value": "#e1e1e1"
},
"fill_color": {
"units": "data",
"value": "#e1e1e1"
}
}
},
{
"type": "GlyphRenderer",
"id": "51bc31950d287a515ef4d9cabd82bf9e",
"attributes": {
"id": "51bc31950d287a515ef4d9cabd82bf9e",
"tags": [],
"doc": null,
"selection_glyph": null,
"nonselection_glyph": {
"type": "Triangle",
"id": "b28127499cffc3a78b682b7134480b68"
},
"server_data_source": null,
"name": null,
"data_source": {
"type": "ColumnDataSource",
"id": "bdbe1bc8197a30973e12a7c64b702d94"
},
"glyph": {
"type": "Triangle",
"id": "cc846883c38ff08b01f4a02bcd1f4834"
}
}
},
{
"type": "LogAxis",
"id": "058b760f122aa91fea7fafb855b5c82e",
"attributes": {
"id": "058b760f122aa91fea7fafb855b5c82e",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"axis_label": "Sepal.Width",
"formatter": {
"type": "LogTickFormatter",
"id": "fc87411f7a11718c21b40ae3b73d44c6"
},
"ticker": {
"type": "LogTicker",
"id": "77e6a81a083889abd75e4090400f3e6b"
},
"visible": true
}
},
{
"type": "LogTickFormatter",
"id": "fc87411f7a11718c21b40ae3b73d44c6",
"attributes": {
"id": "fc87411f7a11718c21b40ae3b73d44c6",
"tags": [],
"doc": null
}
},
{
"type": "LogTicker",
"id": "77e6a81a083889abd75e4090400f3e6b",
"attributes": {
"id": "77e6a81a083889abd75e4090400f3e6b",
"tags": [],
"doc": null,
"num_minor_ticks": 5,
"base": 2
}
},
{
"type": "Grid",
"id": "e11c894fd93755e971b674b9137781b3",
"attributes": {
"id": "e11c894fd93755e971b674b9137781b3",
"tags": [],
"doc": null,
"dimension": 1,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"ticker": {
"type": "LogTicker",
"id": "77e6a81a083889abd75e4090400f3e6b"
}
}
},
{
"type": "ColumnDataSource",
"id": "918bf8c7e350977992fe0e94ed3baabb",
"attributes": {
"id": "918bf8c7e350977992fe0e94ed3baabb",
"tags": [],
"doc": null,
"column_names": [
"x",
"y"
],
"selected": [],
"discrete_ranges": {},
"cont_ranges": {},
"data": {
"x": [
null,
null
],
"y": [
null,
null
]
}
}
},
{
"type": "Circle",
"id": "8661151031c90bdceacfbbb82065502c",
"attributes": {
"id": "8661151031c90bdceacfbbb82065502c",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": null
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"line_color": {
"units": "data",
"value": "#1F77B4"
},
"fill_color": {
"units": "data",
"value": "#1F77B4"
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
}
}
},
{
"type": "Circle",
"id": "ac7e3d91e5897e2f1dc851bb7bf8cee0",
"attributes": {
"id": "ac7e3d91e5897e2f1dc851bb7bf8cee0",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": null
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"line_color": {
"units": "data",
"value": "#e1e1e1"
},
"fill_color": {
"units": "data",
"value": "#e1e1e1"
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
}
}
},
{
"type": "GlyphRenderer",
"id": "42be7d0fb11586399471c2e417c1ffa9",
"attributes": {
"id": "42be7d0fb11586399471c2e417c1ffa9",
"tags": [],
"doc": null,
"selection_glyph": null,
"nonselection_glyph": {
"type": "Circle",
"id": "ac7e3d91e5897e2f1dc851bb7bf8cee0"
},
"server_data_source": null,
"name": null,
"data_source": {
"type": "ColumnDataSource",
"id": "918bf8c7e350977992fe0e94ed3baabb"
},
"glyph": {
"type": "Circle",
"id": "8661151031c90bdceacfbbb82065502c"
}
}
},
{
"type": "Square",
"id": "5382275edd0bdf120d0aba74788566a5",
"attributes": {
"id": "5382275edd0bdf120d0aba74788566a5",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": null
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"line_color": {
"units": "data",
"value": "#FF7F0E"
},
"fill_color": {
"units": "data",
"value": "#FF7F0E"
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
}
}
},
{
"type": "Square",
"id": "6c9c731407cd62849579e862d9f4306c",
"attributes": {
"id": "6c9c731407cd62849579e862d9f4306c",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": null
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"line_color": {
"units": "data",
"value": "#e1e1e1"
},
"fill_color": {
"units": "data",
"value": "#e1e1e1"
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
}
}
},
{
"type": "GlyphRenderer",
"id": "13913e64c32f5b87dd684815780b16bf",
"attributes": {
"id": "13913e64c32f5b87dd684815780b16bf",
"tags": [],
"doc": null,
"selection_glyph": null,
"nonselection_glyph": {
"type": "Square",
"id": "6c9c731407cd62849579e862d9f4306c"
},
"server_data_source": null,
"name": null,
"data_source": {
"type": "ColumnDataSource",
"id": "918bf8c7e350977992fe0e94ed3baabb"
},
"glyph": {
"type": "Square",
"id": "5382275edd0bdf120d0aba74788566a5"
}
}
},
{
"type": "Triangle",
"id": "92e5f1bde4246d6e5eb3b5c00176a079",
"attributes": {
"id": "92e5f1bde4246d6e5eb3b5c00176a079",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": null
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"line_color": {
"units": "data",
"value": "#2CA02C"
},
"fill_color": {
"units": "data",
"value": "#2CA02C"
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
}
}
},
{
"type": "Triangle",
"id": "e83cec3d441af7c7ddbd1d70ac5fdedb",
"attributes": {
"id": "e83cec3d441af7c7ddbd1d70ac5fdedb",
"tags": [],
"doc": null,
"xlab": {
"units": "data",
"value": "Sepal.Length"
},
"ylab": {
"units": "data",
"value": "Sepal.Width"
},
"size": {
"units": "screen",
"value": null
},
"line_alpha": {
"units": "data",
"value": 1
},
"fill_alpha": {
"units": "data",
"value": 0.5
},
"line_color": {
"units": "data",
"value": "#e1e1e1"
},
"fill_color": {
"units": "data",
"value": "#e1e1e1"
},
"x": {
"units": "data",
"field": "x"
},
"y": {
"units": "data",
"field": "y"
}
}
},
{
"type": "GlyphRenderer",
"id": "19c6c6ae8326805151c31b124dc73d02",
"attributes": {
"id": "19c6c6ae8326805151c31b124dc73d02",
"tags": [],
"doc": null,
"selection_glyph": null,
"nonselection_glyph": {
"type": "Triangle",
"id": "e83cec3d441af7c7ddbd1d70ac5fdedb"
},
"server_data_source": null,
"name": null,
"data_source": {
"type": "ColumnDataSource",
"id": "918bf8c7e350977992fe0e94ed3baabb"
},
"glyph": {
"type": "Triangle",
"id": "92e5f1bde4246d6e5eb3b5c00176a079"
}
}
},
{
"type": "Legend",
"id": "e07afce0075cbb5c7c59c8b1e20251fc",
"attributes": {
"id": "e07afce0075cbb5c7c59c8b1e20251fc",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"legends": [
[
"setosa",
[
{
"type": "GlyphRenderer",
"id": "42be7d0fb11586399471c2e417c1ffa9"
}
]
],
[
"versicolor",
[
{
"type": "GlyphRenderer",
"id": "13913e64c32f5b87dd684815780b16bf"
}
]
],
[
"virginica",
[
{
"type": "GlyphRenderer",
"id": "19c6c6ae8326805151c31b124dc73d02"
}
]
]
]
}
},
{
"type": "Range1d",
"id": "848cf3fc57213cfc44bb85b6831c00ed",
"attributes": {
"id": "848cf3fc57213cfc44bb85b6831c00ed",
"tags": [],
"doc": null,
"start": 4.048,
"end": 8.152
}
},
{
"type": "Range1d",
"id": "ffa74e8b48c400def9c11c6476238ebf",
"attributes": {
"id": "ffa74e8b48c400def9c11c6476238ebf",
"tags": [],
"doc": null,
"start": 1.4,
"end": 5.72
}
},
{
"type": "LinearAxis",
"id": "518cc0ab51e4f1b325363b1d4ea6d34e",
"attributes": {
"id": "518cc0ab51e4f1b325363b1d4ea6d34e",
"tags": [],
"doc": null,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"axis_label": "Sepal.Length",
"formatter": {
"type": "BasicTickFormatter",
"id": "cfd02fbf87efce4064b8648923511ecb"
},
"ticker": {
"type": "BasicTicker",
"id": "768b392741608c3f7f02bde20c51e63a"
},
"visible": true
}
},
{
"type": "BasicTickFormatter",
"id": "cfd02fbf87efce4064b8648923511ecb",
"attributes": {
"id": "cfd02fbf87efce4064b8648923511ecb",
"tags": [],
"doc": null
}
},
{
"type": "BasicTicker",
"id": "768b392741608c3f7f02bde20c51e63a",
"attributes": {
"id": "768b392741608c3f7f02bde20c51e63a",
"tags": [],
"doc": null,
"num_minor_ticks": 5
}
},
{
"type": "Grid",
"id": "970d23d77476ba3c5d58f5befcca811e",
"attributes": {
"id": "970d23d77476ba3c5d58f5befcca811e",
"tags": [],
"doc": null,
"dimension": 0,
"plot": {
"type": "Plot",
"id": "a57e43d6b7e067caeaa2a9159e4e5d59",
"subtype": "Figure"
},
"ticker": {
"type": "BasicTicker",
"id": "768b392741608c3f7f02bde20c51e63a"
}
}
}
];
Bokeh.load_models(all_models);
var model = Bokeh.Collections(modeltype).get(modelid);
var view = new model.default_view({model: model, el: '#08fd29cc51d3761133a159ca4f697be5'});
Bokeh.index[modelid] = view;
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment