Skip to content

Commit 4abe5dc

Browse files
committed
add alpha transparency for grid in plots
1 parent 5689046 commit 4abe5dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

climada/util/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def make_map(num_sub=1, projection=ccrs.PlateCarree()):
294294
axis_sub = np.array([[axis_sub]])
295295

296296
for axis in axis_sub.flatten():
297-
grid = axis.gridlines(draw_labels=True)
297+
grid = axis.gridlines(draw_labels=True, alpha=0.2)
298298
grid.xlabels_top = grid.ylabels_right = False
299299
grid.xformatter = LONGITUDE_FORMATTER
300300
grid.yformatter = LATITUDE_FORMATTER

0 commit comments

Comments
 (0)