|
From: Ian T. <ian...@gm...> - 2012-11-12 19:03:46
|
On 29 October 2012 14:50, Daryl Herzmann <ak...@gm...> wrote:
> I've been attempting to get basemap to clip a contourf display. I have not
> had any luck! Attached is a self contained example. Could somebody kindly
> point out what I am doing wrong!?!
>
Hi Daryl,
You were almost there. Remove the call to mask_outside_polygon and replace
it with
for collection in cs.collections:
collection.set_clip_path(patch)
Attached is your corrected example and the output produced.
Ian
|