<jupyter_start><jupyter_text>Providing an axisYou can also embed the interactive plot into an existing figure<jupyter_code>with ioff:
    fig, (ax1, ax2) = plt.subplots(1,2,figsize=(10,5))

ax1.plot(np.sin(np.linspace(0,np.pi)))
fig2, ax2, controls2 = interactive_imshow(f, param1=(-5,5), param2=(-3, 12), ax=ax2)<jupyter_output><empty_output><jupyter_text>Preventing colormap autoscalingThe if you do not specify vmin/vmax and your function does not return an RGB(A) image then the default behavior is to rescale the colormap for each parameter change. This can disabled using this `autoscale_cmap` argument.<jupyter_code>fig3, ax3, controls3 = interactive_imshow(f, param1 = (-5,5), param2 = (-3,12), autoscale_cmap=False)<jupyter_output><empty_output><jupyter_text>vmin and vmax: thresholding an imageYou can also pass `vmin` and `vmax` as functions. Additionally you do not need to use a function to provide the image, you can also provide an array<jupyter_code>img = plt.imread("https://matplotlib.org/3.3.1/_images/stinkbug.png")
def vmin(min_, max_):
    return min(min_, max_)
def vmax(min_, max_):
    return max(min_, max_)
fig4, ax4, controls4 = interactive_imshow(img, vmin=vmin, vmax = vmax, min_= (0,.7), max_= (.3,1))<jupyter_output><empty_output>