Skip to content

Commit dede64a

Browse files
committed
add warning to NotImplementedError
1 parent 644cf6b commit dede64a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

causalpy/experiments/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def plot(self, *args, **kwargs) -> tuple:
6565
@abstractmethod
6666
def bayesian_plot(self, *args, **kwargs):
6767
"""Abstract method for plotting the model."""
68-
raise NotImplementedError
68+
raise NotImplementedError("bayesian_plot method not yet implemented")
6969

7070
@abstractmethod
7171
def ols_plot(self, *args, **kwargs):
7272
"""Abstract method for plotting the model."""
73-
raise NotImplementedError
73+
raise NotImplementedError("ols_plot method not yet implemented")

0 commit comments

Comments
 (0)