lbelzile/mev

`W.diag` plots messes up with user settings.

Closed this issue · 2 comments

The current code resets the parameters of the graphics console, which prevents people from adding graphs to existing plots. It also is particularly unwanted if the code returns no plot (plots=NA).

Current solution (a breaking change) is to let users fix graphical parameters themselves.

Changed my mind: added an additional argument (logical) changepar. If FALSE, the graphical parameters are left unchanged, so this should give the desired effect. Unfortunately, the behaviour is inconsistent from one graphical threshold diagnostic to the next...