We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a122e06 commit 8fe8d0aCopy full SHA for 8fe8d0a
mpl_gui/tests/test_examples.py
@@ -18,12 +18,6 @@ def test_promotion():
18
assert fig.canvas.manager is not None
19
20
21
-def test_smoke_test_creation():
22
- mg.figure()
23
- mg.subplots()
24
- mg.subplot_mosaic("A\nB")
25
-
26
27
def test_smoke_test_context():
28
with mg.FigureContext(block=False) as fc:
29
fc.figure()
@@ -34,7 +28,8 @@ def test_smoke_test_context():
34
def test_ion():
35
with mg.ion():
36
30
assert mg.is_interactive()
37
- fig, ax = mg.subplots()
31
+ fig = mg.Figure()
32
+ ax = fig.subplots()
38
33
(ln,) = ax.plot(range(5))
39
ln.set_color("k")
40
mg.show([fig], timeout=1)
0 commit comments