Skip to content Skip to sidebar Skip to footer

Altair Remove Border In Layerchart

I am trying to remove the border from an altair chart. This answer works perfectly but it fails when I try to visualize a layered chart. In my setting I have two charts, one for th

Solution 1:

Apparently it is as simple as creating a new object and setting the attribute on that object.

layeredmap=m1+m2
layeredmap.configure_view(StrokeWidth=0)

Alternatively, it is enough to use parenthesis and define the attribute while plotting:

(m1+m2).configure_view(StrokeWidth=0)

Post a Comment for "Altair Remove Border In Layerchart"