On Tue, Jan 18, 2011 at 8:58 PM, Benjamin Root <ben.r...@ou.edu> wrote: > On Tuesday, January 18, 2011, todd rme <toddrme2...@gmail.com> wrote: >> I think I've found it. But now I need to know what the values should >> be. I assume the application name should be "matplotlib" (no quotes, >> with no capitalization). What about the window role? I am think >> either "figure" or "plot" would be good, probably the former (once >> again without quotes and with no capitalization). Is that reasonable? >> It is easy to change later, although the change should be consistent >> across all backends. >> >> The other issue is whether I should use the same window role for all >> backends, or separate roles for each backend (such as "qt4 figure"). >> Does anyone have an opinion on this? >> >> -Todd >> > > My guess is that they should all have the same name. Any given run of > matplotlib can only use one backend at a time. I don't see a value in > distinguishing the source of the figures. > > Ben Root
That is what I thought as well. There are three properties to deal with. First the window class. This contains two strings. One is simply the application name. The other, however, is a class. I can't find a good explanation of what this is supposed to be. For Firefox, this is "Navigator" for the browser and "Places" for the bookmarks manager. For libreoffice writer, it is VCLSalFrame.DocumentWindow. The third is the window role. For the firefox browser, this is "browser". For the bookmark manager, it is "organizer". So as best as I can tell, the role is a general description of the sort of application it is, such as a web browser. For matplotlib, I think this should probably be "plot" or "graph" or something along those lines. The class, on the other hand, seems to be an application-specific description of what the role is within the application. I think this should probably be "figure". Does that sound reasonable? -Todd ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users