Spaces:
Sleeping
Sleeping
File size: 300 Bytes
448c4d0 | 1 2 3 4 5 6 7 8 | 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 |