Skip to content

Commit

Permalink
Send empty plot for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Dec 20, 2023
1 parent 662cc90 commit 8111966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/operation/downsample.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _process(self, element, key=None):
# We don't want to send all the data to the frontend on the first pass
# if we have set xlims. Therefore we return the element without any data,
# this will render the plot and trigger a second pass with the x_range set.
return element[()]
return element.clone(data=[])

if len(element) <= self.p.width:
return element
Expand Down

0 comments on commit 8111966

Please sign in to comment.