Skip to content

Commit 58847cb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d664d5f commit 58847cb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

colour/volume/spectrum.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from __future__ import annotations
2424

2525
import numpy as np
26+
2627
from colour.colorimetry import (
2728
MultiSpectralDistributions,
2829
SpectralDistribution,
@@ -514,9 +515,9 @@ def _is_within_visible_xy(
514515
Examples
515516
--------
516517
>>> import numpy as np
517-
>>> is_within_visible_spectrum(np.array([0.33,0.33]))
518+
>>> is_within_visible_spectrum(np.array([0.33, 0.33]))
518519
array(True, dtype=bool)
519-
>>> a = np.array([[.33,.33], [.1,.1]])
520+
>>> a = np.array([[0.33, 0.33], [0.1, 0.1]])
520521
>>> is_within_visible_spectrum(a)
521522
array([ True, False], dtype=bool)
522523
"""

colour/volume/tests/test_spectrum.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from itertools import product
66

77
import numpy as np
8+
89
from colour.colorimetry import (
910
MSDS_CMFS,
1011
SPECTRAL_SHAPE_DEFAULT,

0 commit comments

Comments
 (0)