graph¶
This module handles variable graphing using matplotlib.
It also creates a child process, spreadsheet, if this is enabled in the config (cfg.enable_spreadsheet)
-
graph.construct_graph(x, y, title, fname, **kwargs)¶ Helper function to create a graph and save it.
- Parameters
x (list) – The points’ x-coordinates.
y (list) – The points’ y-coordinates.
title (str) – The title of the graph, either as a template string or not.
fname (str) – The file name of the graph or a template string for it.
kwargs (str, optional) – Translation dict for chained replace calls.
-
graph.main()¶ Get data from all of the runs and make a graph for each variable’s average.