biopython v1.71.0 Bio.Graphics.Distribution.DistributionPage
Display a grouping of distributions on a page.
This organizes Distributions, and will display them nicely on a single page.
Link to this section Summary
Functions
Initialize
Draw all of the distributions on the page
Add a legend to the figure
Add the title of the figure to the drawing (PRIVATE)
Draw out the distribution information
Link to this section Functions
Link to this function
__init__()
Initialize.
Link to this function
_draw_distributions()
Draw all of the distributions on the page.
Arguments:
- cur_drawing - The drawing we are working with.
- start_x_pos - The x position on the page to start drawing at.
- x_pos_change - The change in x position between each figure.
- start_y_pos - The y position on the page to start drawing at.
- y_pos_change - The change in y position between each figure.
- num_y_drawings - The number of drawings we’ll have in the y (up/down) direction.
Link to this function
_draw_legend()
Add a legend to the figure.
Subclasses can implement to provide a specialized legend.
Link to this function
_draw_title()
Add the title of the figure to the drawing (PRIVATE).
Link to this function
draw()
Draw out the distribution information.
Arguments:
- output_file - The name of the file to output the information to, or a handle to write to.
- title - A title to display on the graphic.