def on_bar_plot_with(self, evt): menu_id = evt.GetId() obj = evt.GetEventObject() feature = obj.GetLabelText(menu_id) df = self.__get_dataframe() win = PlotFrame(self, -1, "Bar plot", size=(400, 400), style=wx.DEFAULT_FRAME_STYLE) win.plot_barplot_with(df, self.series_name, feature) win.Show()
def on_plot_corr_mat(self, evt): df = self.__get_dataframe() win = PlotFrame(self, -1, "Correlation Matrix", size=(500, 400), style=wx.DEFAULT_FRAME_STYLE) win.plot_corr_mat(df) win.Show()
def on_plot_violin(self, evt): df = self.__get_dataframe() win = PlotFrame(self, -1, "Violin Plot", size=(500, 400), style=wx.DEFAULT_FRAME_STYLE) win.plot_violin(df, self.series_name) win.Show()
def on_plot_hist(self, evt): df = self.__get_dataframe() win = PlotFrame(self, -1, "Histogram", size=(500, 400), style=wx.DEFAULT_FRAME_STYLE) win.plot_hist(df, self.series_name) win.Show()
def on_bar_plot(self, evt): df = self.__get_dataframe() win = PlotFrame(self, -1, "Bar Plot", size=(400, 400), style=wx.DEFAULT_FRAME_STYLE) win.plot_barplot(df, self.series_name) win.Show()