Matplotlib Object Oriented Vs Functional Programming In Java