changeset 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
files climate-stripes.xml climate_stripes.py test-data/T2Mstripes.png test-data/T2Mstripes_with_axis.png
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/climate-stripes.xml	Sat Oct 05 17:03:08 2019 -0400
+++ b/climate-stripes.xml	Tue Apr 14 15:08:10 2020 -0400
@@ -1,9 +1,9 @@
-<tool id="climate_stripes" name="climate stripes" version="1.0.0">
+<tool id="climate_stripes" name="climate stripes" version="1.0.1">
     <description>from timeseries</description>
     <requirements>
         <requirement type="package" version="3">python</requirement>
         <requirement type="package" version="3.1.1">matplotlib</requirement>
-        <requirement type="package" version="0.25.1">pandas</requirement>
+        <requirement type="package" version="1.0.0">pandas</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
        python3 '$__tool_directory__/climate_stripes.py'
--- 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:
Binary file test-data/T2Mstripes.png has changed
Binary file test-data/T2Mstripes_with_axis.png has changed