Create a Page
We now need to start our actual report.
The CreatePage function is used to create a new page. It takes the same arguments as the MatPlotLib subplots function and returns the same values - a figure and a list of axes.
If we wanted to create a simple report with only a single set of axes, we could use…
report.CreatePage(1)
The Title function is used to create a simple title-block for your report. By default it uses the report name and date range used when initialising your mplreport object.
report.CreatePage(1) report.Title()
Next, we can add a query to the report.