Cartopy plotting lines through land areas

31 views
Skip to first unread message

SANJIV

unread,
Mar 11, 2021, 12:06:58 PM3/11/21
to xarray
Hi all:
          I am trying to do something very similar to the third plot at the link below and am getting the same error as in the plot.


Any thoughts on why this might be happening?

Thanks,
Sanjiv

Mathias Hauser

unread,
Mar 12, 2021, 3:50:11 AM3/12/21
to xar...@googlegroups.com
Hi Sanjiv,

currently, the easiest is probably to downgrade matplotlib to version 3.2. Alternatively you can try to use the pyplot directly and pass one row and column of data less that there is in the coordinates. See also https://github.com/pydata/xarray/issues/4596 and the associated matplotlib and cartopy issues.

Best,
Mathias

--
You received this message because you are subscribed to the Google Groups "xarray" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xarray+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xarray/cd60a3a7-890d-4f32-ae7f-d68f318c78ebn%40googlegroups.com.

Sanjiv R

unread,
Mar 13, 2021, 2:22:16 PM3/13/21
to xar...@googlegroups.com
Hi Mathias,
                   Thanks for your suggestions.

Sanjiv

You received this message because you are subscribed to a topic in the Google Groups "xarray" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xarray/jIoDaj3QIUs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xarray+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xarray/CACddXvc9UF6JgZAHO4X8SOwbDOW_v4y0Gj2tNW6P1GVMHvSOVA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages