Skip to content

Commit 98edcfd

Browse files
committed
Math formatting in PolarTransform docstring
1 parent 255d385 commit 98edcfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/projections/polar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717

1818
class PolarTransform(mtransforms.Transform):
19-
"""
19+
r"""
2020
The base polar transform.
2121
22-
This transform maps polar coordinates ``(theta, r)`` into Cartesian
23-
coordinates ``(x, y) = (r * cos(theta), r * sin(theta))``
22+
This transform maps polar coordinates :math:`\theta, r` into Cartesian
23+
coordinates :math:`x, y = r \cos(\theta), r \sin(\theta)`
2424
(but does not fully transform into Axes coordinates or
2525
handle positioning in screen space).
2626

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy