Issue
I have the following dictionary with labels, where I'd like to plot K1/2 as K with subscript 1/2.
labels = {'label': 'Label1', 'Label2', '$K_{1/2}$'}
I then want to plot the xticks in bold and size 22, however, K1/2 is not plotted in bolt as only label. How can I fix this?
plt.xticks(fontweight = 'bold', fontsize = 22)
Solution
This worked for me!
plt.xlabel(r'$\bf{K_{1/2}}$')
Answered By - JonnDough
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.