Yes. I think the default cmap is viridis and when I print the values for 0 and 255 (note that pyplot rescales the array to have max become 255 and min become 0) I get
viridis = plt.cm.get_cmap('viridis', 12)
print(viridis(0), viridis(255))
(0.267004, 0.004874, 0.329415, 1.0) (0.993248, 0.906157, 0.143936, 1.0)

So, yellow is 255 and purple is 0, which could mean the purple part is wrongly segmented.