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

Image watermark hidden by Axes in example #7265

Copy link
Copy link
Closed
@anntzer

Description

@anntzer
Issue body actions

Compare http://matplotlib.org/devdocs/examples/api/watermark_text.html and http://matplotlib.org/devdocs/examples/api/watermark_image.html. The text watermark is overlayed on top of the axes -- as one would expect for a watermark. The image watermark is below the axes, which sort of defeats the purpose of a watermark (IMO).

A quick fix could be just to add zorder=10 (or whatever large number) to the call to figimage, in order to draw the watermark on top of everything else. Perhaps a better option (I don't actually know whether that's possible, or whether that would actually make a difference) would be to set the background of the axes to be transparent, so that it is drawn on top of the watermark but the white parts don't hide it -- perhaps the masking behavior of the orange semitransparent markers will differ depending on whether they're drawn below or above?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesDocumentation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

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