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

Appearance settings

Commit 92c6cd3

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎lib/mpl_toolkits/mplot3d/axes3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/axes3d.py
+3-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.