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 9a92659

Browse filesBrowse files
authored
Merge pull request #9634 from matplotlib/auto-backport-of-pr-9627
Backport PR #9627 on branch v2.1.0-doc
2 parents 0db08c7 + ea72280 commit 9a92659
Copy full SHA for 9a92659

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+33
-36
lines changed

‎doc/users/history.rst

Copy file name to clipboardExpand all lines: doc/users/history.rst
+33Lines 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

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.