MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_plot

Method test_plot

tests/test_matplotlib.py:11–15  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class TestMatplotlib(unittest.TestCase):
11 def test_plot(self):
12 plt.plot(np.linspace(0,1,50), np.random.rand(50))
13 plt.savefig("plot1.png")
14
15 self.assertTrue(os.path.isfile("plot1.png"))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected