I am trying to build a graph which shows accuracy and loss curves using Matplotlib but it is not displaying curves rather it just displays graph and its x-axis