2.1.14.2.4.1. cli.cmd_plot.drawer.line_graph_drawer.LineGraphDrawer
- class cli.cmd_plot.drawer.line_graph_drawer.LineGraphDrawer(graph: GraphSettings, descriptions: Description, mapping: Mapping, axes: Axes, name: str)
Class that implements the interface LineGraphDrawer
- __init__(graph: GraphSettings, descriptions: Description, mapping: Mapping, axes: Axes, name: str) None
Methods
__init__
(graph, descriptions, mapping, axes, ...)draw
(data)Public method which draws the specified graph with error handling
save
(output_dir)Saves the plot if wanted
show
()Shows the plot if wanted
validate_config
(config)Validates the CSVHandler configuration