Commit bd94afa3 authored by Nils Brüggemann's avatar Nils Brüggemann
Browse files Added option to set land_facecolor and costalines_color.

parent 590f14c1
Pipeline #12158 passed with stages
in 9 seconds
......@@ -89,6 +89,10 @@ parser.add_argument('--cbar_str', type=str, default='auto',
help='String for colorbar. Default is name of variable and its units.')
parser.add_argument('--cbar_pos', type=str, default='bottom',
help='Position of colorbar. It is possible to choose between \'right\' and \'bottom\'.')
parser.add_argument('--coastlines_color', type=str, default='k',
help='Color of coastlines. Default is \'k\'. To disable set to \'none\'.')
parser.add_argument('--land_facecolor', type=str, default='0.7',
help='Color of land masses. Default is \'0.7\'. To disable set to \'none\'.')
iopts = parser.parse_args()
......@@ -310,7 +314,9 @@ if projection in ['np', 'sp']:
if (lon_reg is None) and (lat_reg is None):
plot_settings(ax, template='global', do_xyticks=do_xyticks)
plot_settings(ax, template='global', do_xyticks=do_xyticks,
plot_settings(ax, xlim=xlim, ylim=ylim, do_xyticks=do_xyticks)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment