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

Skip to content

Commit b204f51

Browse files
committed
Fix comma splices
1 parent 5ef27cb commit b204f51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/intermediate/legend_guide.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
plt.show()
8484

8585
###############################################################################
86-
# There are many supported legend handles, instead of creating a patch of color
86+
# There are many supported legend handles. Instead of creating a patch of color
8787
# we could have created a line with a marker:
8888

8989
import matplotlib.lines as mlines
@@ -137,7 +137,7 @@
137137
# the :func:`legend` function multiple times, you will find that only one
138138
# legend ever exists on the Axes. This has been done so that it is possible
139139
# to call :func:`legend` repeatedly to update the legend to the latest
140-
# handles on the Axes, so to persist old legend instances, we must add them
140+
# handles on the Axes. To keep old legend instances, we must add them
141141
# manually to the Axes:
142142

143143
line1, = plt.plot([1, 2, 3], label="Line 1", linestyle='--')

0 commit comments

Comments
 (0)