Detach legend when clearing an Axes via clear/cla · matplotlib/matplotlib@0bcfe16 · GitHub
Skip to content

Commit 0bcfe16

Browse files
committed
Detach legend when clearing an Axes via clear/cla
1 parent 49590bb commit 0bcfe16

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

lib/matplotlib/axes/_base.py

Lines changed: 3 additions & 0 deletions

lib/matplotlib/tests/test_axes.py

Lines changed: 9 additions & 3 deletions

0 commit comments

Comments
 (0)