We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 544c544 commit c64eae3Copy full SHA for c64eae3
proplot/wrappers.py
@@ -2198,9 +2198,11 @@ def legend_wrapper(self,
2198
self.add_artist(leg)
2199
leg.legendPatch.update(outline) # or get_frame()
2200
for obj in leg.legendHandles:
2201
- obj.update(kw_handle)
+ if isinstance(obj, martist.Artist):
2202
+ obj.update(kw_handle)
2203
for obj in leg.get_texts():
- obj.update(kw_text)
2204
2205
+ obj.update(kw_text)
2206
# Draw manual fancy bounding box for un-aligned legend
2207
# WARNING: The matplotlib legendPatch transform is the default transform,
2208
# i.e. universal coordinates in points. Means we have to transform
0 commit comments