This closes #197. In addition the tooltips in the plotly versions of the plots have been cleaned up.
At the same time I cleaned up the plotting code. Most plotting functions now have all their ggplot-specific code handled by the new plotDataFrame() function.
There has been a change in the return values when plotting functions are called with return_data = TRUE. Most importantly, the return value from plotBiomass is a single data frame rather than a list of two data frames. Before this pull request gets merged I therefore need the go-ahead from @baldrech , who implemented the return_data feature and is already using it in his code.
This closes #197. In addition the tooltips in the plotly versions of the plots have been cleaned up.
At the same time I cleaned up the plotting code. Most plotting functions now have all their ggplot-specific code handled by the new
plotDataFrame()
function.There has been a change in the return values when plotting functions are called with
return_data = TRUE
. Most importantly, the return value from plotBiomass is a single data frame rather than a list of two data frames. Before this pull request gets merged I therefore need the go-ahead from @baldrech , who implemented thereturn_data
feature and is already using it in his code.