Answer by Francisca Concha-Ramírez for matplotlib multicolor text in legend
You can use LaTeX for this:from matplotlib import rc, pyplotimport matplotlibimport numpy as npmatplotlib.rc('text', usetex=True)matplotlib.rc('text.latex',...
View Articlematplotlib multicolor text in legend
I'm trying to write a multicolored text in a legendI.e currently the legend text looks as:But I would like it to look asI tried using the multicolored title example from matplotlib, But I think it only...
View Article