gui/matplotlibwidgetFile.py
def update_fields(self, x_data, y_data, num_plot):
        """
        This function will update data that we need to display curves, from "data_processing" from "gui_mainLayout"
        Inputs : x_data : An array with wavelengths.
                 y_data : An array with curve's data.
                 num_plot : The line, curve to plot.
        """
        self.x_data = x_data
        self.y_data = y_data
        self.num_plot = num_plot
def update_fields(self, x_data, y_data, num_plot):
        """
        This function will update data that we need to display curves, from "data_processing" from "gui_mainLayout"
        Inputs : x_data : An array with wavelengths.
                 y_data : An array with curve's data.
                 num_plot : The line, curve to plot.
        """
        self.x_data = x_data
        self.y_data = y_data
        self.num_plot = num_plot
This function will update data that we need to display curves, from "data_processing" from "gui_mainLayout"
        Inputs : x_data : An array with wavelengths.
                 y_data : An array with curve's data.
                 num_plot : The line, curve to plot.