12. 散点图
12.1 插入散点图
self.add_heading("散点图", level=1)
self.add_heading('插入散点图', level=2)
self.add_space()
# 如果需要传入个性化数据,需要修改scatter_plot_with_legend方法代码
self.add_flowable(
of_ex_scatter.scatter_plot_with_legend(width=560, height=240)
)
self.add_caption('散点图', category=constant.CAPTION_IMAGE)
执行代码生成散点图