When pyplot.imshow() is used without extent option, the pixels are shown on integer coordinates. All pixels are fit into the defined range. As a result, the plot is a bit smaller than it should be.
There is no simple way to update multiple lines repetitively and continuously of an existing figure in matplotlib. Using this class as drop-in replacement for matplotlib's pyplot, the figure's line ...