metaseq.plotutils.matrix_and_line_shell¶
-
metaseq.plotutils.
matrix_and_line_shell
(figsize=(5, 12), strip=False)[source]¶ Helper function to construct an empty figure that has space for a matrix, a summary line plot directly below it, a colorbar axis, and an optional “strip” axis that parallels the matrix (and shares its y-axis) where data can be added to create callbacks.
Returns a tuple of (fig, matrix_ax, line_ax, strip_ax, colorbar_ax) that can then be used to plot upon.
Parameters: - figsize – Tuple of (width, height), in inches, for the figure to be
- strip – If strip is False, then the returned strip_ax will be None and no strip axes will be created.