Skip to content

Commit 983c796

Browse files
committed
Move old logo to history page.
1 parent 58ec506 commit 983c796

File tree

2 files changed

+33
-36
lines changed

2 files changed

+33
-36
lines changed

doc/users/history.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,36 @@ dynamically-generated web pages. Some use Matplotlib interactively
9292
from the Python shell in Tkinter on Windows. My primary use is to
9393
embed Matplotlib in a Gtk+ EEG application that runs on Windows, Linux
9494
and Macintosh OS X.
95+
96+
----
97+
98+
Matplotlib's original logo (2003 -- 2008).
99+
100+
..
101+
The original logo was added in fc8c215.
102+
103+
.. plot::
104+
105+
from matplotlib import cbook, pyplot as plt, style
106+
import numpy as np
107+
108+
style.use("classic")
109+
110+
datafile = cbook.get_sample_data('membrane.dat', asfileobj=False)
111+
112+
# convert data to mV
113+
x = 1000 * 0.1 * np.fromstring(open(datafile, 'rb').read(), np.float32)
114+
# 0.0005 is the sample interval
115+
t = 0.0005 * np.arange(len(x))
116+
plt.figure(1, figsize=(7, 1), dpi=100)
117+
ax = plt.subplot(111, facecolor='y')
118+
plt.plot(t, x)
119+
plt.text(0.5, 0.5, 'matplotlib', color='r',
120+
fontsize=40, fontname=['Courier', 'DejaVu Sans Mono'],
121+
horizontalalignment='center',
122+
verticalalignment='center',
123+
transform=ax.transAxes,
124+
)
125+
plt.axis([1, 1.72, -60, 10])
126+
plt.gca().set_xticklabels([])
127+
plt.gca().set_yticklabels([])

examples/misc/logo.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)