Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TiVentures committed May 5, 2018
2 parents 8d4f95f + 9e32938 commit e2a8e78
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 1-09-Heatmaps/heat1.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
data = [go.Heatmap(
x=df['DAY'],
y=df['LST_TIME'],
z=df['T_HR_AVG'].values.tolist(),
z=df['T_HR_AVG'],
colorscale='Jet'
)]

Expand Down
2 changes: 1 addition & 1 deletion 1-09-Heatmaps/heat2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
data = [go.Heatmap(
x=df['DAY'],
y=df['LST_TIME'],
z=df['T_HR_AVG'].values.tolist(),
z=df['T_HR_AVG'],
colorscale='Jet'
)]

Expand Down
2 changes: 1 addition & 1 deletion 1-09-Heatmaps/heat3.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
data = [go.Heatmap(
x=df['DAY'],
y=df['LST_TIME'],
z=df['T_HR_AVG'].values.tolist(),
z=df['T_HR_AVG'],
colorscale='Jet'
)]

Expand Down
6 changes: 3 additions & 3 deletions 1-09-Heatmaps/heat4.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
trace1 = go.Heatmap(
x=df1['DAY'],
y=df1['LST_TIME'],
z=df1['T_HR_AVG'].values.tolist(),
z=df1['T_HR_AVG'],
colorscale='Jet',
zmin = 5, zmax = 40 # add max/min color values to make each plot consistent
)
trace2 = go.Heatmap(
x=df2['DAY'],
y=df2['LST_TIME'],
z=df2['T_HR_AVG'].values.tolist(),
z=df2['T_HR_AVG'],
colorscale='Jet',
zmin = 5, zmax = 40
)
trace3 = go.Heatmap(
x=df3['DAY'],
y=df3['LST_TIME'],
z=df3['T_HR_AVG'].values.tolist(),
z=df3['T_HR_AVG'],
colorscale='Jet',
zmin = 5, zmax = 40
)
Expand Down
2 changes: 2 additions & 0 deletions 2-17-CodeAlongMilestoneProject/StockTicker1.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
html.H1('Stock Ticker Dashboard'),
html.H3('Enter a stock symbol:'),
dcc.Input(
id='my_stock_ticker'
value='TSLA' # sets a default value
),
dcc.Graph(
id='my_graph'
figure={
'data': [
{'x': [1,2], 'y': [3,1]}
Expand Down

0 comments on commit e2a8e78

Please sign in to comment.