Hi Blake,
the following addition should do what you want:
self.ax = self.fig.add_subplot(1,1,1, autoscale_on=False, xlim=(0, 100),
ylim=(0, 100))
or by hand after creation of the axes
self.ax.set_autoscale_on(False)
xlim(...)# or self.ax.set_xlim(...)
ylim(...)
That is you
Hi,
I have started to use pyplot to create graphs, saving the images and
generating an animation from the collection. Pyplot autoscale the
axes, which isn't suitable for an animation. At the moment I reset
them (for every frame) using the xlim / ylim functions:
import matplotlib.pyplot as plt