import matplotlib in example code
import matplotlib in example code

This change allows the example code to run on its own. This is useful for users who just want to see that everything is working before integrating to their projects. Beginner users may be thrown off without it.

giacomomarchioro/PyEnergyDiagrams