Skip to content

Commit d179666

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

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/users/next_whats_new/depthshading_improvement.rst

Lines 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)