簡單的命令我嘗試運行:如何繪製使用非英文符號SAGE圖?
sage: Graph({'Б':[1,2]}).plot().save('/tmp.plot.png')
失敗:
/usr/lib/sagemath/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/matplotlib/text.py in set_text(self, s)
1204 ACCEPTS: string or anything printable with '%s' conversion.
1205 """
-> 1206 self._text = '%s' % (s,)
1207 self.stale = True
1208
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
有人能幫助這一點?
SageMath 7.2版本,發佈日期:2016年5月15日
參見http://ask.sagemath.org/question/34071/is-there-a-way-to-use-non-english-symbols/ – kcrisman