Closed mathause closed 3 years ago
@mathause, adding back scipy
seems like a reasonable thing to do given your test. Not much use having matplotlib
if you can't even create a GeoAxis
without scipy
. I've done this in #100 and also added your simple test. Thanks for the suggestion. Sorry for the trouble.
I'm still a little confused about the requirements from upstream. gdal
, pillow
, matplotlib
and scipy
are all lumped under "plotting" but it seems gdal
and presumably pillow
are not as strictly required as the other two?
Thanks for the fast reply. Adding scipy allows to create an axes
and to do pcolormesh
and contour
plots. So that ticks the boxes I need. However, I don't know the inner workings of cartopy so I cannot advise on the other dependencies. Maybe @QuLogic or @dopplershift could weigh in?
Well, while scipy is documented as optional, there's two places where scipy is unconditionally imported (one as a fallback for pykdtree
). So decidedly incorrect to treat it as optional--anybody who doesn't have scipy is unable to import cartopy.
Issue: I just tested the new
cartopy v0.18.0 py39h32a4312_6
. Thanks for adding matplotlib again. However, this does still not seem to be the minimum required packages to create a map/ figure. It at least scipy is also required. So I wonder if scipy should also be added back.Full traceback
Environment (
conda list
):Details about
conda
and system (conda info
):