Given an arbitrary text string abcdRef
in blue color. Is there a sufferable way to turn the R
into red color ?
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.text(0.0, 0.0, 'aaaaRaa',
horizontalalignment='center',
verticalalignment='center',
fontsize=50,
fontweight = 'bold',
color='#000080'
)
plt.axis("equal"); plt.show()