Skip to content

Commit

Permalink
add version info
Browse files Browse the repository at this point in the history
  • Loading branch information
mathause committed Nov 4, 2024
1 parent 13c0a5e commit 7795308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mplotutils/_deprecate.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _module_renamed_warning_init(attr):
new_module = f"mplotutils._{attr}"

msg = (
f"``{old_module}`` is deprecated and has been renamed to ``{new_module}``."
f"``{old_module}`` is deprecated and has been renamed to ``{new_module}`` in v0.6.0.."
f" Note that importing ``{new_module}`` is discuraged. Please use"
f" functions directly from the main namespace."
)
Expand All @@ -129,7 +129,7 @@ def _module_renamed_warning(attr, submodule):
new_module = f"mplotutils._{submodule}"

warnings.warn(
f"``{old_module}`` is deprecated and has been renamed to ``{new_module}``."
f"``{old_module}`` is deprecated and has been renamed to ``{new_module}`` in v0.6.0."
f" Note that importing from ``{new_module}`` is discuraged. Please use"
f" functions directly from the main namespace, i.e., ``mplotutils.{attr}``",
FutureWarning,
Expand Down

0 comments on commit 7795308

Please sign in to comment.