Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
Dec 24, 2024

Conversation

ecodiv
Copy link
Contributor

@ecodiv ecodiv commented Dec 22, 2024

Following suggestions in #1071

  • Various plot and layout options added
  • Changes in parameter names of v.boxplot and r.boxplot

And:

  • Reorganize tabs
  • Lazy loading matplotlib
  • Avoid setting matplotlib.use("WXAgg") if plot is printed to file (to solve issue in VS Code on Ubuntu)
  • Changed author info on manual page v.boxplot and r.boxplot

Following suggestions in OSGeo#1071
- Adding plot and layout options to v.boxplot
- Changes in parameter names of v.boxplot and r.boxplot
@ecodiv ecodiv added enhancement New feature or request manual Documentation related issues Python Related code is in Python labels Dec 22, 2024
@ecodiv ecodiv self-assigned this Dec 22, 2024
ecodiv added a commit to ecodiv/grass-tutorials that referenced this pull request Dec 22, 2024
- Correction of few small errors
- Follow changes in parameter names in v.boxplot and r.boxplot addons (see [#1271](OSGeo/grass-addons#1271))
- 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
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.
@ecodiv ecodiv merged commit 02f9ac3 into OSGeo:grass8 Dec 24, 2024
7 checks passed
@ecodiv ecodiv deleted the v_boxplot branch December 24, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request manual Documentation related issues Python Related code is in Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant