File size: 321 Bytes
c75078b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import plotly.graph_objects as go


def generate_dashboard(weights):
    fig = go.Figure(data=[
        go.Bar(
            x=list(weights.keys()),
            y=list(weights.values())
        )
    ])

    fig.update_layout(
        title="MoTE Modality Distribution",
        yaxis_title="Weight"
    )

    return fig