Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only inspect a subset of par() in helper-state #166

Merged
merged 3 commits into from
Dec 5, 2024
Merged

Conversation

Bisaloo
Copy link
Member

@Bisaloo Bisaloo commented Dec 5, 2024

This is a proposed fix for #163.

@Bisaloo Bisaloo requested a review from joshwlambert December 5, 2024 10:13
@Bisaloo Bisaloo linked an issue Dec 5, 2024 that may be closed by this pull request
Copy link
Member

@joshwlambert joshwlambert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Bisaloo, this looks like a nice fix. Is there any documentation that you could link to in helper-state.R that states that "cxy", "usr", "xaxp" are the only graphics parameters altered by plot()?

@Bisaloo
Copy link
Member Author

Bisaloo commented Dec 5, 2024

This is the best I have at the moment.

It does resolve the issues for epiparameter. I propose we add more parameters in the future if we ever notice they cause issues.

Does this sound reasonable?

@joshwlambert
Copy link
Member

It does resolve the issues for epiparameter. I propose we add more parameters in the future if we ever notice they cause issues.

Does this sound reasonable?

Yep, good with me.

@Bisaloo Bisaloo merged commit 2b5af2f into main Dec 5, 2024
7 checks passed
@Bisaloo Bisaloo deleted the inspect-par-subset branch December 5, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive on graphics par() from set_state_inspector()
2 participants