Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dbe0f68

Browse files
committed
Minor fix -- updating old \rm{} syntax to \mathrm{} syntax.
svn path=/trunk/matplotlib/; revision=4497
1 parent fbc517c commit dbe0f68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/mathtext_demo.py

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

2323
ax.legend(("Foo", "Testing $x^2$"))
2424

25-
ax.set_title(r'$\Delta_i^j \hspace{0.4} \rm{versus} \hspace{0.4} \Delta_{i+1}^j$', fontsize=20)
25+
ax.set_title(r'$\Delta_i^j \hspace{0.4} \mathrm{versus} \hspace{0.4} \Delta_{i+1}^j$', fontsize=20)
2626
#fig.savefig('mathtext_demo')
2727

2828
show()

0 commit comments

Comments
 (0)