def __call__ ( self , kind : Optional [ str ] = None , * * kwargs ) : return plot ( self . histogram , kind = kind , * * kwargs )
python histogram matplotlib kwargs
Use the plotter as callable .
def __call__(self, kind: Optional[str] = None, **kwargs):
        """Use the plotter as callable."""
        return plot(self.histogram, kind=kind, **kwargs)