Notes from the Dash and Donuts workshop. See the comments below!
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
Show hidden characters
[ | |
/* Navigate quickly through a file - Move by horizontally words and vertically by blocks */ | |
{ "keys": ["ctrl+l"], "command": "move", "args": {"by": "subwords", "forward": true}}, | |
{ "keys": ["ctrl+j"], "command": "move", "args": {"by": "subwords", "forward": false}}, | |
{ "keys": ["ctrl+option+k"], "command": "move", "args": {"by": "stops", "forward": true, "empty_line": true}}, | |
{ "keys": ["ctrl+option+i"], "command": "move", "args": {"by": "stops", "forward": false, "empty_line": true}}, | |
/* Fine-grained navigation - Move horizontally by characters and vertically by lines */ | |
{ "keys": ["ctrl+option+l"], "command": "move", "args": {"by": "characters", "forward": true}}, | |
{ "keys": ["ctrl+option+j"], "command": "move", "args": {"by": "characters", "forward": false}}, |
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
>>> go.Carpet? | |
Init signature: go.Carpet(a=None, a0=None, aaxis=None, asrc=None, | |
b=None, b0=None, baxis=None, bsrc=None, | |
carpet=None, cheaterslope=None, color=None, | |
customdata=None, customdatasrc=None, | |
da=None, db=None, font=None, hoverinfo=None, | |
hoverinfosrc=None, hoverlabel=None, | |
ids=None, idssrc=None, legendgroup=None, | |
name=None, opacity=None, selectedpoints=None, |
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
'atom-text-editor:not([mini])': | |
'ctrl-i': 'core:move-up' | |
'ctrl-k': 'core:move-down' | |
'ctrl-j': 'editor:move-to-beginning-of-word' | |
'ctrl-l': 'editor:move-to-end-of-word' | |
'ctrl-alt-i': 'editor:move-to-beginning-of-previous-paragraph' | |
'ctrl-alt-k': 'editor:move-to-beginning-of-next-paragraph' | |
'shift-ctrl-alt-i': 'editor:select-to-beginning-of-previous-paragraph' | |
'shift-ctrl-alt-k': 'editor:select-to-beginning-of-next-paragraph' |
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
``` | |
ubuntu@box212:~$ pyenv versions | |
system | |
2.7.10 | |
* 2.7.11 (set by /opt/circleci/.pyenv/version) | |
2.7.12 | |
3.1.4 | |
3.1.5 | |
3.2.5 | |
3.2.6 |
I hereby claim:
- I am chriddyp on github.
- I am chriddyp (https://keybase.io/chriddyp) on keybase.
- I have a public key ASDnhF966uk0KaYGB31-veEOIl_pLQ4MWUNCvwd8FLsDjQo
To claim this, I am signing this object:
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
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
import plotly.graph_objs as go | |
import pandas as pd | |
app = dash.Dash() | |
df = pd.read_csv( | |
'https://gist.githubusercontent.com/chriddyp/' |
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
# See official docs at https://dash.plotly.com | |
# pip install dash pandas | |
from dash import Dash, dcc, html, Input, Output | |
import plotly.express as px | |
import pandas as pd | |
df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/gapminderDataFiveYear.csv') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder