Skip to content

Commit 296a388

Browse files
committed
Fix test
1 parent 91d2f37 commit 296a388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/tests/test_mplot3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def test_surface3d_shaded():
423423
@mpl3d_image_comparison(['surface3d_masked.png'])
424424
def test_surface3d_masked():
425425
fig = plt.figure()
426-
ax = fig.gca(projection='3d')
426+
ax = fig.add_subplot(projection='3d')
427427
X = np.arange(1, 10, 1)
428428
Y = np.arange(1, 10, 1)
429429
X, Y = np.meshgrid(X, Y)

0 commit comments

Comments
 (0)