Span impacted by Timestamp, should accept values like label

I ran into the following bug when using Span and Label in a loop. The Span would kill the process but label would show fine. The solution of adding “.timestamp() * 1000” addressed the problem. I’m assuming that the same solution to the code would address the issue.

This would not work until “.timestamp() * 1000” was added to the marker variable

for marker in df[df.PM == ‘x’][‘Time’]:
pm = Span(location=marker**.timestamp() * 1000**, dimension=‘height’, line_color=‘orange’, line_width=5)
plot.add_layout(pm)
pm_label = Label(x=marker,y=0,y_units=‘screen’,text=‘PM’)
plot.add_layout(pm_label)

Thanks