Comments are moderated. It may take a few minutes before your comment appears.
Markdown is supported in your comments.
The final error is Error: creating label (2,5). Looking at the Y coordinates during the generation step, a 5 is missing and so those points are never created. Add a 5 to the Y list and the code is fully debugged.