I am connecting a UI to Python flask backend...I am uploading a part of code where the error is showing
legendTemplate: \'