【问题标题】:Is there a way to add a title or a caption to the drawing using graph_tool有没有办法使用 graph_tool 为绘图添加标题或说明
【发布时间】:2018-05-23 02:11:34
【问题描述】:

至少有一些解决方法将不胜感激。我正在尝试将数字保存为 pdf,然后将其与乳胶一起用作动画。如果有一种方法可以自动添加字幕,这将非常有帮助,因为我将有大约 50-60 个数字。

【问题讨论】:

    标签: python graph-tool


    【解决方案1】:

    我不知道它是否可以在本地使用,但是您可以使用 graph_draw() 中的 mplfig 选项将 graph-tool 绘制的图形放入 matplotlib Figure() 中。这样,您就可以使用 matplotlib 围绕您的图形的所有灵活性。

    【讨论】:

      猜你喜欢
      • 2022-09-27
      • 1970-01-01
      • 1970-01-01
      • 2021-05-18
      • 2020-04-05
      • 1970-01-01
      • 2020-05-09
      • 1970-01-01
      • 2022-01-20
      相关资源
      最近更新 更多