File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 69
69
"outputs": [],
70
70
"source": [
71
71
"def my_color_function(feature):\n",
72
- " \"\"\"Maps low values to green and hugh values to red.\"\"\"\n",
72
+ " \"\"\"Maps low values to green and high values to red.\"\"\"\n",
73
73
" if unemployment_dict[feature['id']] > 6.5:\n",
74
74
" return '#ff0000'\n",
75
75
" else:\n",
119
119
"source": [
120
120
"## StepColormap\n",
121
121
"\n",
122
- "But to help you define you colormap, we've embedded `StepColormap` in `folium.colormap`.\n",
122
+ "But to help you define your colormap, we've embedded `StepColormap` in `folium.colormap`.\n",
123
123
"\n",
124
124
"You can simply define the colors you want, and the `index` (*thresholds*) that correspond."
125
125
]
551
551
{
552
552
"cell_type": "code",
553
553
"execution_count": 18,
554
- "metadata": {
555
- "scrolled": false
556
- },
554
+ "metadata": {},
557
555
"outputs": [
558
556
{
559
557
"data": {
1169
1167
}
1170
1168
},
1171
1169
"nbformat": 4,
1172
- "nbformat_minor": 1
1170
+ "nbformat_minor": 4
1173
1171
}
You can’t perform that action at this time.
0 commit comments