Fishplot.draw

Contents

Fishplot.draw#

missionbio.plotting.fishplot.Fishplot.draw

Fishplot.draw(palette: dict, align: str = 'center', offset_start: bool = True, 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.

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