Skip to content

Backport PR #9627 on branch v2.1.0-doc #9634

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 1 commit into from
Oct 31, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
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
33 changes: 33 additions & 0 deletions doc/users/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,36 @@ dynamically-generated web pages. Some use Matplotlib interactively
from the Python shell in Tkinter on Windows. My primary use is to
embed Matplotlib in a Gtk+ EEG application that runs on Windows, Linux
and Macintosh OS X.

----

Matplotlib's original logo (2003 -- 2008).

..
The original logo was added in fc8c215.

.. plot::

from matplotlib import cbook, pyplot as plt, style
import numpy as np

style.use("classic")

datafile = cbook.get_sample_data('membrane.dat', asfileobj=False)

# convert data to mV
x = 1000 * 0.1 * np.fromstring(open(datafile, 'rb').read(), np.float32)
# 0.0005 is the sample interval
t = 0.0005 * np.arange(len(x))
plt.figure(1, figsize=(7, 1), dpi=100)
ax = plt.subplot(111, facecolor='y')
plt.plot(t, x)
plt.text(0.5, 0.5, 'matplotlib', color='r',
fontsize=40, fontname=['Courier', 'DejaVu Sans Mono'],
horizontalalignment='center',
verticalalignment='center',
transform=ax.transAxes,
)
plt.axis([1, 1.72, -60, 10])
plt.gca().set_xticklabels([])
plt.gca().set_yticklabels([])
36 changes: 0 additions & 36 deletions examples/misc/logo.py

This file was deleted.