Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2e37cb1

Browse filesBrowse files
committed
Move old logo to history page.
1 parent 58ec506 commit 2e37cb1
Copy full SHA for 2e37cb1

File tree

Expand file treeCollapse file tree

2 files changed

+35
-36
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+35
-36
lines changed

‎doc/users/history.rst

Copy file name to clipboardExpand all lines: doc/users/history.rst
+35Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,38 @@ 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+
.. class:: center
104+
105+
.. plot::
106+
107+
from matplotlib import cbook, pyplot as plt, style
108+
import numpy as np
109+
110+
style.use("classic")
111+
112+
datafile = cbook.get_sample_data('membrane.dat', asfileobj=False)
113+
114+
# convert data to mV
115+
x = 1000 * 0.1 * np.fromstring(open(datafile, 'rb').read(), np.float32)
116+
# 0.0005 is the sample interval
117+
t = 0.0005 * np.arange(len(x))
118+
plt.figure(1, figsize=(7, 1), dpi=100)
119+
ax = plt.subplot(111, facecolor='y')
120+
plt.plot(t, x)
121+
plt.text(0.5, 0.5, 'matplotlib', color='r',
122+
fontsize=40, fontname=['Courier', 'DejaVu Sans Mono'],
123+
horizontalalignment='center',
124+
verticalalignment='center',
125+
transform=ax.transAxes,
126+
)
127+
plt.axis([1, 1.72, -60, 10])
128+
plt.gca().set_xticklabels([])
129+
plt.gca().set_yticklabels([])

‎examples/misc/logo.py

Copy file name to clipboardExpand all lines: examples/misc/logo.py
-36Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.