Is there a way to write a subscript in the window title ( plt.figure(num='Window title') ).I tried with the standard format for matplotlib mathematical expressions but it doesn't interpret it like it does for other texts:
plt.figure('$Something_{subscript}$')
1 answers
solution1
1 2018-01-27 10:47:25
The window title of a GUI application has nothing to do with matplotlib.You may check in how far the GUI application would support markup.Usually unicode is supported, hence something like plt.figure(u'H\₂SO\₄') would work and result in
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.