Bonus EX. Plot Predictions 🔝
With this last bonus, exercise we want to plot a graph with the predictions computed in the previous step.
✅ Open the file /dags/plot_prediction.py
and have a look at the call_plot_function()
.
❓ How we could make it compliant with best practices? ❓
✅ Go back to the Web UI and activate the plot_prediction
DAG, clicking on the ON
button.
🕚 Refresh the status clicking on the 🔁 REFRESH
button and check the progress in the Graph View.
✅ Once completed, check in the subfolder plots
of the repository the plot file forecasts.png
.