You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
You can use the Agg backend which does not require a gui framework, but you will need to trigger a draw before you try to access the window extent. There are some number we really do not know until the first time the figure gets drawn.
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)The text was updated successfully, but these errors were encountered: