Skip to content

Commit 615a30a

Browse files
committed
Merge pull request matplotlib#1599 from ivanov/ada-grace
Ada Lovelace and Grace Murray Hopper images in place of Lena
2 parents 51ac36b + 06010eb commit 615a30a

File tree

8 files changed

+7
-7
lines changed

8 files changed

+7
-7
lines changed

examples/animation/old_animation/draggable_legend.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020

2121
from matplotlib.offsetbox import OffsetImage, AnnotationBbox
2222

23-
fn = get_sample_data("lena.png", asfileobj=False)
24-
arr_lena = read_png(fn)
23+
fn = get_sample_data("ada.png", asfileobj=False)
24+
arr_ada = read_png(fn)
2525

26-
imagebox = OffsetImage(arr_lena, zoom=0.2)
26+
imagebox = OffsetImage(arr_ada, zoom=0.2)
2727

2828
ab = AnnotationBbox(imagebox, xy,
2929
xybox=(120., -80.),

examples/misc/sample_data_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from __future__ import print_function
66
import matplotlib.cbook as cbook
77
import matplotlib.pyplot as plt
8-
fname = cbook.get_sample_data('lena.png', asfileobj=False)
8+
fname = cbook.get_sample_data('ada.png', asfileobj=False)
99

1010
print('fname', fname)
1111
im = plt.imread(fname)

examples/pylab_examples/demo_annotation_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969

7070

7171
from matplotlib._png import read_png
72-
fn = get_sample_data("lena.png", asfileobj=False)
72+
fn = get_sample_data("grace_hopper.png", asfileobj=False)
7373
arr_lena = read_png(fn)
7474

7575
imagebox = OffsetImage(arr_lena, zoom=0.2)

examples/pylab_examples/demo_text_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def draw(self, renderer=None):
6363
ax = plt.subplot(211)
6464

6565
from matplotlib._png import read_png
66-
fn = get_sample_data("lena.png", asfileobj=False)
66+
fn = get_sample_data("grace_hopper.png", asfileobj=False)
6767
arr = read_png(fn)
6868

6969
text_path = TextPath((0, 0), "!?", size=150)

examples/pylab_examples/image_demo3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import matplotlib.cbook as cbook
99

10-
datafile = cbook.get_sample_data('lena.jpg')
10+
datafile = cbook.get_sample_data('grace_hopper.jpg')
1111
lena = Image.open(datafile)
1212
dpi = rcParams['figure.dpi']
1313
figsize = lena.size[0]/dpi, lena.size[1]/dpi
301 KB
Loading
Loading
Loading

0 commit comments

Comments
 (0)