jlu-ilr-hydro / odmf

Observatory Data Management Framework
MIT License
4 stars 5 forks source link

Make Bar-Plots #158

Closed philippkraft closed 2 months ago

philippkraft commented 3 months ago

For many values bar plots would be great!

Idea: Use "bar" as linestyle and modify https://github.com/jlu-ilr-hydro/odmf/blob/647f11435be58cd986d15c82f90e13503e7d7508/odmf/plot/draw_plotly.py#L14

See here: https://plotly.com/python/graph-objects/


if line.linestyle='bar':
    return go.Bar(x=data.index, y=data, color=line.color)
philippkraft commented 2 months ago

Bar plots are working fine!