I am trying to plot the graph using Django and matplotlib. So while plotting the graph on the Django template, I am converting matplotlib figure in png format and passing that p