excel.ExcelChart

excel.ExcelChart(self, sheet, name, title, figure)

One chart of an Excel workbook, 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
sheet str The name of the sheet the chart is on.
name str The chart’s name in Excel, such as "Chart 1".
title str or None The title Excel 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.