Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
{
"Range": {
"proto": "{\"callback\": null, \"id\": \"63ca2ccf-e335-45d8-84aa-f6e54166546b\", \"js_event_callbacks\": {}, \"js_property_callbacks\": {}, \"name\": null, \"subscribed_events\": [], \"tags\": []}",
"desc": "A base class for all range types.\n\n \n .. note::\n This is an abstract base class used to help organize the hierarchy of Bokeh\n model types. **It is not useful to instantiate on its own.**",
"bases": [
"bokeh.model.Model"
],
"props": [
{
"desc": "A callback to run in the browser whenever the range is updated.",
@hafen
hafen / trelliscopejs-output.R
Created April 10, 2017 22:06
writing trelliscopejs
library(trelliscopejs)
library(ggplot2)
qplot(cty, hwy, data = mpg) +
geom_abline(alpha = 0.5) +
xlim(7, 37) + ylim(9, 47) + theme_bw() +
facet_trelliscope(~ manufacturer + class, nrow = 2, ncol = 4, path = "/tmp/myplot")
# this places a self-contained trellisopejs display in the directory /tmp/myplot
list.files("/tmp/myplot")
@hafen
hafen / .block
Created March 27, 2017 13:54
dt_pokemon
license: none
height:
scrolling: no
border: yes
@hafen
hafen / .block
Created March 27, 2017 13:52
dt_gapminder
license: none
height:
scrolling: no
border: yes
@hafen
hafen / .block
Created January 11, 2017 23:06
visNetwork
license: none
height:
scrolling: no
border: yes
@hafen
hafen / .block
Created January 11, 2017 20:43
gapminder_rbokeh
license: none
height:
scrolling: no
border: yes
@hafen
hafen / .block
Created January 11, 2017 20:11
gapminder_ggplotly
license: none
height:
scrolling: no
border: yes
@hafen
hafen / .block
Created November 3, 2016 08:27
grid theme
license: none
height: 300
scrolling: no
border: yes
@hafen
hafen / .block
Last active January 14, 2019 23:25
gmap US Population
license: none
height: 400
scrolling: no
border: yes
@hafen
hafen / .block
Created November 3, 2016 08:23
gmap US Population
license: none
height: 400
scrolling: no
border: yes