I wrote a simple code to form taylor digram using skillmetrics package. I used python version Python 2.7.12. The code is as follows:-
import matplotlib.pyplo
That's related to the versions of the two tool libraries that ipykernel and matplotlib are not compatible. AttributeError: 'module' object has no attribute 'to_rgba'
Just run the command below it will solve the issue
$ sudo pip install --upgrade matplotlib
Try upgrading matplotlib and numpy to the latest version
sudo pip3 install --upgrade numpy
sudo pip3 install --upgrade matplotlib
The to_rgb
function was added relatively recently to the matplotlib.colors
namespace. You probably have an older version of matplotlib installed. Try updating to the latest version of matplotlib.