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 d179666

Browse filesBrowse files
authored
Merge pull request matplotlib#29574 from scottshambaugh/3d_depthshade_whats_new
3D depthshade what's new plot
2 parents dd8dbca + bc0b336 commit d179666
Copy full SHA for d179666

File tree

Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed

‎doc/users/next_whats_new/depthshading_improvement.rst

Copy file name to clipboardExpand all lines: doc/users/next_whats_new/depthshading_improvement.rst
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ A simple example:
3030
S = [(i + 1) * 400 for i in range(10)]
3131

3232
ax.scatter(
33-
xs=X,
34-
ys=Y,
35-
zs=Z,
36-
s=S,
33+
xs=X, ys=Y, zs=Z, s=S,
3734
depthshade=True,
3835
depthshade_minalpha=0.3,
3936
)
37+
ax.view_init(elev=10, azim=-150, roll=0)
4038

4139
plt.show()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.