File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,6 @@ def test_trisurface3D(self):
227
227
228
228
def test_contour3D (self ):
229
229
from mpl_toolkits .mplot3d import axes3d
230
- import matplotlib .pyplot as plt
231
230
from matplotlib import cm
232
231
233
232
with plt .rc_context (rc = RC_PARAMS ):
@@ -281,9 +280,6 @@ def cc(arg):
281
280
plt .close ("all" )
282
281
283
282
def test_bar3D (self ):
284
- import matplotlib .pyplot as plt
285
- import numpy as np
286
-
287
283
with plt .rc_context (rc = RC_PARAMS ):
288
284
fig = plt .figure ()
289
285
ax = fig .add_subplot (111 , projection = "3d" )
@@ -305,9 +301,6 @@ def test_bar3D(self):
305
301
plt .close ("all" )
306
302
307
303
def test_quiver3D (self ):
308
- import matplotlib .pyplot as plt
309
- import numpy as np
310
-
311
304
with plt .rc_context (rc = RC_PARAMS ):
312
305
fig = plt .figure ()
313
306
ax = fig .gca (projection = "3d" )
@@ -335,9 +328,6 @@ def test_quiver3D(self):
335
328
plt .close ("all" )
336
329
337
330
def test_2D_in_3D (self ):
338
- import numpy as np
339
- import matplotlib .pyplot as plt
340
-
341
331
with plt .rc_context (rc = RC_PARAMS ):
342
332
fig = plt .figure ()
343
333
ax = fig .gca (projection = "3d" )
@@ -528,9 +518,6 @@ def test_subplot(self):
528
518
529
519
530
520
def test_memory ():
531
- import matplotlib .pyplot as plt
532
- import numpy as np
533
-
534
521
plt .plot (np .arange (100000 ))
535
522
clean_figure ()
536
523
plt .close ("all" )
You can’t perform that action at this time.
0 commit comments