Skip to main content
Version: 0.4.x

PngDashboard

This is a subclass of Dashboard. Return an instance of this class to create a dashboard with PNG content.

Can be found in the classpath squirrels.dashboards.PngDashboard or squirrels.PngDashboard.

Constructor​

Creates a PngDashboard object.

Required Arguments:

  • content: Either a matplotlib.figure.Figure object, or a bytes or io.BytesIO object for the PNG content as bytes.