These functions are designed to either be called from within a
Jupyter notebook, or are used by some of
metawards command line tools to create quick outputs. An
example of such a tool is metawards-plot.
Core functions include;
Quick function that creates and saves summary plots from the
results.csv.bz2files that are produced by
Safely import the graphics modules, and give a useful error message if this doesn’t work.
metawards.analysisneeds Pandas and matplotlib, but these are often not available or are broken on clusters. We safely import these modules in this function to prevent any other part of
metawardsfrom being affected by a bad pandas or matplotlib install.
Create the average plot and return the resulting matplotlib figure. Use this to get and view figures in, e.g. a Jupyter notebook
Create the overview plot and return the resulting matplotlib figure. Use this to get and view figures in, e.g. a Jupyter notebook