-
-
Notifications
You must be signed in to change notification settings - Fork 831
Open
Labels
Description
What happened?
With the release of altair version 6.0.0, we now raise a user warning in situations described here #3891:
This user warning looks as such:
UserWarning: Automatically deduplicated selection parameter with identical configuration. If you want independent parameters, explicitly name them differently (e.g., name='param1', name='param2'). See https://github.com/vega/altair/issues/3891 exec(compiled, namespace)
When building the docs, see for example this GitHub actions (open Build docs and scroll the loggings), I noticed that this user warning is raised several times as a false-positive. In most of these cases we are re-using the same selection, such as in a layered or concatenated chart. In that case we can safely ignore the warning, while Altair is just letting us know that it merged the identical definitions for us.
What would you like to happen instead?
But what if I don't want a warning? How do I change my specification to not have this? And, can we find ways to reduce the number of false-positives of these user warnings?
Which version of Altair are you using?
Altair version 6.0.0