I guess it sounds like a historical question, so I'd like to frame it as: coding a library such as matplotlib, should I have setters and getters, or should I stick to properties?
Asked
Active
Viewed 102 times
4
-
According to the docs, `@property` was "New in version 2.2." I think matplotlib was before this? Maybe some legacy stuff going on? – Dair Nov 21 '14 at 21:52
-
This is just a guess though. – Dair Nov 21 '14 at 21:53