summaryrefslogtreecommitdiff
path: root/demo.py
diff options
context:
space:
mode:
Diffstat (limited to 'demo.py')
-rw-r--r--demo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo.py b/demo.py
index dbaa77d..eb02202 100644
--- a/demo.py
+++ b/demo.py
@@ -39,7 +39,7 @@ if __name__ == '__main__':
plt.plot(sd.wavelengths, sd.values, label='Original')
- XYZ = sd_to_XYZ(sd, illuminant=ILLUMINANT_SDS['D65']) / 100
+ XYZ = sd_to_XYZ(sd) / 100
recovered_sd = clustering.reconstruct(XYZ)
plt.plot(recovered_sd.wavelengths, recovered_sd.values,
label='Recovered')