Oops, an error occurred! - while using matplotlib

It seems there is a bug while rendering a matplotlib
I created a share link here

chatgpt/share/f6441f12-f14d-483e-b4a8-7e52f25a9b94