【问题标题】:Is there anyway to change xticks in a plot with a data frame table?无论如何要更改带有数据框表的绘图中的 xticks 吗?
【发布时间】:2020-03-02 04:32:01
【问题描述】:

嘿,伙计们,我想知道是否有办法使用 pandas 数据框更改绘图中的 xticks?我最近看到这个折线图,而不是常规的 xticks,它有数据框或表格作为 xticks。我们可以通过使用 matplotlib 或 seaborn 来做到这一点吗?检查图片以查看折线图。对不起我的英语。

【问题讨论】:

    标签: python pandas matplotlib seaborn


    【解决方案1】:

    在matplotlib中有这样一种可能性: example 1, example 2, matplotlib manual.

    尝试用绘图命令替换条形命令

    【讨论】:

      猜你喜欢
      • 2021-06-28
      • 1970-01-01
      • 2014-02-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-04
      • 1970-01-01
      相关资源
      最近更新 更多