From 332b0851bb68788e619897d9aa91dc89cab47702 Mon Sep 17 00:00:00 2001 From: Rafael Guedes Date: Tue, 8 Aug 2023 16:26:30 +1200 Subject: [PATCH 1/3] Pass linewidth up the base classes --- pydeck_grid/contour.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pydeck_grid/contour.py b/pydeck_grid/contour.py index 7cff541..211d6c0 100644 --- a/pydeck_grid/contour.py +++ b/pydeck_grid/contour.py @@ -95,5 +95,6 @@ def __init__( vmax=vmax, levels=levels, pickable=False, + linewidth=linewidth, **kwargs, ) From db072887c79f7a9cae71904feda10fb99dccd1e7 Mon Sep 17 00:00:00 2001 From: Rafael Guedes Date: Tue, 8 Aug 2023 16:27:22 +1200 Subject: [PATCH 2/3] Ignoring eggs folder --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 0054bc2..27ceacd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ __pycache__ *.egg-info +.eggs build _build dist From 83236c3020ac5b83a09af706dc5345efc45dde33 Mon Sep 17 00:00:00 2001 From: Rafael Guedes Date: Tue, 8 Aug 2023 16:44:25 +1200 Subject: [PATCH 3/3] Small docstring change to specify colormap needs to be None for color to take effect in GContourLayer --- pydeck_grid/contour.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydeck_grid/contour.py b/pydeck_grid/contour.py index 211d6c0..083bffa 100644 --- a/pydeck_grid/contour.py +++ b/pydeck_grid/contour.py @@ -46,7 +46,7 @@ def __init__( global_wrap: bool, default False Boolean indicating whether the grid is global and should be wrapped around the globe color: str, default '#999999' - Uniform color of contour lines + Uniform color of contour lines, only takes effect if colormap is set to None colormap: str or matplotlib.cm.ScalarMappable, default 'turbo' Colormap to use for the grid as a matplotlib predefined colormap name or a matplotlib ScalarMappable vmin: float, default 0.0