CodexFlow_TM / dashboard.py
LordXido's picture
Create dashboard.py
448c4d0 verified
raw
history blame contribute delete
300 Bytes
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