@@ -251,12 +251,15 @@ def test_scatter3d_modification(fig_ref, fig_test):
251251 marker = 'o' )
252252 c .set_facecolor ('C1' )
253253 c .set_edgecolor ('C2' )
254+ c .set_alpha ([0.3 , 0.7 ] * 5 )
255+ c .set_depthshade (False )
254256 c .set_sizes (np .full (10 , 75 ))
255257 c .set_linewidths (3 )
256258
257259 ax_ref = fig_ref .add_subplot (projection = '3d' )
258260 ax_ref .scatter (np .arange (10 ), np .arange (10 ), np .arange (10 ), marker = 'o' ,
259- facecolor = 'C1' , edgecolor = 'C2' , s = 75 , linewidths = 3 )
261+ facecolor = 'C1' , edgecolor = 'C2' , alpha = [0.3 , 0.7 ] * 5 ,
262+ depthshade = False , s = 75 , linewidths = 3 )
260263
261264
262265@pytest .mark .parametrize ('depthshade' , [True , False ])
@@ -552,10 +555,13 @@ def test_patch_collection_modification(fig_test, fig_ref):
552555 ax_test .add_collection3d (c )
553556 c .set_edgecolor ('C2' )
554557 c .set_facecolor ('C3' )
558+ c .set_alpha (0.7 )
559+ c .set_depthshade (False )
555560
556561 patch = Circle ((0 , 0 ), 0.05 )
557562 c = art3d .Patch3DCollection ([patch ], linewidths = 3 ,
558- edgecolor = 'C2' , facecolor = 'C3' )
563+ edgecolor = 'C2' , facecolor = 'C3' , alpha = 0.7 ,
564+ depthshade = False )
559565
560566 ax_ref = fig_ref .add_subplot (projection = '3d' )
561567 ax_ref .add_collection3d (c )
0 commit comments