Plot with rect and multiple color mapping

Applying Bryan’s explanation he gave me here - Template-->Theme-->text_font. Putting it all together - #3 by Bryan , the reason your code isn’t behaving as intended is indeed as I suspected, but there’s a way easier fix than my suggestion/rewrite above.

Just replace:

fig2.rect(x=col, y="index", .....

with

fig2.rect(x=dict(value=col), y="index",

:slight_smile:

2 Likes