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 5be66de

Browse filesBrowse files
committed
Rename lena variable
1 parent 9827d1f commit 5be66de
Copy full SHA for 5be66de

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎examples/pylab_examples/demo_annotation_box.py

Copy file name to clipboardExpand all lines: examples/pylab_examples/demo_annotation_box.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.