def clicked_back(self): self.hide() self.window = DataFrame_Viewer.Show_Datas() Main_Page.Main_Page.style(self) # ---------------------------------- Show Classic Plot ----------------------------------------- # # self.type_plot = Plot_Page.Plot.stock_plot(self) # plt.close('all') # fig, axes = plt.subplots(nrows=2, ncols=2) # self.current_df.plot(x=self.current_df[self.X_1_], kind=self.type_plot, figsize=(self.X_size_, self.Y_size_), ax=axes[0,0]) # self.current_df.plot(x=self.current_df[self.X_2_], kind=self.type_plot, figsize=(self.X_size_, self.Y_size_), ax=axes[0,1]) # self.current_df.plot(x=self.current_df[self.X_3_], kind=self.type_plot, figsize=(self.X_size_, self.Y_size_), ax=axes[1,0]) # self.current_df.plot(x=self.current_df[self.X_3_], kind=self.type_plot, figsize=(self.X_size_, self.Y_size_), ax=axes[1,1]) # # plt.ylabel(self.name_label_Y_, color=self.color_X_label_) # # plt.xlabel(self.name_label_X_, color=self.color_Y_label_) # plt.title(self.title_, color=self.title_color_) # # if self.upper_right.isChecked(): # # plt.legend(loc='upper right') # # elif self.upper_left.isChecked(): # # plt.legend(loc='upper left') # # elif self.lower_right.isChecked(): # # plt.legend(loc='lower right') # # elif self.lower_left.isChecked(): # # plt.legend(loc='lower left') # # else: # # plt.legend(loc='upper left') # plt.show()
def personal(self): global selection_mode selection_mode = 'personal' self.hide() self.window = DataFrame_Viewer.Show_Datas() Main_Page.Main_Page.style(self)
def default(self): global selection_mode selection_mode = 'default' self.hide() self.window = DataFrame_Viewer.Show_Datas() Main_Page.Main_Page.style(self)
def clicked_back(self): self.hide() self.window = DataFrame_Viewer.Show_Datas() Main_Page.Main_Page.style(self)