Code refactoring of the plotting functions#60
Conversation
Remove duplicated code
Remove default plot title when all_situations = TRUE (the plot title is used to identify the situation, so no need if all_situations = TRUE)
|
Update: All dynamic plots (figure 1 to 8) where visually checked and are valid. We checked the scatter plots that are currently implemented (see below). The plots with Here's the state for the scatter plots:
|
Remove letter in the legend of shape_sit="txt" (found looking at fig. 5)
|
📝 Styler has automatically formatted the following R files in this PR:
Please pull these changes to your local branch. |
|
📝 Styler has automatically formatted the following R files in this PR:
Please pull these changes to your local branch. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #60 +/- ##
==========================================
+ Coverage 61.44% 64.20% +2.76%
==========================================
Files 17 20 +3
Lines 1250 1506 +256
==========================================
+ Hits 768 967 +199
- Misses 482 539 +57 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
📝 Styler has automatically formatted the following R files in this PR:
Please pull these changes to your local branch. |
Refactoring the code to make it easier to maintain. The old code was a nightmare; changing a simple thing had many side effects. Now we are trying to separate the plotting code of each kind of plot, so updating the code of a type of plot will be simply looking at the code for it.
This PR continues the previous one that I accidentally merged: #57