Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 549 Bytes

22745-JMK.rst

File metadata and controls

9 lines (8 loc) · 549 Bytes

No need to specify renderer for get_tightbbox and get_window_extent

The get_tightbbox and ~.Artist.get_window_extent methods no longer require the renderer kwarg, saving users from having to querry it from fig.canvas.get_renderer. If the renderer kwarg is not supplied these methods first check if there is a cached renderer from a previous draw and use that. If there is no cahched renderer, then the methods will use fig.canvas.get_renderer() as a fallback.