fastga_he.gui.performances_viewer module

class fastga_he.gui.performances_viewer.PerformancesViewer(power_train_data_file_path: str, mission_data_file_path: str = 'NeFinisPasPar.csv!', plot_height: int | None = None, plot_width: int | None = None)[source]

Bases: object

A class for displaying the performances of all the elements of the power train along with the performances at aircraft level. Vastly inspired by the MissionViewer from fast-oad-core.

readjust_axis(y: Series)[source]

Readjusts the range of data plotted when adding a new scatter to the graph.