Skip to content

Commit a35fade

Browse files
Bugfix drag and drop
1 parent c54a2bd commit a35fade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/basedatatypes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4720,7 +4720,7 @@ def __getitem__(self, prop):
47204720

47214721
return validator.present(self._compound_props[prop])
47224722
elif isinstance(validator, (CompoundArrayValidator, BaseDataValidator)):
4723-
if self._compound_array_props.get(prop, None) is None:
4723+
if not self._compound_array_props.get(prop, None):
47244724
# Init list of compound objects
47254725
if self._props is not None:
47264726
self._compound_array_props[prop] = [

0 commit comments

Comments
 (0)