How do I remove this error while drawing a graph