8000 TST: exercise get_depthshade · matplotlib/matplotlib@021dd9b · GitHub
[go: up one dir, main page]

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

8000
Appearance settings

Commit 021dd9b

Browse files
committed
TST: exercise get_depthshade
1 parent 7cc0b86 commit 021dd9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/mpl_toolkits/tests/test_mplot3d.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ def test_scatter3d_modification(fig_ref, fig_test):
252252
c.set_facecolor('C1')
253253
c.set_edgecolor('C2')
254254
c.set_alpha([0.3, 0.7] * 5)
255+
assert c.get_depthshade()
255256
c.set_depthshade(False)
257+
assert not c.get_depthshade()
256258
c.set_sizes(np.full(10, 75))
257259
c.set_linewidths(3)
258260

@@ -556,7 +558,9 @@ def test_patch_collection_modification(fig_test, fig_ref):
556558
c.set_edgecolor('C2')
557559
c.set_facecolor('C3')
558560
c.set_alpha(0.7)
561+
assert c.get_depthshade()
559562
c.set_depthshade(False)
563+
assert not c.get_depthshade()
560564

561565
patch = Circle((0, 0), 0.05)
562566
c = art3d.Patch3DCollection([patch], linewidths=3,

0 commit comments

Comments
 (0)
0