matplotlib.pyplot
を使用してFigureのタイトルを2行に分割する必要があります。matplotlib非アスキー文字とLaTeX文字の2行でタイトルを分割する
plt.title(u"Some very long string with non ascii chara éèàéüöëêâûô\n"
"and the next line should be here, with maybe some LaTeX symbols like greek letters in addition éèàéüöëêâûô")
plt.title(r"Some very long string with non ascii chara éèàéüöëêâûô\n"
"and the next line should be here, with maybe some LaTeX symbols like greek letters in addition éèàéüöëêâûô")
どちらのステートメントのバージョンは私にいくつかのエラーが返されました:ここ
は、私がこれまで試したものです。
plt.title(u"Some very long string with non ascii chara éèàéüöëêâûô\n and the next line should be here, with maybe some LaTeX symbols like greek letters in addition éèàéüöëêâûô")
か試してみてください:
あなたの場合は、代わりに単一のもので、入力した二重を使用この場合:ここで
は私のための有効なソリューションです – Dimgold