8000 Fix for ylabel title in example tex_unicode_demo.py by pa-hobe · Pull Request #6832 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix for ylabel title in example tex_unicode_demo.py #6832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 2, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Using a non-raw string because of the unicode escape sequence in the …
…ylabel title.
  • Loading branch information
pa-hobe committed Jul 26, 2016
commit 670dba4bbc742b99a7b2e891afed23ecb62dd229
2 changes: 1 addition & 1 deletion examples/pylab_examples/tex_unicode_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
plt.plot(t, s)

plt.xlabel(r'\textbf{time (s)}')
plt.ylabel(r'\textit{Velocity (\u00B0/sec)}', fontsize=16)
plt.ylabel('\\textit{Velocity (\u00B0/sec)}', fontsize=16)
plt.title(r"\TeX\ is Number \
$\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!",
fontsize=16, color='r')
Expand Down
0