in databao/visualizers/vega_chat.py [0:0]
def interactive(self) -> VegaVisTool | None:
"""Return an interactive UI wizard for the Vega-Lite chart.
The returned chart object can be rendered in interactive notebooks."""
if self.spec is None or self.spec_df is None:
return None
return VegaVisTool(self.spec, self.spec_df)