我正在使用schemdraw库来绘制电子示意图,并且我想将显示窗口的名称从例如"Figure 1“更改为"Schema of XYZ”。有可能改变这一点吗?我知道,schemdraw库是基于matplotlib创建的,但我想尝试matplotlib的函数,但它不起作用。
你有什么想法吗?
Reagards,L.
发布于 2020-10-28 15:20:23
尝试使用folowing
import matplotlib.pyplot as plt
import SchemDraw as schem
d=schem.Drawing(3,.5,0.1,12,'sans')
#...
fig,ax = plt.subplots(num='Schema of XYZ')
#you can also try
ax.set_title('Schema of ZYX')
d.draw(ax)https://stackoverflow.com/questions/64423752
复制相似问题