<filename>app.py
# -*- coding: utf-8 -*-
import dash
import dash_core_components as dcc
import dash_html_components as html

external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']

app = dash.Dash(__name__, external_stylesheets=external_stylesheets)

colors = {
	'background':'#111111',
	'text':'#7FDBFF'
}

app.layout = html.Div(style={'backgroundColor':colors['background']},children=[
	html.H1(children='Hello dash!',
		style={'textAlign':'center',
		'color':colors['text']}),

	html.Div(children='''
		Dash: A web app fw for python.
		''', style={'textAlign':'center','color':colors['text']}),

	dcc.Graph(
		id='example-graph',
		figure={
		'data':[
			{'x':[1,2,3], 'y':[4,1,20], 'type':'bar','name':'SF'},
			{'x':[1,2,3],'y':[2,4,16],'type':'bar','name':u'Montreal'},
		],
		'layout': {'title':'Dash Data Visualization for newbies',
		'plot_bgcolor':colors['background'],
		'paper_bgcolor':colors['background'],
		'font':{'color':colors['text']}}


		}

		)

	])
if __name__ == '__main__':
	app.run_server(debug=True)
<filename>app.py
# -*- coding: utf-8 -*-
import dash
import dash_core_components as dcc
import dash_html_components as html

external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']

app = dash.Dash(__name__, external_stylesheets=external_stylesheets)

colors = {
	'background':'#111111',
	'text':'#7FDBFF'
}

app.layout = html.Div(style={'backgroundColor':colors['background']},children=[
	html.H1(children='Hello dash!',
		style={'textAlign':'center',
		'color':colors['text']}),

	html.Div(children='''
		Dash: A web app fw for python.
		''', style={'textAlign':'center','color':colors['text']}),

	dcc.Graph(
		id='example-graph',
		figure={
		'data':[
			{'x':[1,2,3], 'y':[4,1,20], 'type':'bar','name':'SF'},
			{'x':[1,2,3],'y':[2,4,16],'type':'bar','name':u'Montreal'},
		],
		'layout': {'title':'Dash Data Visualization for newbies',
		'plot_bgcolor':colors['background'],
		'paper_bgcolor':colors['background'],
		'font':{'color':colors['text']}}


		}

		)

	])
if __name__ == '__main__':
	app.run_server(debug=True)
# -*- coding: utf-8 -*- Dash: A web app fw for python.