Skip to content

Instantly share code, notes, and snippets.

@hafen
Created July 28, 2017 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hafen/f3fb889f32d0f8d28af4df63dbb6761b to your computer and use it in GitHub Desktop.
Save hafen/f3fb889f32d0f8d28af4df63dbb6761b to your computer and use it in GitHub Desktop.
{
"57ba29691ef731fad0a64e2b6f80a258": {
"version": "0.12.6",
"title": "Bokeh Figure",
"roots": {
"root_ids": [
"94dc4a59d0f4a1255c1f25135cc15e70"
],
"references": [
{
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot",
"subtype": "Figure",
"attributes": {
"plot_height": 600,
"toolbar_location": "above",
"plot_width": 600,
"lod_factor": 10,
"lod_timeout": 500,
"lod_threshold": null,
"h_symmetry": true,
"lod_interval": 300,
"v_symmetry": false,
"below": [
{
"id": "77e98bf0cbf918644618988e3b481218",
"type": "CategoricalAxis"
}
],
"left": [
{
"id": "322c0bcce2a612beec296e960c52d39e",
"type": "CategoricalAxis"
}
],
"x_range": {
"id": "493df3362c101a706bc29662c6d68ab1",
"type": "FactorRange"
},
"y_range": {
"id": "4915a84bc6cabb154b0374d1292b169c",
"type": "FactorRange"
},
"renderers": [
{
"id": "22c5bc6bb06e320cfe3a7628317d7f62",
"type": "GlyphRenderer"
},
{
"id": "77e98bf0cbf918644618988e3b481218",
"type": "CategoricalAxis"
},
{
"id": "c0c067634d1f6fed0fea940a0c2e20a3",
"type": "Grid"
},
{
"id": "322c0bcce2a612beec296e960c52d39e",
"type": "CategoricalAxis"
},
{
"id": "2d2325dbaf0177f2c8186b45dfd3a8aa",
"type": "Grid"
},
{
"id": "2dc7b0adbe1bea8a32ce199f382bd98c",
"type": "BoxAnnotation"
}
],
"tool_events": {
"id": "7de555b3a43b78343b659e567ccda58c",
"type": "ToolEvents"
},
"toolbar": {
"id": "22562942c0fe8b10fe386befafe0981a",
"type": "Toolbar"
}
}
},
{
"id": "97c789f4ec7d05babebdee81645937f1",
"type": "ColumnDataSource",
"attributes": {
"name": "l1_data",
"column_names": [
"x",
"y"
],
"data": {
"x": ["a", "b", "c", "d", "e", "f"],
"y": ["a", "b", "c", "d", "e", "f"]
}
}
},
{
"id": "3de8cea2712de7e852815aab1ce35b40",
"type": "Circle",
"attributes": {
"size": {
"units": "screen",
"value": 10
},
"name": "l1_glyph",
"fill_alpha": {
"value": 0.5
},
"line_color": {
"value": "#1F77B4"
},
"fill_color": {
"value": "#1F77B4"
},
"line_alpha": {
"value": 1
},
"y": {
"field": "y"
},
"x": {
"field": "x"
}
}
},
{
"id": "ac593c87ecd8705b8bb361fe79543445",
"type": "Circle",
"attributes": {
"size": {
"units": "screen",
"value": 10
},
"name": "l1_ns_glyph",
"fill_alpha": {
"value": 0.375
},
"line_color": {
"value": "#bbbbbb"
},
"fill_color": {
"value": "#bbbbbb"
},
"line_alpha": {
"value": 0.75
},
"y": {
"field": "y"
},
"x": {
"field": "x"
}
}
},
{
"id": "902e0f19ceeef0bb15291f3561ea7337",
"type": "Circle",
"attributes": {
"size": {
"units": "screen",
"value": 10
},
"name": "l1_hov_glyph",
"fill_alpha": {
"value": 1
},
"line_color": {
"value": "#1F77B4"
},
"fill_color": {
"value": "#1F77B4"
},
"line_alpha": {
"value": 1
},
"y": {
"field": "y"
},
"x": {
"field": "x"
}
}
},
{
"id": "6b5f60dcac41730f36e69a229c004eb6",
"type": "Circle",
"attributes": {
"size": {
"units": "screen",
"value": 10
},
"name": "l1_sel_glyph",
"fill_alpha": {
"value": 0.5
},
"line_color": {
"value": "#1F77B4"
},
"fill_color": {
"value": "#1F77B4"
},
"line_alpha": {
"value": 1
},
"y": {
"field": "y"
},
"x": {
"field": "x"
}
}
},
{
"id": "22c5bc6bb06e320cfe3a7628317d7f62",
"type": "GlyphRenderer",
"attributes": {
"glyph": {
"id": "3de8cea2712de7e852815aab1ce35b40",
"type": "Circle"
},
"name": "l1_glyph_rend",
"data_source": {
"id": "97c789f4ec7d05babebdee81645937f1",
"type": "ColumnDataSource"
},
"nonselection_glyph": {
"id": "ac593c87ecd8705b8bb361fe79543445",
"type": "Circle"
},
"hover_glyph": {
"id": "902e0f19ceeef0bb15291f3561ea7337",
"type": "Circle"
},
"selection_glyph": {
"id": "6b5f60dcac41730f36e69a229c004eb6",
"type": "Circle"
}
}
},
{
"id": "5c7d1d302fed08c1057fb53792f03d5a",
"type": "CategoricalTicker",
"attributes": {}
},
{
"id": "c0c067634d1f6fed0fea940a0c2e20a3",
"type": "Grid",
"attributes": {
"ticker": {
"id": "5c7d1d302fed08c1057fb53792f03d5a",
"type": "CategoricalTicker"
},
"dimension": 0,
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "0a6c22d0ad134159a70b0c3c5b37ac3f",
"type": "CategoricalTickFormatter",
"attributes": {}
},
{
"id": "77e98bf0cbf918644618988e3b481218",
"type": "CategoricalAxis",
"attributes": {
"formatter": {
"id": "0a6c22d0ad134159a70b0c3c5b37ac3f",
"type": "CategoricalTickFormatter"
},
"ticker": {
"id": "5c7d1d302fed08c1057fb53792f03d5a",
"type": "CategoricalTicker"
},
"axis_label": "x",
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "493df3362c101a706bc29662c6d68ab1",
"type": "FactorRange",
"attributes": {
"factors": [
"a",
"b",
"c",
"d",
"e",
"f"
]
}
},
{
"id": "d0a7cfdd828e8acf9f21b04d407995fb",
"type": "CategoricalTicker",
"attributes": {}
},
{
"id": "2d2325dbaf0177f2c8186b45dfd3a8aa",
"type": "Grid",
"attributes": {
"ticker": {
"id": "d0a7cfdd828e8acf9f21b04d407995fb",
"type": "CategoricalTicker"
},
"dimension": 1,
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "26413efc767a601d85040c6a496c6a58",
"type": "CategoricalTickFormatter",
"attributes": {}
},
{
"id": "322c0bcce2a612beec296e960c52d39e",
"type": "CategoricalAxis",
"attributes": {
"formatter": {
"id": "26413efc767a601d85040c6a496c6a58",
"type": "CategoricalTickFormatter"
},
"ticker": {
"id": "d0a7cfdd828e8acf9f21b04d407995fb",
"type": "CategoricalTicker"
},
"axis_label": "y",
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "4915a84bc6cabb154b0374d1292b169c",
"type": "FactorRange",
"attributes": {
"factors": [
"a",
"b",
"c",
"d",
"e",
"f"
]
}
},
{
"id": "b0174aba75cfe9062fcad87a1c57359a",
"type": "BoxZoomTool",
"attributes": {
"overlay": {
"id": "2dc7b0adbe1bea8a32ce199f382bd98c",
"type": "BoxAnnotation"
},
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "28f61f8194916ece00ab40c23ca6ff40",
"type": "BoxSelectTool",
"attributes": {
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
},
"overlay": {
"id": "2dc7b0adbe1bea8a32ce199f382bd98c",
"type": "BoxAnnotation"
}
}
},
{
"id": "d3171f4e9411e6213622904ac9ab1609",
"type": "ResetTool",
"attributes": {
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "0f7117ab9376af3b00ab8178374f3193",
"type": "HelpTool",
"attributes": {
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "66c26613c12c9322538db0908bbda444",
"type": "PanTool",
"attributes": {
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "c0eed75a8005a8522fa19bf206139b6e",
"type": "WheelZoomTool",
"attributes": {
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "cb8a7ce995ed1d00037f3bb23bf0397c",
"type": "SaveTool",
"attributes": {
"plot": {
"id": "94dc4a59d0f4a1255c1f25135cc15e70",
"type": "Plot"
}
}
},
{
"id": "2dc7b0adbe1bea8a32ce199f382bd98c",
"type": "BoxAnnotation",
"attributes": {
"right_units": "screen",
"fill_alpha": {
"value": 0.5
},
"level": "overlay",
"line_color": {
"value": "black"
},
"fill_color": {
"value": "lightgrey"
},
"line_alpha": {
"value": 1
},
"left_units": "screen",
"line_width": {
"value": 2
},
"bottom_units": "screen",
"render_mode": "css",
"line_dash": [
4,
4
],
"top_units": "screen"
}
},
{
"id": "7de555b3a43b78343b659e567ccda58c",
"type": "ToolEvents",
"attributes": {}
},
{
"id": "22562942c0fe8b10fe386befafe0981a",
"type": "Toolbar",
"attributes": {
"active_tap": "auto",
"active_drag": "auto",
"active_scroll": "auto",
"tools": [
{
"id": "b0174aba75cfe9062fcad87a1c57359a",
"type": "BoxZoomTool"
},
{
"id": "28f61f8194916ece00ab40c23ca6ff40",
"type": "BoxSelectTool"
},
{
"id": "d3171f4e9411e6213622904ac9ab1609",
"type": "ResetTool"
},
{
"id": "0f7117ab9376af3b00ab8178374f3193",
"type": "HelpTool"
},
{
"id": "66c26613c12c9322538db0908bbda444",
"type": "PanTool"
},
{
"id": "c0eed75a8005a8522fa19bf206139b6e",
"type": "WheelZoomTool"
},
{
"id": "cb8a7ce995ed1d00037f3bb23bf0397c",
"type": "SaveTool"
}
]
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment