Collections attribute deprecation in version > 3.8

2 posts were merged into an existing topic: Code does not work on new version of Matplotlib