noaa-oar-arl / monet

The Model and ObservatioN Evaluation Toolkit (MONET)
https://monet-arl.readthedocs.io
Other
45 stars 21 forks source link

Line width option for `quick_map` #133

Closed zmoon closed 1 year ago

zmoon commented 1 year ago

Hi,

I was wondering whether it would be possible to add an argument to the quick_map function to enable the user to specify the linewidth for the country outlines?

Many Thanks,

Annie

Originally posted by @annalisasheehan in https://github.com/noaa-oar-arl/monet/issues/92#issuecomment-1532982493

bbakernoaa commented 1 year ago

@zmoon lets make this an option to set the linewidths as a kwarg

zmoon commented 1 year ago

Looks you can already specify this with map_kws dict, e.g.

da.monet.quick_map(map_kws=dict(linewidth=2))

@bbakernoaa do we still want to support a standalone kwarg?

bbakernoaa commented 1 year ago

@zmoon well look at me! I think that this is the way I envision it. I don't want to add a specific linewidth outside of map_kws as I see it as directly effecting the linewidths of the cartopy lines.

zmoon commented 1 year ago

@annalisasheehan are you happy this solution?

annalisasheehan commented 1 year ago

That's great, thank you both!