Skip to content

Commit

Permalink
Merge pull request matplotlib#29068 from larrybradley/mult-cbar-docs
Browse files Browse the repository at this point in the history
[DOC] Fix indentation in sync_cmaps example
  • Loading branch information
timhoffm authored Nov 4, 2024
2 parents 6a8211e + 603e484 commit 825dbe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions galleries/examples/images_contours_and_fields/multi_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
#
# def sync_cmaps(changed_image):
# for im in images:
# if changed_image.get_cmap() != im.get_cmap():
# im.set_cmap(changed_image.get_cmap())
# if changed_image.get_cmap() != im.get_cmap():
# im.set_cmap(changed_image.get_cmap())
#
# for im in images:
# im.callbacks.connect('changed', sync_cmaps)
Expand Down

0 comments on commit 825dbe9

Please sign in to comment.