MCPcopy Create free account
hub / github.com/holoviz/hvplot / test_plot_resolution

Method test_plot_resolution

hvplot/tests/testoperations.py:389–392  ·  view source on GitHub ↗
(self, kind, element)

Source from the content-addressed store, hash-verified

387
388 @parameterized.expand([('image', Image), ('quadmesh', QuadMesh)])
389 def test_plot_resolution(self, kind, element):
390 plot = self.da.hvplot(kind=kind)
391 assert all(plot.data.x.diff('x').round(0) == 1)
392 assert all(plot.data.y.diff('y').round(0) == 1)
393
394 @parameterized.expand([('image', Image), ('quadmesh', QuadMesh)])
395 def test_plot_resolution_with_rasterize(self, kind, element):

Callers

nothing calls this directly

Calls 1

hvplotMethod · 0.80

Tested by

no test coverage detected