From 0ee51409200e554a0d18e44d40e690bdcac75d54 Mon Sep 17 00:00:00 2001 From: Philip Chmielowiec <67855069+philipc2@users.noreply.github.com> Date: Tue, 10 Sep 2024 16:05:43 -0500 Subject: [PATCH] run pre-commit --- envs/py3.10-tests.yaml | 2 +- envs/py3.11-docs.yaml | 2 +- envs/py3.11-tests.yaml | 2 +- envs/py3.12-tests.yaml | 2 +- envs/py3.9-tests.yaml | 2 +- hvplot/converter.py | 3 +-- hvplot/tests/testoptions.py | 4 ++-- 7 files changed, 8 insertions(+), 9 deletions(-) diff --git a/envs/py3.10-tests.yaml b/envs/py3.10-tests.yaml index 370f32502..bc529a6a2 100644 --- a/envs/py3.10-tests.yaml +++ b/envs/py3.10-tests.yaml @@ -2,7 +2,7 @@ # This file is autogenerated by pyproject2conda # with the following command: # -# $ pyproject2conda project --overwrite force --template-python envs/py{py_version}-{env} +# $ pyproject2conda project --overwrite force --template-python envs\py{py_version}-{env} # # You should not manually edit this file. # Instead edit the corresponding pyproject.toml file. diff --git a/envs/py3.11-docs.yaml b/envs/py3.11-docs.yaml index f8c29d248..0bf2c238e 100644 --- a/envs/py3.11-docs.yaml +++ b/envs/py3.11-docs.yaml @@ -2,7 +2,7 @@ # This file is autogenerated by pyproject2conda # with the following command: # -# $ pyproject2conda project --overwrite force --template-python envs/py{py_version}-{env} +# $ pyproject2conda project --overwrite force --template-python envs\py{py_version}-{env} # # You should not manually edit this file. # Instead edit the corresponding pyproject.toml file. diff --git a/envs/py3.11-tests.yaml b/envs/py3.11-tests.yaml index 79b2343b2..513bc3cfe 100644 --- a/envs/py3.11-tests.yaml +++ b/envs/py3.11-tests.yaml @@ -2,7 +2,7 @@ # This file is autogenerated by pyproject2conda # with the following command: # -# $ pyproject2conda project --overwrite force --template-python envs/py{py_version}-{env} +# $ pyproject2conda project --overwrite force --template-python envs\py{py_version}-{env} # # You should not manually edit this file. # Instead edit the corresponding pyproject.toml file. diff --git a/envs/py3.12-tests.yaml b/envs/py3.12-tests.yaml index 40aed245c..d7af3c996 100644 --- a/envs/py3.12-tests.yaml +++ b/envs/py3.12-tests.yaml @@ -2,7 +2,7 @@ # This file is autogenerated by pyproject2conda # with the following command: # -# $ pyproject2conda project --overwrite force --template-python envs/py{py_version}-{env} +# $ pyproject2conda project --overwrite force --template-python envs\py{py_version}-{env} # # You should not manually edit this file. # Instead edit the corresponding pyproject.toml file. diff --git a/envs/py3.9-tests.yaml b/envs/py3.9-tests.yaml index bd89d3556..a189183b7 100644 --- a/envs/py3.9-tests.yaml +++ b/envs/py3.9-tests.yaml @@ -2,7 +2,7 @@ # This file is autogenerated by pyproject2conda # with the following command: # -# $ pyproject2conda project --overwrite force --template-python envs/py{py_version}-{env} +# $ pyproject2conda project --overwrite force --template-python envs\py{py_version}-{env} # # You should not manually edit this file. # Instead edit the corresponding pyproject.toml file. diff --git a/hvplot/converter.py b/hvplot/converter.py index 03473e0a8..41f2a84d6 100644 --- a/hvplot/converter.py +++ b/hvplot/converter.py @@ -435,8 +435,7 @@ class HoloViewsConverter: _op_options = [ 'datashade', 'rasterize', - 'pixel_ratio' - 'x_sampling', + 'pixel_ratio' 'x_sampling', 'y_sampling', 'downsample', 'aggregator', diff --git a/hvplot/tests/testoptions.py b/hvplot/tests/testoptions.py index 87879a12b..685517d3e 100644 --- a/hvplot/tests/testoptions.py +++ b/hvplot/tests/testoptions.py @@ -606,8 +606,8 @@ def test_cticks(self, da2): class TestXarrayPixelRatio: def test_pixel_ratio(self, da2): plot = da2.isel(other=0).hvplot(rasterize=True, pixel_ratio=4.0) - opts = Store.lookup_options(backend, plot, 'plot') - assert opts.kwargs['pixel_ratio'] = 4.0 + opts = Store.lookup_options('bokeh', plot, 'plot') + assert opts.kwargs['pixel_ratio'] == 4.0 def test_subcoordinate_y_bool(load_pandas_accessor):