def METHOD_NAME(self, data: pd.DataFrame) -> go.Figure:
    plot_type = self._plotly_args.get("type")
    fig_params = self._plotly_args.get("fig", {})
    fig = getattr(px, plot_type)(data, **fig_params)  # type: ignore
    fig.update_layout(template=self._plotly_args.get("theme", "plotly"))
    fig.update_layout(self._plotly_args.get("layout", {}))
    return fig