[GRASS-git] [OSGeo/grass-addons] f95f1e: r.boxplot better error handling (#755)
Paulo van Breugel
noreply at github.com
Fri May 27 04:14:32 PDT 2022
Branch: refs/heads/grass8
Home: https://github.com/OSGeo/grass-addons
Commit: f95f1ebb299d19460ad123fdc53980e14e019900
https://github.com/OSGeo/grass-addons/commit/f95f1ebb299d19460ad123fdc53980e14e019900
Author: Paulo van Breugel <paulo at ecodiv.earth>
Date: 2022-05-27 (Fri, 27 May 2022)
Changed paths:
M src/raster/r.boxplot/r.boxplot.html
M src/raster/r.boxplot/r.boxplot.py
Log Message:
-----------
r.boxplot better error handling (#755)
The r.colors.out, used to extract the color table of the zonal map, sometimes returns a color table with floating category id's instead of integers. I assume this is when the raster layer has no color table defined? The change checks if the category id's are of the type integer. If not, a more informative error message is returned.
In addition, a new option to set the boxplot width(s) is added, and the manual page is updated accordingly.
More information about the grass-commit
mailing list