You are currently viewing the new Beta Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the Beta Editor Docs

anvil.mpl_util Module

Functions

plot_image

Functions

plot_image([dpi=], [facecolor=], [edgecolor=], [format=], [transparent=], [frameon=], [bbox_inches=], [pad_inches=], [filename=]) → anvil.Media instance

Return the current Matplotlib figure as an PNG image. Returns an Anvil Media object that can be displayed in Image components.

Optional arguments have the same meaning as for ‘savefig()’



    anvil.mpl_util