Skip to content

Instantly share code, notes, and snippets.

@MohamedElashri
Last active May 7, 2023 04:45
Show Gist options
  • Save MohamedElashri/4a515651f4e51f4abf9ee6cce9f27b84 to your computer and use it in GitHub Desktop.
Save MohamedElashri/4a515651f4e51f4abf9ee6cce9f27b84 to your computer and use it in GitHub Desktop.
[fix AttributeError: 'Polygon'] object has no property 'normed' #python

To fix the problem with matplotlib in some of coursera assignments with AttributeError: 'Polygon' object has no property 'normed'

we just need to chage normed=True with density=True

That's all you need.

@samgostomski
Copy link

This worked thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment