Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit98edcfd

Browse files
committed
Math formatting in PolarTransform docstring
1 parent255d385 commit98edcfd

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
classPolarTransform(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)

[8]ページ先頭

©2009-2025 Movatter.jp