()
| 137 | return ["background-color: rgba(255, 0, 0, 0.3)" if val > 800 else "" for val in s] |
| 138 | |
| 139 | def _gen_folium(): |
| 140 | return folium.Map(location=[45.372, -121.6972], zoom_start=12, tiles="Stamen Terrain") |
| 141 | |
| 142 | df1 = gen_table_df(10) |
| 143 | styler1 = df1.style.apply(_color_large_vals, axis=1).hide(axis="index") |