qsomap: use lighter fill colors for the country polygons
This commit is contained in:
parent
fc674d34f7
commit
22b6088515
|
@ -272,8 +272,8 @@ def hsv_to_svgstr(h, s, v):
|
|||
def assign_country_colors(simplegeodata):
|
||||
for k, v in simplegeodata.items():
|
||||
hue = random.random()
|
||||
v['polygon_color'] = hsv_to_svgstr(hue, 0.7, 0.8)
|
||||
v['label_color'] = hsv_to_svgstr(hue, 0.5, 0.4)
|
||||
v['polygon_color'] = hsv_to_svgstr(hue, 0.5, 0.9)
|
||||
v['label_color'] = hsv_to_svgstr(hue, 0.3, 0.6)
|
||||
|
||||
|
||||
def svg_add_countries(doc, simplegeodata, ref_lat, ref_lon, map_radius):
|
||||
|
|
Loading…
Reference in a new issue