8000 Fix typo · matplotlib/matplotlib@4905246 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4905246

Browse files
Fix typo
1 parent 64b0fb6 commit 4905246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ def secondary_yaxis(self, location, *, functions=None, transform=None, **kwargs)
635635
ax.plot(range(0, 5), range(-1, 4))
636636
637637
# Pass 'ax.transData' as a transform to place the axis
638-
# relative to your data at x=0
638+
# relative to your data at x=3
639639
secax = ax.secondary_yaxis(3, transform=ax.transData)
640640
"""
641641
if not (location in ['left', 'right'] or isinstance(location, Real)):

0 commit comments

Comments
 (0)
0