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()’
Do you still have questions?
Our Community Forum is full of helpful information and Anvil experts.