【发布时间】:2022-08-06 01:37:29
【问题描述】:
我试图在matplotlib使用\\n, 在绘图而不是换行符上显示一个方框
\"Fault location:\" + str(sc) + \"\\nI_sc=\" + str(fault)
我想将故障位置和 I_sc 放在单独的行中,例如
Fault location: 1
I_sc=2
-
欢迎来到 StackOverflow。请阅读Ask questions, get answers, no distractions、What should I do when someone answers my question?,以及关于Voting 和Accepting。
标签: matplotlib plot-annotations