@@ -83,22 +83,22 @@ def _ols_plot(self, *args, **kwargs):
8383 def get_plot_data (self , * args , ** kwargs ) -> pd .DataFrame :
8484 """Recover the data of a PrePostFit experiment along with the prediction and causal impact information.
8585
86- Internally, this function dispatches to either `_get_plot_data_bayesian ` or `_get_plot_data_ols `
86+ Internally, this function dispatches to either :func:`get_plot_data_bayesian ` or :func:`get_plot_data_ols `
8787 depending on the model type.
8888 """
8989 if isinstance (self .model , PyMCModel ):
90- return self ._get_plot_data_bayesian (* args , ** kwargs )
90+ return self .get_plot_data_bayesian (* args , ** kwargs )
9191 elif isinstance (self .model , RegressorMixin ):
92- return self ._get_plot_data_ols (* args , ** kwargs )
92+ return self .get_plot_data_ols (* args , ** kwargs )
9393 else :
9494 raise ValueError ("Unsupported model type" )
9595
9696 @abstractmethod
97- def _get_plot_data_bayesian (self , * args , ** kwargs ):
97+ def get_plot_data_bayesian (self , * args , ** kwargs ):
9898 """Abstract method for recovering plot data."""
99- raise NotImplementedError ("_get_plot_data_bayesian method not yet implemented" )
99+ raise NotImplementedError ("get_plot_data_bayesian method not yet implemented" )
100100
101101 @abstractmethod
102- def _get_plot_data_ols (self , * args , ** kwargs ):
102+ def get_plot_data_ols (self , * args , ** kwargs ):
103103 """Abstract method for recovering plot data."""
104- raise NotImplementedError ("_get_plot_data_ols method not yet implemented" )
104+ raise NotImplementedError ("get_plot_data_ols method not yet implemented" )
0 commit comments