Skip to content

Commit bcfbcd4

Browse files
removed multiple imports
1 parent 97d124f commit bcfbcd4

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/test_cleanfigure.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ def test_trisurface3D(self):
227227

228228
def test_contour3D(self):
229229
from mpl_toolkits.mplot3d import axes3d
230-
import matplotlib.pyplot as plt
231230
from matplotlib import cm
232231

233232
with plt.rc_context(rc=RC_PARAMS):
@@ -281,9 +280,6 @@ def cc(arg):
281280
plt.close("all")
282281

283282
def test_bar3D(self):
284-
import matplotlib.pyplot as plt
285-
import numpy as np
286-
287283
with plt.rc_context(rc=RC_PARAMS):
288284
fig = plt.figure()
289285
ax = fig.add_subplot(111, projection="3d")
@@ -305,9 +301,6 @@ def test_bar3D(self):
305301
plt.close("all")
306302

307303
def test_quiver3D(self):
308-
import matplotlib.pyplot as plt
309-
import numpy as np
310-
311304
with plt.rc_context(rc=RC_PARAMS):
312305
fig = plt.figure()
313306
ax = fig.gca(projection="3d")
@@ -335,9 +328,6 @@ def test_quiver3D(self):
335328
plt.close("all")
336329

337330
def test_2D_in_3D(self):
338-
import numpy as np
339-
import matplotlib.pyplot as plt
340-
341331
with plt.rc_context(rc=RC_PARAMS):
342332
fig = plt.figure()
343333
ax = fig.gca(projection="3d")
@@ -528,9 +518,6 @@ def test_subplot(self):
528518

529519

530520
def test_memory():
531-
import matplotlib.pyplot as plt
532-
import numpy as np
533-
534521
plt.plot(np.arange(100000))
535522
clean_figure()
536523
plt.close("all")

0 commit comments

Comments
 (0)