biopython v1.71.0 Bio.Graphics.Distribution.BarChartDistribution
Display the distribution of values as a bunch of bars.
Link to this section Summary
Link to this section Functions
Initialize a Bar Chart display of distribution info.
- display_info - the information to be displayed in the distribution. This should be ordered as a list of lists, where each internal list is a data set to display in the bar chart.
Calculate the position of the chart with blank space (PRIVATE).
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.
Add the title of the figure to the drawing (PRIVATE).
Draw a bar chart with the info in the specified range.