Skip to content

Commit

Permalink
Merge pull request ProjectDrawdown#206 from ProjectDrawdown/geo
Browse files Browse the repository at this point in the history
Fix geo charts in Jupyter
  • Loading branch information
DentonGentry authored Aug 11, 2020
2 parents e732b26 + c48f222 commit d1e981f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
File renamed without changes.
2 changes: 0 additions & 2 deletions ui/charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,6 @@ def get_adoption_data_tab(self, solutions):
pds_per_region_melted = pds_per_region.reset_index().melt(
'Year', value_name='adoption', var_name='region')[['region', 'adoption']]
chart = alt.Chart(geo_source).mark_geoshape(
fill='#dddddd',
stroke='black',
).encode(
color=alt.Color('adoption:Q', scale=alt.Scale(scheme='greens')),
Expand Down Expand Up @@ -1375,7 +1374,6 @@ def get_adoption_data_tab(self, solutions):
pds_percent_per_region_melted = pds_percent_per_region.reset_index().melt(
'Year', value_name='percent', var_name='region')[['region', 'percent']]
chart = alt.Chart(geo_source).mark_geoshape(
fill='#dddddd',
stroke='black',
).encode(
color=alt.Color('percent:Q', scale=alt.Scale(scheme='greens')),
Expand Down

0 comments on commit d1e981f

Please sign in to comment.