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 6bd2bb3 commit fdaf441Copy full SHA for fdaf441
plotly/basedatatypes.py
@@ -524,7 +524,10 @@ class is a subclass of both BaseFigure and widgets.DOMWidget.
524
# ### Construct data validator ###
525
# This is the validator that handles importing sequences of trace
526
# objects
527
- self._data_validator = DataValidator(set_uid=self._set_trace_uid)
+ # We make a copy because we are overriding the set_uid attribute
528
+ # and do not want to alter all other uses of the cached DataValidator
529
+ self._data_validator = copy(DataValidator)
530
+ self._data_validator.set_uid = self._set_trace_uid
531
532
# ### Import traces ###
533
data = self._data_validator.validate_coerce(
0 commit comments