Matplotlib: plot multiple graphs as subplots on the same figure when different functions in the same class call the plot routine?
<p>So, say I have a function plot(self) within the class Pendulum that calls plot. Then I have another function plot2(self) within the same class Pendulum that also calls plot. How would I set up pyplot such that both functions would set up multiple graphs as separate subplots on the same figure?</p>
