Trees | Index | Help |
---|
Package Bio :: Package Graphics :: Module Distribution :: Class BarChartDistribution |
|
Method Summary | |
---|---|
Initialize a Bar Chart display of distribution info. | |
Draw a bar chart with the info in the specified range. | |
Calculate the position of the chart with blank space. | |
Add the title of the figure to the drawing. |
Method Details |
---|
__init__(self,
display_info=[])
|
draw(self, cur_drawing, start_x, start_y, end_x, end_y)Draw a bar chart with the info in the specified range. |
_determine_position(self, start_x, start_y, end_x, end_y)Calculate the position of the chart with blank space. This uses some padding around the chart, and takes into account whether the chart has a title. It returns 4 values, which are, in order, the x_start, x_end, y_start and y_end of the chart itself. |
_draw_title(self, cur_drawing, title, start_x, start_y, end_x, end_y)Add the title of the figure to the drawing. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jan 31 09:59:41 2007 | http://epydoc.sf.net |