Skip to content
Snippets Groups Projects
Commit 449ab7ce authored by Arin Wongprommoon's avatar Arin Wongprommoon
Browse files

Fix module imports

parent 56e4f7dd
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
import seaborn as sns
from plottingabc import BasePlotter
from postprocessor.routines.plottingabc import BasePlotter
class _BoxplotPlotter(BasePlotter):
......
......@@ -5,7 +5,7 @@ import matplotlib.pyplot as plt
from matplotlib import cm, colors
from postprocessor.core.processes.standardscaler import standardscaler
from plottingabc import BasePlotter
from postprocessor.routines.plottingabc import BasePlotter
class _HeatmapPlotter(BasePlotter):
......
......@@ -3,7 +3,7 @@
import numpy as np
import matplotlib.pyplot as plt
from plottingabc import BasePlotter
from postprocessor.routines.plottingabc import BasePlotter
class _MeanPlotter(BasePlotter):
......
......@@ -3,7 +3,7 @@
from abc import ABC
class BasePlotter:
class BasePlotter(ABC):
"""Base class for plotting handler classes"""
def __init__(self, trace_name, sampling_period, xlabel, plot_title):
......@@ -21,3 +21,7 @@ class BasePlotter:
ax.set_xlabel(self.xlabel)
ax.set_title(self.plot_title)
# Derived classes extends this with plotting functions
# TODO: something about the plotting functions at the end of the modules.
# Decorator?
......@@ -2,7 +2,7 @@
import matplotlib.pyplot as plt
from single_plot import _SinglePlotter
from postprocessor.routines.single_plot import _SinglePlotter
class _SingleBirthPlotter(_SinglePlotter):
......
......@@ -2,7 +2,7 @@
import matplotlib.pyplot as plt
from plottingabc import BasePlotter
from postprocessor.routines.plottingabc import BasePlotter
class _SinglePlotter(BasePlotter):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment