Skip to content

Commit

Permalink
Update holoviews/plotting/bokeh/path.py
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Høxbro Hansen <[email protected]>
  • Loading branch information
grapesmoker and hoxbro authored Jan 17, 2025
1 parent cee8069 commit 77c8a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def _element_transform(self, transform, element, ranges):
for el in element.split():
new_el = transform.apply(el, ranges=ranges, flat=True)
if len(new_el) == 1:
kdim_length = max([len(el[kdim]) for kdim in el.kdims])
kdim_length = len(el[el.kdims[0]])
transformed.append(np.tile(new_el, kdim_length - 1))
else:
transformed.append(new_el)
Expand Down

0 comments on commit 77c8a20

Please sign in to comment.