dylan-plummer commited on
Commit
54a890b
·
1 Parent(s): d30b80e

change cmap

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,7 +119,7 @@ def full_report():
119
  total_map = px.choropleth(country_df, locations="iso",
120
  color="jumps",
121
  hover_name="country", # column to add to hover information
122
- color_continuous_scale ="jet",
123
  projection='natural earth',
124
  template="plotly_dark")
125
  # remove the legend
@@ -132,7 +132,7 @@ def full_report():
132
  county_df = county_df.groupby(['county', 'count_name']).sum().reset_index()
133
 
134
  county_map = px.choropleth(county_df, geojson=counties, locations='county', color='jumps',
135
- color_continuous_scale="jet",
136
  scope="usa",
137
  hover_name="count_name",
138
  template="plotly_dark"
 
119
  total_map = px.choropleth(country_df, locations="iso",
120
  color="jumps",
121
  hover_name="country", # column to add to hover information
122
+ color_continuous_scale ="YlOrRd",
123
  projection='natural earth',
124
  template="plotly_dark")
125
  # remove the legend
 
132
  county_df = county_df.groupby(['county', 'count_name']).sum().reset_index()
133
 
134
  county_map = px.choropleth(county_df, geojson=counties, locations='county', color='jumps',
135
+ color_continuous_scale="YlOrRd",
136
  scope="usa",
137
  hover_name="count_name",
138
  template="plotly_dark"