-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Feature request: Adding XClass property to interactively created figures #6743
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
Comments
I would also love to be able to do this. Any help sorting out how to do this through the GUI toolkits would be great! |
I'd very much like this as well! |
Is this not closed by #8394 (i.e. mpl2.1)? (see also #4746 (comment)) |
I still get
when running
with matplotlib installed from conda-forge
|
Well, that's because in your case IPython is setting up the QApplication, not matplotlib. Can you try without IPython? |
Without IPython it does work. Would it be possible to have this be settable somewhere? |
It's just a matter of calling QApplication.instance().setApplicationName(...). Again I think this should be IPython's job, because they own the QApp. |
@CJ-Wright you can also do that call and set it to what ever you want (such as xpdacq ;) ) attn @Carreau can we do this on the IPython side? |
@tacaswell The hope was to use Awesome both at xpd and on my local to place the various windows where they needed to go at instantiation time. What is the best way to access the |
We (IPython) create the QApplication at a point where we don't know that it's for matplotlib, so we can't set the application name to be matplotlib at that point. But if you can find the right place to put it in our code, a PR would be welcome. |
@CJ-Wright The QApplication is a process singleton, Please do not install Awesome on the beamline. If you are going to fill a screen with a fixed set of plots you are probably better off building a Qt Application with embeds all of your plots. That way you only have to maximize it reliably. |
Closing, as "not a matplotlib issue" (IMO) per the discussion above. |
I need your help. I would like to have the window manager to, well, manage the plots, I am creating interactively during an ipython session. When I create a plot:
And check for the window properties, I get nothing.
Is it possible to configure matplotlib to add some X-window properties to its plots?
I have installed matplotlib using pip.
Thanks!
The text was updated successfully, but these errors were encountered: