added references back to `ensure_local_plotly`