Making Function Async Python Compiler With Matplotlib