Skip to content

Commit d0bb8c1

Browse files
committed
Unicode issue on python3
1 parent 414bcff commit d0bb8c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/pyplots/text_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
ax.text(2, 6, r'an equation: $E=mc^2$', fontsize=15)
1818

19-
ax.text(3, 2, unicode('unicode: Institut f\374r Festk\366rperphysik', 'latin-1'))
19+
ax.text(3, 2, u'unicode: Institut f\374r Festk\366rperphysik')
2020

2121
ax.text(0.95, 0.01, 'colored text in axes coords',
2222
verticalalignment='bottom', horizontalalignment='right',

0 commit comments

Comments
 (0)