rk_comparison.core.plotting_module package

Submodules

rk_comparison.core.plotting_module.plot module

class rk_comparison.core.plotting_module.plot.Plot[source]

Bases: object

Class with method to plot data on a chart.

plot(x, _y, x_label, y_label, legend, title)[source]

Method shows the plot in window, allows displaying multiple data on one plot. Data to display must be passed in _y argument in form of nested list; x is a list; title, x_label, y_label and legend are strings.

plot_bar(x, y, x_label, y_label, title)[source]

Method shows the bar plot, x and y are lists, title, x_label, y_label and legend are strings.

rk_comparison.core.plotting_module.plot_data module

class rk_comparison.core.plotting_module.plot_data.PlotData[source]

Bases: object

Class that have methods to prepare data before plotting.

plot(compare, controller, functions, y_label, title)[source]

Method prepares result data to be displayed on plot and calls method to build and show it.

prepare_plot_bar_max(controller, x_label, y_label, title)[source]

Method prepares result data to be displayed on bar plot and calls method to build and show it.

prepare_plot_bar_mean(controller, x_label, y_label, title)[source]

Method prepares result data to be displayed on bar plot and calls method to build and show it.

prepare_plot_bar_min(controller, x_label, y_label, title)[source]

Method prepares result data to be displayed on bar plot and calls method to build and show it.

Module contents