Skip to content

Commit dc1e298

Browse files
author
Heather Craker
committed
Addressed Max's suggestions
1 parent 24387ff commit dc1e298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/matplotlib/annotations-colorbars-layouts.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@
544544
"metadata": {},
545545
"source": [
546546
"### The `Normalize` Class\n",
547-
"Note that both plots use the `norm` kwarg. The `Normalize` class linearly normalizes data into the [0, 1] interval. This is used to linearly map the colors in the colormap to the data from `vmin` to `vmax`. In fact, we used this when plotting the histograms just above! The `vmin` and `vmax` kwargs for `hist2d` are simply passed into the `Normalize` function. When making a custom colormap, it is best to specify how you want the data normalized.\n",
547+
"Note that both plots use the `norm` kwarg. The `Normalize` class linearly normalizes data into the [0, 1] interval. This is used to linearly map the colors in the colormap to the data from `vmin` to `vmax`. In fact, we used this functionality in the previous histogram exercise! The `vmin` and `vmax` kwargs for `hist2d` are simply passed into the `Normalize` function. When making a custom colormap, it is best to specify how you want the data normalized.\n",
548548
"\n",
549549
"For non-linear nomalization, check out this [Colormap Normalization tutorial](https://matplotlib.org/stable/tutorials/colors/colormapnorms.html#)."
550550
]

0 commit comments

Comments
 (0)