Plot: LGTM - don't catch BaseException

This commit is contained in:
Chris Hennes
2021-09-19 14:36:51 -05:00
parent 68a027cf94
commit 97cec75e32

View File

@@ -199,7 +199,7 @@ def legend(status=True, pos=None, fontsize=None):
# Get resultant position
try:
fax = axes.get_frame().get_extents()
except:
except Exception:
fax = axes.patch.get_extents()
fl = l.get_frame()
plt.legPos = (