Skip to content

Commit

Permalink
fix for pydantic error
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Feb 16, 2024
1 parent 8aef076 commit ecd9dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plots/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_x_y(metric_values):
x is the time
y is the metric value
"""
metric_values = [MetricValue.from_orm(value) for value in metric_values]

# select data to show in the chart MAE and RMSE and date from the above date range
x = [value.datetime_interval.start_datetime_utc for value in metric_values]
y = [round(float(value.value), 2) for value in metric_values]
Expand Down

0 comments on commit ecd9dde

Please sign in to comment.