Hiding graph line when value=0

I have a line using step which has +ve and +ve values. Is there a way to not draw the portion where y = 0?

x = [1, 2, 3, 4, 5, 6]
y3 = [0, 2, 0, -2, 0, 0]

s2 = figure(width=200, height=200, sizing_mode='stretch_width')
s2.step(x=x, y=y3, mode="after", alpha=0.9, nonselection_alpha=0.5)

Graph

So only show the lines from 0->2->2->0 and 0->-2->-2->0 and hide the sections from 0->0.

There’s not any built in mechanism for this. I think your best/only option is to split up the data yourself and either make multiple calls to step for each subset or else use multi_line to achieve the effect you are after.