Skip to content

Instantly share code, notes, and snippets.

View canavandl's full-sized avatar

Luke Canavan canavandl

  • Austin, TX
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@canavandl
canavandl / static_rgba_plot.html
Created May 29, 2015 16:49
Static slider interaction example for Bokeh
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<style>
/* BEGIN /home/canavandl/anaconda/envs/bokeh-prod/lib/python3.4/site-packages/bokeh/server/static/css/bokeh.min.css */
.bk-bs-container,.bk-bs-container-fluid{margin-left:auto;padding-left:15px;padding-right:15px;margin-right:auto}.bk-bs-btn,.bk-toolbar-button{-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.bk-bs-btn,.bk-bs-btn-danger.bk-bs-active,.bk-bs-btn-danger:active,.bk-bs-btn-default.bk-bs-active,.bk-bs-btn-default:active,.bk-bs-btn-info.bk-bs-active,.bk-bs-btn-info:active,.bk-bs-btn-success.bk-bs-active,.bk-bs-btn-success:active,.bk-bs-btn-warning.bk-bs-active,.bk-bs-btn-warning:active,.bk-bs-btn.bk-bs-active,.bk-bs-btn:active,.bk-bs-dropdown-menu>.bk-bs-disabled>a:focus,.bk-bs-dropdown-menu>.bk-bs-disabled>a:hover,.bk-bs-form-control,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-danger,.bk-bs-open .bk-bs-
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@canavandl
canavandl / TapTool.ipynb
Created June 10, 2015 18:02
demo of TapTool callback
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@canavandl
canavandl / named_objects_example.ipynb
Last active August 29, 2015 14:23
named_objects_example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
_ = require "underscore"
HasParent = require "../../common/has_parent"
PlotWidget = require "../../common/plot_widget"
properties = require "../../common/properties"
class ArrowView extends PlotWidget
initialize: (options) ->
super(options)
@fill_props = new properties.Fill({obj: @model, prefix: ''})
(bokeh-dev)➜ bokehjs git:(master) ✗ gulp
[12:29:08] Using gulpfile ~/dev/bokeh/bokehjs/gulpfile.js
[12:29:08] Starting 'default'...
[12:29:08] Building BokehJS for developer mode ...
[12:29:08] Starting 'build'...
[12:29:08] Starting 'scripts'...
[12:29:08] Starting 'scripts:build'...
[12:29:09] Starting 'styles'...
[12:29:09] Starting 'styles:build'...
[12:29:17] Finished 'styles:build' after 8.4 s
('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')