mscross / pysplit

A package for HYSPLIT air parcel trajectory analysis.
BSD 3-Clause "New" or "Revised" License
144 stars 79 forks source link

FIX default colormap #55

Closed mscross closed 5 years ago

mscross commented 5 years ago

First of several bug fixes/general cleanup of PySPLIT. PySPLIT specifies a default colormap in some functions. Previously this was viridis, in line with matplotlib standards. In a fresh Python 2.7 environment, which requires fiona 1.15.1 and thus matplotlib 1.4.3, importing PySPLIT fails because the new colormaps only became part of matplotlib in version 1.5 onwards. Now if viridis can't be found jet is the default. Merging now because somehow this is 11 commits behind master and I don't like that.