minor typos corrected in examples/Colormaps.ipynb
"outputs": [],
"source": [
"def my_color_function(feature):\n",
- " \"\"\"Maps low values to green and hugh values to red.\"\"\"\n",
+ " \"\"\"Maps low values to green and high values to red.\"\"\"\n",
" if unemployment_dict[feature['id']] > 6.5:\n",
" return '#ff0000'\n",
" else:\n",
"source": [
"## StepColormap\n",
"\n",
- "But to help you define you colormap, we've embedded `StepColormap` in `folium.colormap`.\n",
+ "But to help you define your colormap, we've embedded `StepColormap` in `folium.colormap`.\n",
"\n",
"You can simply define the colors you want, and the `index` (*thresholds*) that correspond."
]
{
"cell_type": "code",
"execution_count": 18,
- "metadata": {
- "scrolled": false
- },
+ "metadata": {},
"outputs": [
{
"data": {
}
},
"nbformat": 4,
- "nbformat_minor": 1
+ "nbformat_minor": 4
}
