-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
Add cmap argument to pairplot #1159
Comments
Similarly to the
|
The reason we do not expose all argument is that the number easily explodes, instead we use |
Per comments on the PR (#1158), I think it would be a good idea for ArviZ to specify a sensible default choice of If it's possible, it might be best to supply a choice that is sensitive to the current style sheet, or specify the default in the style sheet, if that is possible. These matters, unfortunately, exceed my understanding of the backends. |
The problem you are seeing is because you are combining two styles by first calling |
Is there a style we expect our Arviz styles to be applied on top of? I guess just the default matplotlib style? |
@rpgoldman can you confirm this is fixed? |
Tell us about it
The coloring of a
hexbin
plot is controlled (at least with the matplotlib backend) by acmap
argument. This argument is not exposed to the programmer through the pairplot parameter set, and the backend plotting function ignores thebackend_kwargs
argument, so the programmer cannot control this except through setting thecmap
parameters of the backend, potentially breaking other plots.Thoughts on implementation
Probably the simplest method is to start using
backend_kwargs
instead of supportingcmap
directly. Supportingcmap
directly would be nicer, though, since it doesn't require understanding the backend, and it would expose thecmap
to the user in the docstring.The text was updated successfully, but these errors were encountered: