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

Skip to content

Commit 30c3d78

Browse files
authored
Merge pull request #31405 from anntzer/saxd
Tweak secondary_{x,y}axis docs.
2 parents 2938b41 + b3d6379 commit 30c3d78

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,8 @@ def secondary_xaxis(self, location, functions=None, *, transform=None, **kwargs)
556556
"""
557557
Add a second x-axis to this `~.axes.Axes`.
558558
559-
For example if we want to have a second scale for the data plotted on
560-
the xaxis.
559+
This axis is typically used to display a second x-scale for the data
560+
plotted on the Axes.
561561
562562
%(_secax_docstring)s
563563
@@ -610,8 +610,8 @@ def secondary_yaxis(self, location, functions=None, *, transform=None, **kwargs)
610610
"""
611611
Add a second y-axis to this `~.axes.Axes`.
612612
613-
For example if we want to have a second scale for the data plotted on
614-
the yaxis.
613+
This axis is typically used to display a second y-scale for the data
614+
plotted on the Axes.
615615
616616
%(_secax_docstring)s
617617

0 commit comments

Comments
 (0)