def __init__(self, ax, plot_function, plot_limits, resolution=<NUM_LIT:20>, update_lim=<NUM_LIT>, imshow_kwargs=None, **kwargs):
self.imshow_kwargs = imshow_kwargs or {}<EOL>super(ImAnnotateController, self).__init__(ax, plot_function, plot_limits, resolution, update_lim, **kwargs)<EOL>
:param plot_function:
    function to use for creating image for plotting (return ndarray-like)
    plot_function gets called with (2D!) Xtest grid if replotting required
:type plot_function: function
:param plot_limits:
    beginning plot limits [xmin, ymin, xmax, ymax]
:param text_props: kwargs for pyplot.text(**text_props)
:param kwargs: additional kwargs are for pyplot.imshow(**kwargs)