8000 Mep12 logo.py by ericmjl · Pull Request #4818 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Mep12 logo.py #4818

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 3 commits into from
Jul 30, 2015
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
Prev Previous commit
made requested changes
  • Loading branch information
ericmjl committed Jul 29, 2015
commit e77f12c69dad15cff8c9c29819ffa53723a43eea
10 changes: 5 additions & 5 deletions examples/pylab_examples/logo.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file generates the matplotlib web page logo
# This file generates an old version of the matplotlib logo

# from __future__ import print_function
from __future__ import print_function
# Above import not necessary for Python 3 onwards. Recommend taking this
# out in all examples.
# out in examples in the future, since we should all move to Python 3.
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.cbook as cbook
Expand All @@ -24,7 +24,7 @@
transform=ax.transAxes,
)
plt.axis([1, 1.72, -60, 10])
plt.setp(plt.gca(), 'xticklabels', [])
plt.setp(plt.gca(), 'yticklabels', [])
plt.gca().set_xticklabels([])
plt.gca().set_yticklabels([])

plt.show()
0