pimlico.datatypes.plotting module

class pimlico.datatypes.plotting.PlotOutput(base_dir, pipeline, **kwargs)[source]

Bases: pimlico.datatypes.base.PimlicoDatatype

Output from matplotlib plotting.

Contains the dataset being plotted, a script to build the plot, and the output PDF.

plot()[source]

Runs the plotting script. Errors are not caught, so if there’s a problem in the script they’ll be raised.

data_path
pdf_path
script_path
class pimlico.datatypes.plotting.PlotOutputWriter(base_dir)[source]

Bases: pimlico.datatypes.base.PimlicoDatatypeWriter