From: Gael UTARD <[email protected]>
Signed-off-by: Gael UTARD <[email protected]>
---
ocitysmap2/__init__.py | 2 +-
ocitysmap2/layoutlib/abstract_renderer.py | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ocitysmap2/__init__.py b/ocitysmap2/__init__.py
index eccf448..c09cd9d 100644
--- a/ocitysmap2/__init__.py
+++ b/ocitysmap2/__init__.py
@@ -141,7 +141,7 @@ class Stylesheet:
self.grid_line_color = 'black'
self.grid_line_alpha = 0.5
- self.grid_line_width = 3
+ self.grid_line_width = 1
self.shade_color = 'black'
self.shade_alpha = 0.1
diff --git a/ocitysmap2/layoutlib/abstract_renderer.py
b/ocitysmap2/layoutlib/abstract_renderer.py
index d22c074..4b74e24 100644
--- a/ocitysmap2/layoutlib/abstract_renderer.py
+++ b/ocitysmap2/layoutlib/abstract_renderer.py
@@ -290,7 +290,8 @@ class Renderer:
# Add the shade SHP to the map
canvas.add_shape_file(shade_shape,
self.rc.stylesheet.shade_color,
- self.rc.stylesheet.shade_alpha)
+ self.rc.stylesheet.shade_alpha,
+ self.rc.stylesheet.grid_line_width)
return canvas
--
1.7.5.4