Skip to content

[MNT]: Pause should not raise window by default #22939

Open
@carlosgmartin

Description

@carlosgmartin

Summary

As pointed out in #596 (comment) and #596 (comment), pause should not raise the window by default. There are many users who have trouble with that behavior:

Proposed fix

One way to remedy this would be to move away from the global rcParam approach and do something like the following:

  1. Add an explicit raise_window function.
  2. Add a raise_window argument for plot (True by default).
  3. Add a raise_window argument for pause (False by default).

In general, it seems like a good idea to make semantically-distinct actions (redrawing, window raising, pausing for a specified time interval, etc.) orthogonal rather than mix them together and then have to untangle them via global parameters. This might also simplify the code for the various backends. Thoughts?

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