8000 Ensure that fonts are present on travis when building docs. by jenshnielsen · Pull Request #3950 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Ensure that fonts are present on travis when building docs. #3950

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 5 commits into from
Dec 29, 2014
Merged
Show file tree
Hide file tree
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
Prev Previous commit
Next Next commit
Fallback to Bitsream vera sans mono
In logo example
  • Loading branch information
jenshnielsen committed Dec 27, 2014
commit 898b5d237db6cde5ce2041499e5c4b0045510ed6
2 changes: 1 addition & 1 deletion examples/pylab_examples/logo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ax = subplot(111, axisbg='y')
plot(t, x)
text(0.5, 0.5, 'matplotlib', color='r',
fontsize=40, fontname='Courier',
fontsize=40, fontname=['Courier', 'Bitstream Vera Sans Mono'],
horizontalalignment='center',
verticalalignment='center',
transform=ax.transAxes,
Expand Down
2 changes: 1 addition & 1 deletion examples/pylab_examples/text_handles.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ def f(t):
setp(ttext, size='large', color='r', style='italic')
setp(xtext, size='medium', name=['Courier', 'Bitstream Vera Sans Mono'],
weight='bold', color='g')
setp(ytext, size='medium', name=['Helvetica', 'Liberation Sans'],
setp(ytext, size='medium', name=['Helvetica', 'Bitstream Vera Sans'],
weight='light', color='b')
show()
0