fix: improve crop labels and legend order for intercropping plots

Open Beginner friendly
#185 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
r

Research direction

Start by locating the plotting code for intercropping simulations and how it builds crop labels and legend entries. Check the package’s plot tests or examples to see the current output. Remove “Principal” and “Associated” from crop names, preserve the simulation results’ crop order in the legend, and confirm both behaviors in the resulting plots.

Written by the indexing model from the issue text.

Description

Remove the keywords Principal and Associated from crop names in plots displaying intercropping simulations.

Order the legend entries according to the order in which crops appear in the simulation results, with the first crop appearing first in the legend.

Dominant language
R
Stars
1
Forks
3
Avg merge
9h 41m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SticsRPacks/CroPlotR

All issues in SticsRPacks/CroPlotR

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.