Inline AnchoredOffsetBox._update_offset_func. · matplotlib/matplotlib@00b5604 · GitHub
Skip to content

Commit 00b5604

Browse files
committed
Inline AnchoredOffsetBox._update_offset_func.
It is only called in `get_window_extent` -- and in `draw`, but *that* call is immediately followed by a call to `get_window_extent`, so it is redundant.
1 parent 3170fda commit 00b5604

2 files changed

Lines changed: 11 additions & 28 deletions

File tree

lib/matplotlib/offsetbox.py

Lines changed: 7 additions & 17 deletions

lib/mpl_toolkits/axes_grid1/inset_locator.py

Lines changed: 4 additions & 11 deletions

0 commit comments

Comments
 (0)