Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人都知道如何在 matplotlib 中生成这个图(任何想法都可以)?基本上,我有一些数据点,我想用 bin 来绘制它们。例如,在 100 分之后,我画了斧头刻度线。这个 x 刻度可能是按比例缩放的。谢谢,
您可以在任何您希望它们使用的地方设置刻度set_xticks。
set_xticks