holoviz-topics / neuro

HoloViz+Bokeh for Neuroscience
BSD 3-Clause "New" or "Revised" License
17 stars 5 forks source link

Create random range annotations #80

Closed droumis closed 8 months ago

droumis commented 8 months ago

Generate a DataFrame containing annotations for a range of categories over a specified time duration.

Such as:

index start end category color
2   3   4   C   #018700
3   5   6   A   #d60000
0   0   1   B   #8c3bff
4   8   9   B   #8c3bff
1   2   3   B   #8c3bff