Show More
@@ -77,7 +77,8 b' def __getattr__(name):' | |||||
77 | warnings.warn( |
|
77 | warnings.warn( | |
78 | f"{name} is deprecated since IPython 8.24, backends are managed " |
|
78 | f"{name} is deprecated since IPython 8.24, backends are managed " | |
79 | "in matplotlib and can be externally registered.", |
|
79 | "in matplotlib and can be externally registered.", | |
80 |
DeprecationWarning |
|
80 | DeprecationWarning, | |
|
81 | ) | |||
81 | return globals()[f"_deprecated_{name}"] |
|
82 | return globals()[f"_deprecated_{name}"] | |
82 | raise AttributeError(f"module {__name__!r} has no attribute {name!r}") |
|
83 | raise AttributeError(f"module {__name__!r} has no attribute {name!r}") | |
83 |
|
84 |
General Comments 0
You need to be logged in to leave comments.
Login now