[GRASS-git] [OSGeo/grass-addons] 02f9ac: v.boxplot and r.boxplot: plot/layout options added...

Paulo van Breugel noreply at github.com
Tue Dec 24 09:47:33 PST 2024


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 02f9ac34d4b201a241d6ec3774398767c2b2fdbe
      https://github.com/OSGeo/grass-addons/commit/02f9ac34d4b201a241d6ec3774398767c2b2fdbe
  Author: Paulo van Breugel <paulo at ecodiv.earth>
  Date:   2024-12-24 (Tue, 24 Dec 2024)

  Changed paths:
    M src/raster/r.boxplot/r.boxplot.html
    M src/raster/r.boxplot/r.boxplot.py
    M src/vector/v.boxplot/v.boxplot.html
    M src/vector/v.boxplot/v.boxplot.py

  Log Message:
  -----------
  v.boxplot and r.boxplot: plot/layout options added / changed (#1271)

* v.boxplot and r.boxplot: plot/layout options added / changed

Following suggestions in #1071
- Adding plot and layout options to v.boxplot
- Changes in parameter names of v.boxplot and r.boxplot

* v.boxplot: add layout/plot options

- Add option
  - to set limits of value axis
  - add grid lines
- Reorganize tabs
- Lazy loading matplotlib
- Fix: selected colors checked and changed to matplotlib format

* v.boxplot and r.boxplot: solve issue with running addons in VS Code

Running the addons in VS Code results in an error related with `matplotlib.use("WXAgg")`. A possible solution is using another backend like `WebAgg`. However, running VS Code probably means one wants to print the resulting graph to file. As in that case, the backend is not needed, we can just avoid loading it when the option to save the graph to file is selected.

* correction code



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list