Plot¶
plot
¶
The plot command.
Functions:
-
plot_cmd–Plot charts from a summarise CSV output.
plot_cmd
¶
plot_cmd(
input: str,
output: str,
plot_type: str,
subplot: str,
group: str,
x: str,
y: str,
properties: Tuple[str, ...],
) -> None
Plot charts from a summarise CSV output.
Draws a chart using matplotlib and Seaborn from information in a
.csv file produced by the summarise action. The columns used
for the subplot, groups, x-axis and y-axis are specified by the
--subplot, --group, --x and --y options respectively.
Example
causaliq-analysis plot -i summary.csv -o chart.png \ --type line --subplot network --group series \ --x sample_size --y f1.mean \ -p "xaxis.label=Sample size" \ -p "yaxis.label=F1"