8000 Backport PR #14438: Issue #14372 - Add degrees to documentation · matplotlib/matplotlib@92c6cd3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 92c6cd3

Browse files
timhoffmMeeseeksDev[bot]
authored andcommitted
Backport PR #14438: Issue #14372 - Add degrees to documentation
1 parent 0b9d764 commit 92c6cd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -955,12 +955,12 @@ def clabel(self, *args, **kwargs):
955955

956956
def view_init(self, elev=None, azim=None):
957957
"""
958-
Set the elevation and azimuth of the axes.
958+
Set the elevation and azimuth of the axes in degrees (not radians).
959959
960960
This can be used to rotate the axes programmatically.
961961
962-
'elev' stores the elevation angle in the z plane.
963-
'azim' stores the azimuth angle in the x,y plane.
962+
'elev' stores the elevation angle in the z plane (in degrees).
963+
'azim' stores the azimuth angle in the x,y plane (in degrees).
964964
965965
if elev or azim are None (default), then the initial value
966966
is used which was specified in the :class:`Axes3D` constructor.

0 commit comments

Comments
 (0)
0