# Path: discretize/utils/code_utils.py
# def deprecate_module(old_name, new_name, removal_version=None, future_warn=False):
#     if future_warn:
#         Warning = FutureWarning
#     else:
#         Warning = DeprecationWarning
#     message = f"The {old_name} module has been deprecated, please use {new_name}."
#     if removal_version is not None:
#         message += f" It will be removed in version {removal_version} of discretize"
#     else:
#         message += " It will be removed in a future version of discretize."
#     message += " Please update your code accordingly."
#     warnings.warn(message, Warning)


from discretize.utils.code_utils import deprecate_module
    from discretize.mixins.mpl_mod import Slicer

deprecate_module(
    "discretize.View", "discretize.mixins.mpl_mod", removal_version="1.0.0", future_warn=False
)
try:

# Path: discretize/utils/code_utils.py
# def deprecate_module(old_name, new_name, removal_version=None, future_warn=False):
#     if future_warn:
#         Warning = FutureWarning
#     else:
#         Warning = DeprecationWarning
#     message = f"The {old_name} module has been deprecated, please use {new_name}."
#     if removal_version is not None:
#         message += f" It will be removed in version {removal_version} of discretize"
#     else:
#         message += " It will be removed in a future version of discretize."
#     message += " Please update your code accordingly."
#     warnings.warn(message, Warning)


# Path: discretize/View.py
from discretize.utils.code_utils import deprecate_module
    from discretize.mixins.mpl_mod import Slicer


deprecate_module(
    "discretize.View", "discretize.mixins.mpl_mod", removal_version="1.0.0", future_warn=False
)
try:

except ImportError: