Handling returns from button.on_click

Hi @gbl

Try changing the __init__ method to

def __init__(self, **params):
        params["data"] = pd.DataFrame()
        params["extract"] = self._extract

        super().__init__(**params)

        self.view = self._get_view()

It works for me