I have a dictionary as
Samples = {5.207403005022627: 0.69973543384229719, 6.8970222167794759: 0.080782939731898179, 7.8338517407140973: 0.10308033284258854, 8.53
keys = np.array(dictionary.keys()) values = np.array(dictionary.values())