Is it possible to call get_window_extent headlessly? In a third party library, it is currently failing because it requires a renderer but the output is actually a headless html file so there is no way to determine the boundaries at runtime. Refer (plotly/plotly.py#381)