diff climate_stripes.py @ 1:c6f2435d680b draft

"planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/climate-stripes commit 78edbd356193b8a8701ff7a28b7979c7047c0c5b"
author climate
date Tue, 14 Apr 2020 15:08:10 -0400
parents fec3147b0206
children abdc27e01dca
line wrap: on
line diff
--- a/climate_stripes.py	Sat Oct 05 17:03:08 2019 -0400
+++ b/climate_stripes.py	Tue Apr 14 15:08:10 2020 -0400
@@ -82,8 +82,8 @@
         fig = plt.figure(figsize=(10, 2))
         ax = plt.subplot(111)
         plt.pcolor(data, cmap=self.cmap,
-                   vmin=self.data[self.valname].min(),
-                   vmax=self.data[self.valname].max())
+                   vmin=self.data[self.valname].quantile(q=0.01),
+                   vmax=self.data[self.valname].quantile(q=0.99))
         if self.title:
             plt.title(self.title)
         if self.xname: