示例#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)