File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
lib/matplotlib/projections Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 17
17
18
18
class PolarTransform (mtransforms .Transform ):
19
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.
20
+ The base polar transform.
21
+
22
+ This transform maps polar coordinates ``(theta, r)`` into Cartesian
23
+ 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``.
24
28
"""
29
+
25
30
input_dims = output_dims = 2
26
31
27
32
def __init__ (self , axis = None , use_rmin = True ,
You can’t perform that action at this time.
0 commit comments