Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 32c7f42

Browse files
authored
Merge pull request #14438 from RoryIAngus/master
Issue #14372 - Add degrees to documentation
2 parents 87bdd47 + 9d5a04f commit 32c7f42

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
@@ -963,12 +963,12 @@ def clabel(self, *args, **kwargs):
963963

964964
def view_init(self, elev=None, azim=None):
965965
"""
966-
Set the elevation and azimuth of the axes.
966+
Set the elevation and azimuth of the axes in degrees (not radians).
967967
968968
This can be used to rotate the axes programmatically.
969969
970-
'elev' stores the elevation angle in the z plane.
971-
'azim' stores the azimuth angle in the x,y plane.
970+
'elev' stores the elevation angle in the z plane (in degrees).
971+
'azim' stores the azimuth angle in the x,y plane (in degrees).
972972
973973
if elev or azim are None (default), then the initial value
974974
is used which was specified in the :class:`Axes3D` constructor.

0 commit comments

Comments
 (0)