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 af43f68 commit 771f918Copy full SHA for 771f918
plotly/_subplots.py
@@ -1066,7 +1066,7 @@ def _subplot_type_for_trace_type(trace_type):
1066
DataValidator = ValidatorCache.get_validator("", "data")
1067
# from plotly.validators import DataValidator
1068
1069
- trace_validator = DataValidator
+ trace_validator = DataValidator()
1070
if trace_type in trace_validator.class_strs_map:
1071
# subplot_type is a trace name, find the subplot type for trace
1072
trace = trace_validator.validate_coerce([{"type": trace_type}])[0]
0 commit comments