plot_1d_frame_array¶
- behavenet.plotting.cond_ae_utils.plot_1d_frame_array(ims_list, markers=None, im_kwargs=None, marker_kwargs=None, plot_ims=True, plot_diffs=True, figsize=None, save_file=None, format='pdf')[source]¶
Plot list of list of interpolated images output by
interpolate_1d()in a 2d grid.- Parameters:
ims_list (
listoflist) – each inner list element holds an np.ndarray of shape (y_pix, x_pix)markers (
listoflistor NoneType, optional) – each inner list element holds an array-like object with values (y_pix, x_pix); if None, markers are not plotted on top of framesim_kwargs (
dictor NoneType, optional) – kwargs for matplotlib.pyplot.imshow() function (vmin, vmax, cmap, etc)marker_kwargs (
dictor NoneType, optional) – kwargs for matplotlib.pyplot.plot() function (markersize, markeredgewidth, etc)plot_ims (
bool, optional) – plot imagesplot_diffs (
bool, optional) – plot differencesfigsize (
tuple, optional) – (width, height) in inchessave_file (
stror NoneType, optional) – figure saved if not Noneformat (
str, optional) – format of saved image; ‘pdf’ | ‘png’ | ‘jpeg’ | …