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 ac59d45 commit 920817cCopy full SHA for 920817c
_plotly_utils/basevalidators.py
@@ -1797,6 +1797,10 @@ def class_map(self):
1797
1798
def validate_coerce(self, v):
1799
1800
+ # Import Histogram2dcontour, this is the deprecated name of the
1801
+ # Histogram2dContour trace.
1802
+ from plotly.graph_objs import Histogram2dcontour
1803
+
1804
if v is None:
1805
v = []
1806
elif isinstance(v, (list, tuple)):
@@ -1815,6 +1819,8 @@ def validate_coerce(self, v):
1815
1819
1816
1820
if 'type' in v_copy:
1817
1821
trace_type = v_copy.pop('type')
1822
+ elif isinstance(v_el, Histogram2dcontour):
1823
+ trace_type = 'histogram2dcontour'
1818
1824
else:
1825
trace_type = 'scatter'
1826
0 commit comments