From bda5d6787d2d40e9b6996718a646703a84aa483f Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Sun, 23 Sep 2018 08:16:41 -0700 Subject: [PATCH] Backport PR #12227: Use (float, float) as paramter type for 2D positions --- doc/devel/documenting_mpl.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/devel/documenting_mpl.rst b/doc/devel/documenting_mpl.rst index 42f5bd89cb88..88764add02df 100644 --- a/doc/devel/documenting_mpl.rst +++ b/doc/devel/documenting_mpl.rst @@ -426,6 +426,8 @@ rules expand on them where the numpydoc conventions are not specific. Use ``float`` for a type that can be any number. +Use ``(float, float)`` to describe a 2D position. + Use ``array-like`` for homogeneous numeric sequences, which could typically be a numpy.array. Dimensionality may be specified using ``2D``, ``3D``, ``n-dimensional``. If you need to have variables denoting the