Skip to content

Commit 999a403

Browse files
authored
Merge pull request #15803 from meeseeksmachine/auto-backport-of-pr-15795-on-v3.2.x
Backport PR #15795 on branch v3.2.x (Remove incorrect statement re: colorbars in image tutorial.)
2 parents 79b5648 + 4a2327d commit 999a403

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tutorials/introductory/images.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -175,17 +175,12 @@
175175
# ------------------------
176176
#
177177
# It's helpful to have an idea of what value a color represents. We can
178-
# do that by adding color bars.
178+
# do that by adding a color bar to your figure:
179179

180180
imgplot = plt.imshow(lum_img)
181181
plt.colorbar()
182182

183183
###############################################################################
184-
# This adds a colorbar to your existing figure. This won't
185-
# automatically change if you switch to a different
186-
# colormap - you have to re-create your plot, and add in the colorbar
187-
# again.
188-
#
189184
# .. _`Data ranges`:
190185
#
191186
# Examining a specific data range

0 commit comments

Comments
 (0)