Esempio n. 1
0
 def test_plot_simple_histogram(self):
     np.random.seed(0)
     data = np.random.normal(size=(1000,))
     fig = plot_simple_histogram(data, verbose=False)
     self.add_fig_to_report(fig, 'plot_simple_histogram')
     data = np.array(['a', 'b', 'a', 'b', 'b', 'b', 'b', 'a', 'c', 'c', 
                      'b', 'c', 'a'], dtype='O')
     fig = plot_simple_histogram(data, verbose=False)
     self.add_fig_to_report(fig, 'plot_simple_histogram_categorical')
Esempio n. 2
0
 def test_plot_simple_histogram(self):
     np.random.seed(0)
     data = np.random.normal(size=(1000,))
     fig = plot_simple_histogram(data, verbose=False)
     self.add_fig_to_report(fig, 'plot_simple_histogram')