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

Skip to content

Commit ad8d10f

Browse files
committed
Use (float, float) as paramter type for 2D positions
1 parent 03b07fb commit ad8d10f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)