In order to plot my trained ML data, I need to use one matplotlib.pyplot method as follow:
plt.plot(points_x, points_y, color='red', linewidth=3)

where (points_x, points_y) define a line.

It works properly in QB, but in main.py only the API Lean Charts appears, and not this one.

Is there any way to plot it in main.py?

I'll really appreciate your help.
Thanks in advance.
Regards,

Mario

Author