File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1+ import warnings
12from typing import Any , Union , cast , overload
23
34import matplotlib as mpl
45import numpy as np
5- from colorspacious import cspace_convert # type: ignore
6+
7+ with warnings .catch_warnings ():
8+ warnings .filterwarnings ("ignore" , category = SyntaxWarning , module = "colorspacious" )
9+ from colorspacious import cspace_convert # type: ignore
610from numpy .typing import NDArray
711
812from arcadia_pycolor .gradient import Gradient
Original file line number Diff line number Diff line change 11from __future__ import annotations
22import re
3+ import warnings
34from typing import Any , cast
45
56import matplotlib .colors as mcolors
6- from colorspacious import cspace_converter # type: ignore
7+
8+ with warnings .catch_warnings ():
9+ warnings .filterwarnings ("ignore" , category = SyntaxWarning , module = "colorspacious" )
10+ from colorspacious import cspace_converter # type: ignore
711
812from arcadia_pycolor .display import colorize
913
Original file line number Diff line number Diff line change 1+ import warnings
12from typing import Union , cast
23
34import matplotlib as mpl
45import matplotlib .pyplot as plt
56import numpy as np
6- from colorspacious import cspace_converter # type: ignore
7+
8+ with warnings .catch_warnings ():
9+ warnings .filterwarnings ("ignore" , category = SyntaxWarning , module = "colorspacious" )
10+ from colorspacious import cspace_converter # type: ignore
711from matplotlib .figure import Figure
812from numpy .typing import NDArray
913
You can’t perform that action at this time.
0 commit comments