Skip to content

Commit 1006c82

Browse files
committed
Bump version
Signed-off-by: Samet Akcay <[email protected]>
1 parent 7251739 commit 1006c82

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/anomalib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from enum import Enum
77

8-
__version__ = "2.0.0dev"
8+
__version__ = "2.0.0-beta.1"
99

1010

1111
class LearningType(str, Enum):

src/anomalib/utils/visualization/base.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,19 @@ class VisualizationStep(str, Enum):
3232

3333

3434
class BaseVisualizer(ABC):
35-
"""Base visualization generator."""
35+
"""Base visualization generator.
36+
37+
Deprecated: This class will be removed in v2.0.0 release.
38+
"""
3639

3740
def __init__(self, visualize_on: VisualizationStep) -> None:
41+
import warnings
42+
43+
warnings.warn(
44+
"BaseVisualizer is deprecated and will be removed in v2.0.0 release.",
45+
DeprecationWarning,
46+
stacklevel=2,
47+
)
3848
self.visualize_on = visualize_on
3949

4050
@abstractmethod

0 commit comments

Comments
 (0)