matplotlib文本中的无形符号
我正在寻找一种在字符串的末端放置到matplotlib文本的末端放置一个无形符号(或空格)的方法,即
ax.text(1.0, 1.0, 'xxx: ')
,显然Matplotlib会自动剥离所有字符串。我该怎么做?
I'm looking for a way to put an invisible symbol (or whitespace) at the end of the string passed to matplotlib text, i.e.
ax.text(1.0, 1.0, 'xxx: ')
but, apparently matplotlib automatically strip all the strings. How can I do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来Matplotlib不会剥离文本字符串。
Looks like matplotlib does not strip text string.