Live Chat

We'll need to share your messages (and your email address if you're logged in) with our live chat provider, Drift. Here's their privacy policy.

If you don't want to do this, you can email us instead at contact@anvil.works.

anvil.mpl_util Module

Functions

plot_image

Functions

plot_image([dpi=], [facecolor=], [edgecolor=], [format=], [transparent=], [frameon=], [bbox_inches=], [pad_inches=]) → 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