我已经在python中使用Seaborn库创建了情节
g = sns.PairGrid(df)
g = g.map_diag(plt.hist, edgecolor="w")
g = g.map_offdiag(plt.scatter, edgecolor="w")
g = g.add_legend()
actual Graph before saving as html
使用以下代码行将其转换为html:
mpld3.save_html(g, path)
将每个图形另存为html后,上下颠倒,如下图所示:
Graph inverted When saved as html
如何解决?