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 421327d

Browse filesBrowse files
committed
Merge pull request #7273 from AndersonDaniel/fix-image-watermark-example
DOC: Fix image watermark example where image was hidden by axes close #7265
1 parent 5190916 commit 421327d
Copy full SHA for 421327d

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎examples/api/watermark_image.py

Copy file name to clipboardExpand all lines: examples/api/watermark_image.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""
2+
Watermark image example
3+
24
Use a PNG file as a watermark
35
"""
46
from __future__ import print_function
@@ -16,6 +18,6 @@
1618

1719
ax.plot(np.random.rand(20), '-o', ms=20, lw=2, alpha=0.7, mfc='orange')
1820
ax.grid()
19-
fig.figimage(im, 10, 10)
21+
fig.figimage(im, 10, 10, zorder=3)
2022

2123
plt.show()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.