altair icon indicating copy to clipboard operation
altair copied to clipboard

Conditionally change axis label appearance (color, opacity)

Open Andrej-Marsic opened this issue 3 years ago • 1 comments

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?

Andrej-Marsic avatar Oct 05 '22 16:10 Andrej-Marsic

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)

joelostblom avatar Oct 05 '22 21:10 joelostblom

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.

joelostblom avatar Jan 06 '23 12:01 joelostblom