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

The colour scale is off in at least TPRS and tensor product smooths for 2d smooths #193

Closed
gavinsimpson opened this issue Oct 13, 2022 · 1 comment
Labels
bug Something isn't working plotting
Milestone

Comments

@gavinsimpson
Copy link
Owner

See the brain example from the Physalia course as an example of the problem

@gavinsimpson gavinsimpson added bug Something isn't working plotting labels Oct 13, 2022
@gavinsimpson gavinsimpson added this to the 0.8 milestone Oct 13, 2022
@gavinsimpson
Copy link
Owner Author

This happens when we set some response data to NA where it lies too far from the support of the data. This ends up creating an invalid range which ggplot seemingly rejects. Fix to remove NA when computing the maximum of the absolute values of the response for the scale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plotting
Projects
None yet
Development

No branches or pull requests

1 participant