【问题标题】:seaborne jointplot - how to get rectangular plotseaborne jointplot - 如何获得矩形图
【发布时间】:2018-03-29 08:17:01
【问题描述】:

我遇到了这个post,它展示了如何获得一个矩形图。代码运行。但我想知道如何在 python 屏幕上打印这个图像?我尝试了“网格”,但它打印如下

grid
Out[91]: <seaborn.axisgrid.JointGrid at 0x1fbb7e76cf8>

【问题讨论】:

  • 这里说的是什么环境?显示该图与任何其他 matplotlib 图相同,通常为pt.show()。但如果fig 是图形对象,您也可以只声明fig

标签: python seaborn


【解决方案1】:

如果您将所有行一起运行,那么它将显示您想要的图。不要逐行运行。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-02-10
    • 2011-10-10
    • 2018-09-27
    • 2018-01-11
    • 2014-10-15
    • 2023-03-06
    • 2016-12-08
    • 1970-01-01
    相关资源
    最近更新 更多