Skip to content

Commit

Permalink
Ensure that colour.SpectralShape can be initialised outside typical…
Browse files Browse the repository at this point in the history
… visible spectrum range.
  • Loading branch information
KelSolaar committed Aug 27, 2024
1 parent ebc78d1 commit 3f77ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colour/colorimetry/spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ class SpectralShape:
"""

def __init__(self, start: Real, end: Real, interval: Real) -> None:
self._start: Real = 360
self._end: Real = 780
self._start: Real = 0
self._end: Real = np.inf
self._interval: Real = 1
self.start = start
self.end = end
Expand Down

0 comments on commit 3f77ea9

Please sign in to comment.