I am plotting a line where :
x axis is Timestamp. eg. T1, T2, -> T20
y axis is a Stat Value eg. … … … 10 20 30
… indicates that there is no value for the stat for that timestamp.
The line is plotted using this call:
figure.line (x_axis, this_bucket_plot, legend=bucket, alpha=0.5, color=this_color, line_width=3)
x_axis is an array of x axis datapoints
this_bucket_plot is an array of y axis datapoints.
Most of the datapoints in this_bucket_plot as intentionally set to 0 so that lenght of both arrays is same.
To save processing time, is there a way to indicate bokeh not to plot 0 values. Most of my data is sparse i.e. 0.