8000 Backport PR #12227: Use (float, float) as paramter type for 2D positions · meeseeksmachine/matplotlib@bda5d67 · GitHub
[go: up one dir, main page]

Skip to content

Commit bda5d67

Browse files
jklymakMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR matplotlib#12227: Use (float, float) as paramter type for 2D positions
1 parent ea13253 commit bda5d67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/devel/documenting_mpl.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,8 @@ rules expand on them where the numpydoc conventions are not specific.
426426

427427
Use ``float`` for a type that can be any number.
428428

429+
Use ``(float, float)`` to describe a 2D position.
430+
429431
Use ``array-like`` for homogeneous numeric sequences, which could
430432
typically be a numpy.array. Dimensionality may be specified using ``2D``,
431433
``3D``, ``n-dimensional``. If you need to have variables denoting the

0 commit comments

Comments
 (0)
0