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

Class TestBqplot

tests/test_bqplot.py:5–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import bqplot.pyplot as plt
4
5class TestBqplot(unittest.TestCase):
6 def test_figure(self):
7 size = 100
8 scale = 100.0
9 np.random.seed(0)
10 x_data = np.arange(size)
11 y_data = np.cumsum(np.random.randn(size) * scale)
12 fig = plt.figure(title='First Example')
13 plt.plot(y_data)
14 fig.save_png()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected