Skip to content

Commit 374d59f

Browse files
jvddalexcjohnson
andauthored
🖊️ check for histogram2dcontour
Co-authored-by: Alex Johnson <[email protected]>
1 parent 3c5d8e8 commit 374d59f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/python/plotly/_plotly_utils/basevalidators.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2657,7 +2657,11 @@ def validate_coerce(self, v, skip_invalid=False, _validate=True):
26572657
for v_el in v:
26582658

26592659
if isinstance(v_el, BaseTraceType):
2660-
v_el = v_el._props
2660+
if isinstance(v_el, Histogram2dcontour):
2661+
v_el = dict(type="histogram2dcontour", **v_el._props)
2662+
else:
2663+
v_el = v_el._props
2664+
26612665

26622666
if isinstance(v_el, dict):
26632667
type_in_v_el = "type" in v_el

0 commit comments

Comments
 (0)