imarrayplot

edge_pydb.plotting.imarrayplot(x, y, imval, blank=None, clipedge=True, pad=5, axes=None, **kwargs)[source]

Plot a pixel image from a data column.

Parameters:
xnumpy.array

The x values in the image plot (typically ‘ix’)

ynumpy.array

The y values in the image plot (typically ‘iy’)

imvalnumpy.array

The z values which determine the dot colors

blankboolean array

True values in this array are set to NaN

clipedgeboolean

True to derive a square bounding box around non-Nan values. False to show full image.

padint

Padding in pixels around edges if clipedge=True

axesmatplotlib.axes

Axes for plotting

**kwargs

Additional arguments passed to imshow

Returns:
imgmatplotlib image object

Plotted image

xminmaxtuple

[x.min(), x.max()]

yminmaxtuple

[y.min(), y.max()]