Update scriptChromaticityDiagram.py

Script for test rewritten according to the syntax updating.