2024-05-16 15:34:54 发布
网友
我用这个傻瓜画了一个图:
plt.plot(x,y, color = "blue", label = u'\u03C9')
 unicode在plot label中不起作用,但在我尝试时它就起作用了
print(u'\u03C9')
提前谢谢你。你知道吗
运行plt.legend()以显示标签。你知道吗
plt.legend()
您可以在这里看到一个工作版本:https://gist.github.com/davidbrai/742de3cb7def6da8f125e4572e691ee4
运行
plt.legend()
以显示标签。你知道吗您可以在这里看到一个工作版本:https://gist.github.com/davidbrai/742de3cb7def6da8f125e4572e691ee4
相关问题 更多 >
编程相关推荐