Skip to content

Commit

Permalink
Backport PR matplotlib#29068: [DOC] Fix indentation in sync_cmaps exa…
Browse files Browse the repository at this point in the history
…mple
  • Loading branch information
timhoffm authored and meeseeksmachine committed Nov 4, 2024
1 parent 0e44670 commit 68fdc8a
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 68fdc8a

Please sign in to comment.