8000 Shorten docstring · matplotlib/matplotlib@d7c31c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit d7c31c3

Browse files
johan12345timhoffm
andauthored
Shorten docstring
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent 6d93918 commit d7c31c3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -808,11 +808,10 @@ def axline(self, xy1, xy2=None, *, slope=None, **kwargs):
808808
all other scales, and thus the behavior is undefined. Please specify
809809
the line using the points *xy1*, *xy2* for non-linear scales.
810810
811-
As part of the ``kwargs``, a 'transform' can be passed. In the case
812-
that a point and a slope are given, the transformation will only be
813-
used for the point and not for the slope, i.e. the slope stays in data
814-
coordinates. This can be used e.g. with ``ax.transAxes`` for drawing
815-
grid lines with a fixed slope.
811+
The *transform* keyword argument only applies to the points *xy1*,
812+
*xy2*. The *slope* (if given) is always in data coordinates. This can
813+
be used e.g. with ``ax.transAxes`` for drawing grid lines with a fixed
814+
slope.
816815
817816
Parameters
818817
----------

0 commit comments

Comments
 (0)
0