Skip to content

Commit

Permalink
Ensure hvPlotView applies opts after operation
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jul 17, 2024
1 parent a74f916 commit 4fed397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lumen/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,10 +803,10 @@ def get_plot(self, df):
plot = df.hvplot(
kind=self.kind, x=self.x, y=self.y, by=self.by, groupby=self.groupby, **processed
)
plot = plot.opts(**self.opts) if self.opts else plot
if self.operations:
for operation in self.operations:
plot = operation(plot)
plot = plot.opts(**self.opts) if self.opts else plot
if self.selection_group or 'selection_expr' in self.param.watchers:
plot = self._link_plot(plot)
return plot
Expand Down

0 comments on commit 4fed397

Please sign in to comment.