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.
我想显示一个应该绘制为非连续的图表。图表示例如下;
怎么画?
谢谢!
broken_barh ()函数呢?
在 pyplot 中使用 scatter() 函数。
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.scatter
我认为hlines是你所追求的。