Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d662a23

Browse files
author
Jakub Klus
committed
Don't use "unchanged" use "default"
1 parent 9dbdc73 commit d662a23

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorials/intermediate/autoscale.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,18 @@
7878
fig, ax = plt.subplots(ncols=3, figsize=(16, 10))
7979
ax[0].imshow(zz)
8080
ax[0].margins(0.2)
81-
ax[0].set_title("use_sticky_edges unchanged\nmargins(0.2)")
81+
ax[0].set_title("default use_sticky_edges\nmargins(0.2)")
8282
ax[1].imshow(zz)
8383
ax[1].margins(0.2)
8484
ax[1].use_sticky_edges = False
8585
ax[1].set_title("use_sticky_edges=False\nmargins(0.2)")
8686
ax[2].imshow(zz)
8787
ax[2].margins(-0.2)
88-
ax[2].set_title("use_sticky_edges unchanged\nmargins(-0.2)")
88+
ax[2].set_title("default use_sticky_edges\nmargins(-0.2)")
8989

9090
###############################################################################
91-
# We can see that setting ``use_sticky_edges`` to *False* renders the image with
92-
# requested margins.
91+
# We can see that setting ``use_sticky_edges`` to *False* renders the image
92+
# with requested margins.
9393
#
9494
# While sticky edges don't increase the axis limits through extra margins,
9595
# negative margins are still taken into accout. This can be seen in

0 commit comments

Comments
 (0)