Source code for dowhy.interpreters.visual_interpreter
fromdowhy.interpreterimportInterpreter
[docs]classVisualInterpreter(Interpreter):"""Base class for interpreters that show plots or visualizations as output."""def__init__(self,instance,**kwargs):super().__init__(instance,**kwargs)
[docs]defshow(self,interpret_plot):"""Display the intepretation. :param interpret_plot: Plot object containing the interpretation :returns: None """# TODO: A common way to show all plotsraiseNotImplementedError