ZhangZhihui's Blog  

2022年1月8日

摘要: def axes_show_y_value(axes, x_data, y_data): for x, y in zip(x_data, y_data): axes.annotate(str(y), # this is the text (x, y), # these are the coordin 阅读全文
posted @ 2022-01-08 18:07 ZhangZhihuiAAA 阅读(47) 评论(0) 推荐(0) 编辑
 
摘要: Python code: import base64from io import BytesIOdef fig_to_html(fig): """ Convert a matplotlib.Figure object to html image source :param fig: :return: 阅读全文
posted @ 2022-01-08 16:32 ZhangZhihuiAAA 阅读(30) 评论(0) 推荐(0) 编辑