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

Skip to content

Commit 476c265

Browse files
committed
Fix typos in tight layout guide
1 parent c2e09e8 commit 476c265

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/intermediate/tight_layout_guide.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def example_plot(ax, fontsize=12):
289289
# Pre Matplotlib 2.2, legends and annotations were excluded from the bounding
290290
# box calculations that decide the layout. Subsequently these artists were
291291
# added to the calculation, but sometimes it is undesirable to include them.
292-
# For instance in this case it might be good to have the axes shring a bit
292+
# For instance in this case it might be good to have the axes shrink a bit
293293
# to make room for the legend:
294294

295295
fig, ax = plt.subplots(figsize=(4, 3))
@@ -349,8 +349,8 @@ def example_plot(ax, fontsize=12):
349349
plt.tight_layout()
350350

351351
###############################################################################
352-
# Another option is to use AxesGrid1 toolkit to
353-
# explicitly create an axes for colorbar.
352+
# Another option is to use the AxesGrid1 toolkit to
353+
# explicitly create an axes for the colorbar.
354354

355355
from mpl_toolkits.axes_grid1 import make_axes_locatable
356356

0 commit comments

Comments
 (0)