`W.diag` plots messes up with user settings.
Closed this issue · 2 comments
lbelzile commented
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
).
lbelzile commented
Current solution (a breaking change) is to let users fix graphical parameters themselves.
lbelzile commented
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...