Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5be66de

Browse files
committed
Rename lena variable
1 parent 9827d1f commit 5be66de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pylab_examples/demo_annotation_box.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@
6363

6464
from matplotlib._png import read_png
6565
fn = get_sample_data("grace_hopper.png", asfileobj=False)
66-
arr_lena = read_png(fn)
66+
arr_img = read_png(fn)
6767

68-
imagebox = OffsetImage(arr_lena, zoom=0.2)
68+
imagebox = OffsetImage(arr_img, zoom=0.2)
6969
imagebox.image.axes = ax
7070

7171
ab = AnnotationBbox(imagebox, xy,

0 commit comments

Comments
 (0)