Exemplo n.º 1
0
    def plot(self):
        # If the includes are still not merged, we merge them
        if self.merged_events is None:
            self.merge_includes()

        df = self._convert_df_to_mode_plot_table_format(
            self.merged_events, 'mode')
        df = df.set_index(['time'])
        df.index.names = ['Time']

        modes_schedule(df)