Skip to content

Commit

Permalink
remove on.exit from plot.epiparameter, closes #409
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Nov 26, 2024
1 parent a6c5c2b commit 479d365
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ plot.epiparameter <- function(x,
# capture dots
dots <- list(...)

oldpar <- graphics::par(no.readonly = TRUE)
on.exit(graphics::par(oldpar))

if (is_continuous(x)) {
main <- "Probability Density Function"
} else {
Expand Down

0 comments on commit 479d365

Please sign in to comment.