Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function to raise plot window to the front? #6378

Closed
stevengj opened this issue May 6, 2016 · 8 comments
Closed

function to raise plot window to the front? #6378

stevengj opened this issue May 6, 2016 · 8 comments
Labels
Milestone

Comments

@stevengj
Copy link
Contributor

stevengj commented May 6, 2016

Somewhat related to #596, it would be good to have a function, analogous to Matlab's shg, to bring a desired plot window to the front.

This was discussed on StackOverflow, but the only solution there was to use a raise_ method that seems to be specific to the Qt backend.

@h44rd
Copy link

h44rd commented May 23, 2016

Hello! I would like to contribute to this project and start off with this issue. Since I'm very new to Github and contributing to open source, I would really appreciate some help to get started. Thanks in advance!

@tacaswell tacaswell added this to the 2.1 (next point release) milestone May 23, 2016
@tacaswell
Copy link
Member

I do not want to dissuade you from contributing, but this may not be the best starter project as it involves a messy part of the code base and touches multiple GUI toolkits + OS.

@fariza
Copy link
Member

fariza commented May 24, 2016

@jenshnielsen
Copy link
Member

For qt4/5 #6384

@fariza
Copy link
Member

fariza commented May 25, 2016

@h44rd I guess you decided for this particular issue because you have some experience in GUI frameworks.
Am I right?
If yes, try modifying the Tk or Wx backend to raise the window on show.
If you don't have experience with GUI frameworks, I really recommend going for something a little bit less complex to start. Start with the low hanging fruit issues https://github.com/matplotlib/matplotlib/issues?q=is%3Aopen+is%3Aissue+label%3A%22low+hanging+fruit%22

In any case, to get the basics of github + matplotlib development follow http://matplotlib.org/devel/gitwash/git_development.html for me that text was of great help, if you have any questions, don't hesitate, just open another issue an tag me in it, so I will get notified

@stevengj
Copy link
Contributor Author

@tacaswell tacaswell modified the milestones: 2.1 (next point release), 2.2 (next next feature release) Oct 3, 2017
@richardsheridan
Copy link
Contributor

@tacaswell despite the comment by @fariza and label from @dstansby this appears to work fine for Tk, also see the current FigureManagerTk which was added with the tkcairo backend.

The GUI/tk label should be removed.

@jklymak jklymak removed the GUI: tk label Aug 13, 2020
@oscargus
Copy link
Contributor

It seems like this is fixed in Wx as well. If the rcParams figure.raise_window is set, show can be called to raise the window. See #15440

@QuLogic QuLogic modified the milestones: needs sorting, v3.3.0 Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants