office.PowerPointChart

office.PowerPointChart(self, slide, hidden, name, title, figure)

One chart of a PowerPoint presentation, drawn and ready for maidr.

Pass it to :func:maidr.show, :func:maidr.render, :func:maidr.save_html or :func:maidr.close as you would a matplotlib figure.

Attributes

Name Type Description
slide int The number of the slide the chart is on, counting from 1 in slide show order.
hidden bool Whether that slide is hidden in the slide show.
name str The chart’s name in PowerPoint, such as "Chart 3".
title str or None The title PowerPoint shows on the chart, or None when it shows none.
figure matplotlib.figure.Figure The chart drawn with matplotlib. It is not managed by pyplot, so plt.show() does not show it.