Skip to content

Commit 2f4def8

Browse files
committed
Change the default basemap appearance similar to cartopy
1 parent 951d2b6 commit 2f4def8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pysteps/visualization/precipfields.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -421,14 +421,14 @@ def _dynamic_formatting_floats(floatArray, colorscale='MeteoSwiss'):
421421

422422
return labels
423423

424-
def _plot_map_basemap(bm_params, drawlonlatlines=False, coastlinecolor=(1,1,1),
425-
countrycolor=(0.3,0.3,0.3), continentcolor=(1,1,1),
426-
lakecolor=(0.7,0.7,0.7), rivercolor=(0.7,0.7,0.7),
427-
mapboundarycolor=(0.7,0.7,0.7)):
424+
def _plot_map_basemap(bm_params, drawlonlatlines=False, coastlinecolor=(0.3,0.3,0.3),
425+
countrycolor=(0.3,0.3,0.3), continentcolor=(0.95,0.95,0.85),
426+
lakecolor=(0.65,0.75,0.9), rivercolor=(0.65,0.75,0.9),
427+
mapboundarycolor=(0.65,0.75,0.9)):
428428
bm = Basemap(**bm_params)
429429

430430
if coastlinecolor is not None:
431-
bm.drawcoastlines(color=coastlinecolor, zorder=0.1)
431+
bm.drawcoastlines(color=coastlinecolor, linewidth=0.1, zorder=0.1)
432432
if countrycolor is not None:
433433
bm.drawcountries(countrycolor, zorder=0.2)
434434
if rivercolor is not None:

0 commit comments

Comments
 (0)