8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b1fcf6 + a6bf1b4 commit 39c997eCopy full SHA for 39c997e
lib/matplotlib/projections/polar.py
@@ -17,11 +17,16 @@
17
18
class PolarTransform(mtransforms.Transform):
19
"""
20
- The base polar transform. This handles projection *theta* and
21
- *r* into Cartesian coordinate space *x* and *y*, but does not
22
- perform the ultimate affine transformation into the correct
23
- position.
+ The base polar transform.
+
+ This transform maps polar coordinates ``(theta, r)`` into Cartesian
+ coordinates ``(x, y) = (r * cos(theta), r * sin(theta))`` (but does not
24
+ handle positioning in screen space).
25
26
+ Path segments at a fixed radius are automatically transformed to circular
27
+ arcs as long as ``path._interpolation_steps > 1``.
28
29
30
input_dims = output_dims = 2
31
32
def __init__(self, axis=None, use_rmin=True,
0 commit comments