Skip to content

Commit

Permalink
Fix rasterize test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 authored Sep 11, 2024
1 parent 5a77ed6 commit a5f1f00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hvplot/tests/testoperations.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ def test_datashade_cnorm(self):
def test_rasterize_pixel_ratio(self):
expected = 0.5
plot = self.df.hvplot(x='x', y='y', rasterize=True, pixel_ratio=expected)
opts = Store.lookup_options('bokeh', plot[()], 'plot').kwargs
assert opts.get('pixel_ratio') == expected
actual = plot.callback.inputs[0].callback.operation.p['pixel_ratio']
assert actual == expected

def test_datashade_pixel_ratio(self):
expected = 0.5
Expand Down

0 comments on commit a5f1f00

Please sign in to comment.