8000 Add missing obj_type to rcParam deprecation. · matplotlib/matplotlib@b1100ab · GitHub
[go: up one dir, main page]

Skip to content

Commit b1100ab

Browse files
committed
Add missing obj_type to rcParam deprecation.
1 parent 96a5022 commit b1100ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ def _rc_params_in_file(fname, transform=lambda x: x, fail_on_error=False):
812812
elif key in _deprecated_ignore_map:
813813
version, alt_key = _deprecated_ignore_map[key]
814814
cbook.warn_deprecated(
815-
version, name=key, alternative=alt_key,
815+
version, name=key, alternative=alt_key, obj_type='rcparam',
816816
addendum="Please update your matplotlibrc.")
817817
else:
818818
version = 'master' if '.post' in __version__ else f'v{__version__}'

0 commit comments

Comments
 (0)
0