V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  mayerpan  ›  全部回复第 1 页 / 共 1 页
回复总数  4
110 天前
回复了 mzotw2babm 创建的主题 Python matplotlib hlines 怎么控制线间距
我想到一个思路不知可不可行,python 绘图可以提供 transform 按整个图进行映射相对坐标,tranform=ax.transAxes,你的 y=df.index 可以改成 y=0.2 ,其他几条线同理,应该能控制等间距。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5019 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 09:57 · PVG 17:57 · LAX 02:57 · JFK 05:57
Developed with CodeLauncher
♥ Do have faith in what you're doing.