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 da22b42 commit 7d18dbcCopy full SHA for 7d18dbc
eomaps/colorbar.py
@@ -272,7 +272,10 @@ def __init__(
272
273
self._inherit_position = inherit_position
274
275
- self._parent_cb = self._identify_parent_cb()
+ if isinstance(self._inherit_position, ColorBar):
276
+ self._parent_cb = self._inherit_position
277
+ else:
278
+ self._parent_cb = self._identify_parent_cb()
279
280
if hist_size is None:
281
self._hist_size = 0
0 commit comments