| 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 | |
| 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 | |