Fishplot.draw#
missionbio.plotting.fishplot.Fishplot.draw
- Fishplot.draw(palette: dict, align: str = 'center', offset_start: bool = True, fraction_shift: float = 0.2, fig: Optional[Figure] = None, row: Optional[int] = None, col: Optional[int] = None) Figure#
 Create and draw the fishplot.
- Parameters:
 - palette: dict
 Dictionary mapping the subclone name to the color.
- align: str
 How child clones are aligned within their parent clone. Can be either ‘center’, ‘top’, or ‘bottom’.
- offset_start: bool
 If true, if there are 2+ clones that start at the same timepoint then they will be horizontally offset from each other.
- fraction_shift: float
 Fraction of the figure width to shift the start of the curve left of it’s starting timepoint.
- fig: plotly.graph_objs.figure
 Plot figure object
- row: int
 Row position if fig is specified.
- col: int
 Col position if fig is specified.
- Returns:
 - figplotly.graph_objs.figure
 
< Class Fishplot