Thanks to visit codestin.com Credit goes to github.com
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.
1 parent b7bccee commit 7f152f4Copy full SHA for 7f152f4
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