Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[ENH]: Option for legend to only include visible artists #25273

Open
@oscargus

Description

@oscargus

Problem

I needed to make an interactive "plot viewer" where the lines can be enabled and disabled. A simple way to do this is just to add all the lines with labels and then make them visible or invisible. However, it seems like there is no way to update the legend accordingly and regenerating the legend will still show all lines, although with an empty marker for those not visible.

Proposed solution

I may be missing something here. That is for sure. But:

It would be nice if there was a way to redraw the legend and/or making sure that non-visible objects are not shown.

(I am aware that there is quite a lot of arguments to legend already, but still...)

(If there is another nice way to obtain this, turning lines/artists on/off with updated legend, I think it could be a neat example.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp