showAreaAndBarPlots could still get confused if an external identifier was specified that contained REMIND and MAgPIE data, but the data was only from one model (as for most variables).
Then, the areaPlot did not print the model, but the total did so:
implement the identifier feature as I did already for lineplots to areaplots. So if an identifier is passed, do not guess the facets, but use that, in addition to regions. This makes sure the total line always matches...
allow to a dotted vertical line to showLinePlots, fixes https://github.com/pik-piam/mip/issues/99
showAreaAndBarPlots could still get confused if an external
identifier
was specified that contained REMIND and MAgPIE data, but the data was only from one model (as for most variables).Then, the areaPlot did not print the model, but the total did so:
implement the
identifier
feature as I did already for lineplots to areaplots. So if anidentifier
is passed, do not guess the facets, but use that, in addition to regions. This makes sure the total line always matches...