예제 #1
0
 def test_draw_histogram_in_fhand(self):
     values = [1, 2, 3, 1, 2, 3, 2, 3, 2, 3, 2, 1, 4]
     fhand = NamedTemporaryFile(suffix='.png')
     counter = IntCounter(values)
     distrib = counter.calculate_distribution()
     draw_histogram_in_fhand(distrib['counts'], distrib['bin_limits'],
                             fhand=fhand)
예제 #2
0
 def test_draw_histogram_in_fhand(self):
     values = [1, 2, 3, 1, 2, 3, 2, 3, 2, 3, 2, 1, 4]
     fhand = NamedTemporaryFile(suffix='.png')
     counter = IntCounter(values)
     distrib = counter.calculate_distribution()
     draw_histogram_in_fhand(distrib['counts'],
                             distrib['bin_limits'],
                             fhand=fhand)
예제 #3
0
 def test_draw_histogram_in_fhand(self):
     values = [1, 2, 3, 1, 2, 3, 2, 3, 2, 3, 2, 1, 4]
     fhand = NamedTemporaryFile(suffix='.png')
     counter = IntCounter(values)
     draw_histogram_in_fhand(counter, fhand=fhand)
예제 #4
0
 def test_draw_histogram_in_fhand(self):
     values = [1, 2, 3, 1, 2, 3, 2, 3, 2, 3, 2, 1, 4]
     fhand = NamedTemporaryFile(suffix='.png')
     counter = IntCounter(values)
     draw_histogram_in_fhand(counter, fhand=fhand)