这个咋解决啊
报错问题是:
ValueError: The number of FixedLocator locations (4), usually from a call to set_ticks, does not match the number of labels (40).
这个是主程序混淆矩阵部分的代码和debug


这个是报错和报错行代码


这是我在GitHub上找的源代码

这个咋解决啊
报错问题是:
ValueError: The number of FixedLocator locations (4), usually from a call to set_ticks, does not match the number of labels (40).
这个是主程序混淆矩阵部分的代码和debug


这个是报错和报错行代码



望采纳
当setticks()函数指定的记号位置的数量与提供的标签数量不匹配时,就会出现错误。要解决此问题,请确保记号位置和标签的数量相同