Spaces:
Sleeping
Sleeping
| import plotly.graph_objects as go | |
| def plot_harmonization(raw, harm): | |
| fig = go.Figure() | |
| fig.add_trace(go.Bar(name="Raw", x=["Price"], y=[raw])) | |
| fig.add_trace(go.Bar(name="Harmonized", x=["Price"], y=[harm])) | |
| fig.update_layout(barmode='group', title="Raw vs Harmonized") | |
| return fig |