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

Skip to content

Commit 5766a07

Browse files
authored
Clean up get_proj() docstring (used view_init docstring as reference)
1 parent 439a122 commit 5766a07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ def view_init(self, elev=None, azim=None):
914914
'elev' stores the elevation angle in the z plane (in degrees).
915915
'azim' stores the azimuth angle in the (x, y) plane (in degrees).
916916
917-
if elev or azim are None (default), then the initial value
917+
if 'elev' or 'azim' are None (default), then the initial value
918918
is used which was specified in the :class:`Axes3D` constructor.
919919
"""
920920

@@ -947,10 +947,10 @@ def get_proj(self):
947947
"""
948948
Create the projection matrix from the current viewing position.
949949
950-
elev stores the elevation angle in the z plane
951-
azim stores the azimuth angle in the (x, y) plane
950+
'elev' stores the elevation angle in the z plane.
951+
'azim' stores the azimuth angle in the (x, y) plane.
952952
953-
dist is the distance of the eye viewing point from the object point.
953+
'dist' is the distance of the eye viewing point from the object point.
954954
"""
955955
# chosen for similarity with the initial view before gh-8896
956956
pb_aspect = np.array([4, 4, 3]) / 3.5

0 commit comments

Comments
 (0)