I am trying to visualize a line chart, wishing to highlight all values above a certain axis (say, y=0) by creating a filled hatch (patch?) between the positive values and the y=0 axis.
How can I achieve this?
I see this example, however it is built on explicit x steps which is not our case.
import numpy as np
df = pd.DataFrame(np.random.randn(24, 1), columns=list(‘N’))
df_src = ColumnDataSource()
df_src.data = ColumnDataSource.from_df(df)
f = figure (title = 'Pathches above y=0 axis ',
plot_width=750, plot_height=350,
x_axis_label = ‘Index’,
y_axis_label = ‘N’)
f.line(x=‘index’, y=‘N’, source=df_src, line_width=2)
show(f)
``

