Skip to content

Interface: ImshowFunction() ​

imshow called with an image (returns the figure) or with an element first (renders it).

Call Signature ​

ts
ImshowFunction(img, options?): ExpressFigure;

imshow called with an image (returns the figure) or with an element first (renders it).

Parameters ​

ParameterType
imgImshowInput
options?ImshowOptions

Returns ​

ExpressFigure

Call Signature ​

ts
ImshowFunction(
   el,
   img,
   options?
): Promise<Chart>;

imshow called with an image (returns the figure) or with an element first (renders it).

Parameters ​

ParameterType
elHTMLElement
imgImshowInput
options?ImshowOptions

Returns ​

Promise<Chart>

Released under the MIT License.