altair
altair copied to clipboard
Conditionally change axis label appearance (color, opacity)
I am not sure if this is a feature request or a bug report, but basically I'm having the same request as in this SO question:
https://stackoverflow.com/questions/68113954/python-altair-conditionally-change-axis-label-appearance-color-opacity
How come the conditional works when an expression is passed, but not when it's a selection condition?
Interactive axis labels have not yet been implemented in Vega-Lite and is being tracked in this issue https://github.com/vega/vega-lite/issues/1657 (see the later comments and the two issues referenced as duplicates at the end for more details)
Closing this as nothing can be done on the Altair side. After the vega-lite issue has been fixed this will automatically be included in a following altair release.