Infinite horizontal line in Bokeh
You are looking for “spans”: Spans (line-type annotations) have a single dimension (width or height) and extend to the edge of the plot area. Please, take a look at http://docs.bokeh.org/en/latest/docs/user_guide/basic/annotations.html#spans So, the code will look like: import numpy as np import bokeh.plotting as bk from bokeh.models import Span p = bk.figure() # Vertical line vline … Read more