Skip to content

Commit b74ff02

Browse files
author
Jon M. Mease
committed
When building relayout/restyle strings don't use brackets
'foo[0].bar' -> 'foo.0.bar' For unknown reasons, this caused a jitter in the datashader example
1 parent b5e4131 commit b74ff02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plotly/basedatatypes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,7 @@ def _prop_set_child(self, child, prop_path_str, val):
27332733
child_prop_val = getattr(self, child.plotly_name)
27342734
if isinstance(child_prop_val, (list, tuple)):
27352735
child_ind = BaseFigure._index_is(child_prop_val, child)
2736-
obj_path = '{child_name}[{child_ind}].{prop}'.format(
2736+
obj_path = '{child_name}.{child_ind}.{prop}'.format(
27372737
child_name=child.plotly_name,
27382738
child_ind=child_ind,
27392739
prop=prop_path_str)

0 commit comments

Comments
 (0)