Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1599 from ivanov/ada-grace

 Ada Lovelace and Grace Murray Hopper images in place of Lena
  • Loading branch information...
commit 615a30a1a3ba9180ac7feca6b5b502849435daa5 2 parents 51ac36b + 06010eb
@efiring efiring authored
View
6 examples/animation/old_animation/draggable_legend.py
@@ -20,10 +20,10 @@
from matplotlib.offsetbox import OffsetImage, AnnotationBbox
-fn = get_sample_data("lena.png", asfileobj=False)
-arr_lena = read_png(fn)
+fn = get_sample_data("ada.png", asfileobj=False)
+arr_ada = read_png(fn)
-imagebox = OffsetImage(arr_lena, zoom=0.2)
+imagebox = OffsetImage(arr_ada, zoom=0.2)
ab = AnnotationBbox(imagebox, xy,
xybox=(120., -80.),
View
2  examples/misc/sample_data_demo.py
@@ -5,7 +5,7 @@
from __future__ import print_function
import matplotlib.cbook as cbook
import matplotlib.pyplot as plt
-fname = cbook.get_sample_data('lena.png', asfileobj=False)
+fname = cbook.get_sample_data('ada.png', asfileobj=False)
print('fname', fname)
im = plt.imread(fname)
View
2  examples/pylab_examples/demo_annotation_box.py
@@ -69,7 +69,7 @@
from matplotlib._png import read_png
- fn = get_sample_data("lena.png", asfileobj=False)
+ fn = get_sample_data("grace_hopper.png", asfileobj=False)
arr_lena = read_png(fn)
imagebox = OffsetImage(arr_lena, zoom=0.2)
View
2  examples/pylab_examples/demo_text_path.py
@@ -63,7 +63,7 @@ def draw(self, renderer=None):
ax = plt.subplot(211)
from matplotlib._png import read_png
- fn = get_sample_data("lena.png", asfileobj=False)
+ fn = get_sample_data("grace_hopper.png", asfileobj=False)
arr = read_png(fn)
text_path = TextPath((0, 0), "!?", size=150)
View
2  examples/pylab_examples/image_demo3.py
@@ -7,7 +7,7 @@
import matplotlib.cbook as cbook
-datafile = cbook.get_sample_data('lena.jpg')
+datafile = cbook.get_sample_data('grace_hopper.jpg')
lena = Image.open(datafile)
dpi = rcParams['figure.dpi']
figsize = lena.size[0]/dpi, lena.size[1]/dpi
View
BIN  lib/matplotlib/mpl-data/sample_data/ada.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  lib/matplotlib/mpl-data/sample_data/grace_hopper.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  lib/matplotlib/mpl-data/sample_data/grace_hopper.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.