We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85c13e4 commit b75ca18Copy full SHA for b75ca18
1 file changed
proplot/axes/base.py
@@ -2424,6 +2424,8 @@ def _legend_tuple(*objs): # noqa: E306
2424
handles.append(obj)
2425
elif hasattr(obj, 'get_label'):
2426
2427
+ else:
2428
+ warnings._warn_proplot(f'Ignoring invalid legend handle {obj!r}.')
2429
return tuple(handles)
2430
2431
# Sanitize labels. Ignore e.g. extra hist() or hist2d() return values,
0 commit comments