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()
Exemple #2
0
    def personal(self):
        global selection_mode

        selection_mode = 'personal'

        self.hide()
        self.window = DataFrame_Viewer.Show_Datas()
        Main_Page.Main_Page.style(self)
Exemple #3
0
    def default(self):
        global selection_mode

        selection_mode = 'default'

        self.hide()
        self.window = DataFrame_Viewer.Show_Datas()
        Main_Page.Main_Page.style(self)
    def switch_to_global(self):
        self.types_view.hide()
        self.globalStats_view.show()

        self.df_2 = DataFrame_Viewer.Show_Datas.stock_df(
            self)  # Get DataFrame selected from Reglin_Page

        df_describe = self.df_2.describe()
        model = DataFrame_Viewer.PandasModel(df_describe)
        self.globalStats_view.setModel(model)
    def switch_to_types(self):
        self.globalStats_view.hide()
        self.types_view.show()

        self.df = DataFrame_Viewer.Show_Datas.stock_df(
            self)  # Get DataFrame selected from Reglin_Page

        df_types = pd.DataFrame(self.df.dtypes)
        model = DataFrame_Viewer.PandasModel(df_types)
        self.types_view.setModel(model)
 def clicked_back(self):
     self.hide()
     self.window = DataFrame_Viewer.Show_Datas()
     Main_Page.Main_Page.style(self)