This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
('CompoundID', 'CAS', 'Alternative Name', 'LastEditDateTime') | |
('45161', '13466-78-9', '.DELTA.3-Carene $$ Bicyclo[4.1.0]hept-3-ene, 3,7,7-trimethyl- (CAS)', '2014-04-23T15:58:11.0710112-04:00') | |
('45162', '13466-78-9', '.DELTA.3-Carene $$ Bicyclo[4.1.0]hept-3-ene, 3,7,7-trimethyl- (CAS)', '2014-04-23T15:58:11.0710112-04:00') | |
('45163', '13466-78-9', '.DELTA.3-Carene $$ Bicyclo[4.1.0]hept-3-ene, 3,7,7-trimethyl- (CAS)', '2014-04-23T15:58:11.0710112-04:00') | |
('45164', '13466-78-9', '.DELTA.3-Carene $$ Bicyclo[4.1.0]hept-3-ene, 3,7,7-trimethyl- (CAS)', '2014-04-23T15:58:11.0710112-04:00') | |
('45165', '13466-78-9', '.DELTA.3-Carene $$ Bicyclo[4.1.0]hept-3-ene, 3,7,7-trimethyl- (CAS)', '2014-04-23T15:58:11.0710112-04:00') | |
('45166', '13466-78-9', '.DELTA.3-Carene $$ Bicyclo[4.1.0]hept-3-ene, 3,7,7-trimethyl- (CAS)', '2014-04-23T15:58:11.0710112-04:00') | |
('45167', '13466-78-9', '.DELTA.3-Carene $$ Bicyclo[4.1.0]hept-3-ene, 3,7,7-trimethyl- (CAS)', '2014-04-23T15:58:11.0710112-04:00') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fatal Python error: GC object already tracked | |
Thread 0x000000010ea03000 (most recent call first): | |
File "/Users/lcanavan/anaconda3/envs/trialbox/lib/python3.4/site-packages/dask/diagnostics/progress.py", line 114 in _timer_func | |
File "/Users/lcanavan/anaconda3/envs/trialbox/lib/python3.4/threading.py", line 859 in run | |
File "/Users/lcanavan/anaconda3/envs/trialbox/lib/python3.4/threading.py", line 911 in _bootstrap_inner | |
File "/Users/lcanavan/anaconda3/envs/trialbox/lib/python3.4/threading.py", line 879 in _bootstrap | |
Thread 0x000000010d8df000 (most recent call first): | |
File "/Users/lcanavan/anaconda3/envs/trialbox/lib/python3.4/threading.py", line 290 in wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bokeh.plotting import figure | |
from bokeh.models import Label, Plot, Range1d | |
from bokeh.io import output_file, show | |
output_file('out.html') | |
p = Plot(width=600, height=600, | |
x_range=Range1d(0,10), y_range=Range1d(0,10)) | |
label_left1 = Label( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bokeh.models import Tool, Plot, Range1d, LinearAxis, Span | |
from bokeh.core.properties import Instance | |
from bokeh.io import output_file, show | |
DEFAULT_OVERLAY = lambda: Span( | |
render_mode='css', | |
level="overlay", | |
location_units="screen", | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bokeh.io import output_file, show | |
import joblib | |
from vis.bokeh_plots.cross_filter import parse_es_response, queries_plot | |
output_file('query.html') | |
pages = joblib.load('ml_index.pkl') | |
pages = parse_es_response(pages) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ColorBar = require "models/annotations/color_bar" | |
GammaMapper = require "models/mappers/gamma_mapper" | |
LogMapper = require "models/mappers/log_mapper" | |
LinearMapper = require "models/mappers/linear_mapper" | |
LinearColorMapper = require "models/mappers/linear_color_mapper" | |
Range1d = require "models/ranges/range1d" | |
p = require "core/properties" | |
class BandedColorBarView extends ColorBar.View | |
bind_bokeh_events: () -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bokeh.plotting import figure, show | |
from bokeh.models import CustomJS | |
from inspector_tool import InspectorTool | |
p = figure(tools='') | |
p.circle(x=[1,2,3], y=[1,2,3]) | |
inspect = InspectorTool( | |
on_keydown=CustomJS(code="console.log('keydown event')"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bokeh.plotting import figure, show | |
from bokeh.models import CustomJS | |
from inspector_tool import InspectorTool | |
p = figure(tools='') | |
p.circle(x=[1,2,3], y=[1,2,3]) | |
inspect = InspectorTool( | |
on_keydown=CustomJS(code="console.log('keydown event')"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Country Phenotypes", | |
"slides": [ | |
{ | |
"title": "10 Basic", | |
"content": "<script data-bokeh-doc-id=\"\" data-bokeh-model-id=\"\" id=\"8f74dbd0-9847-497e-bc1d-c8dffe7a96f9\" src=\"data:application\/javascript;base64,CihmdW5jdGlvbihnbG9iYWwpIHsKICBmdW5jdGlvbiBub3coKSB7CiAgICByZXR1cm4gbmV3IERhdGUoKTsKICB9CgogIGlmICh0eXBlb2YgKHdpbmRvdy5fYm9rZWhfb25sb2FkX2NhbGxiYWNrcykgPT09ICJ1bmRlZmluZWQiKSB7CiAgICB3aW5kb3cuX2Jva2VoX29ubG9hZF9jYWxsYmFja3MgPSBbXTsKICB9CgogIGZ1bmN0aW9uIHJ1bl9jYWxsYmFja3MoKSB7CiAgICB3aW5kb3cuX2Jva2VoX29ubG9hZF9jYWxsYmFja3MuZm9yRWFjaChmdW5jdGlvbihjYWxsYmFjaykgeyBjYWxsYmFjaygpIH0pOwogICAgZGVsZXRlIHdpbmRvdy5fYm9rZWhfb25sb2FkX2NhbGxiYWNrcwogICAgY29uc29sZS5pbmZvKCJCb2tlaDogYWxsIGNhbGxiYWNrcyBoYXZlIGZpbmlzaGVkIik7CiAgfQoKICBmdW5jdGlvbiBsb2FkX2xpYnMoanNfdXJscywgY2FsbGJhY2spIHsKICAgIHdpbmRvdy5fYm9rZWhfb25sb2FkX2NhbGxiYWNrcy5wdXNoKGNhbGxiYWNrKTsKICAgIGlmICh3aW5kb3cuX2Jva2VoX2lzX2xvYWRpbmcgPiAwKSB7CiAgICAgIGNvbnNvbGUubG9nKCJCb2tlaDogQm9rZWhKUyBpcyBiZWluZyBsb2FkZWQsIHNjaGVkdWxpbmcgY2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Used to generate the JS implementation in inspector_tool.py | |
import * as _ from "underscore" | |
import {GestureTool, GestureToolView} from "models/tools/gestures/gesture_tool" | |
import * as p from "core/properties" | |
export class InspectorToolView extends GestureToolView | |
_keydown: (e) -> |