diff --git a/tutorials/introductory/images.py b/tutorials/introductory/images.py index e7061d3299c8..88a4c9af869b 100644 --- a/tutorials/introductory/images.py +++ b/tutorials/introductory/images.py @@ -175,17 +175,12 @@ # ------------------------ # # It's helpful to have an idea of what value a color represents. We can -# do that by adding color bars. +# do that by adding a color bar to your figure: imgplot = plt.imshow(lum_img) plt.colorbar() ############################################################################### -# This adds a colorbar to your existing figure. This won't -# automatically change if you switch to a different -# colormap - you have to re-create your plot, and add in the colorbar -# again. -# # .. _`Data ranges`: # # Examining a specific data range