Skip to content

Commit ed9bd5b

Browse files
committed
Add missing obj_type to rcParam deprecation.
1 parent c1f5a3a commit ed9bd5b

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
@@ -807,7 +807,7 @@ def _rc_params_in_file(fname, transform=lambda x: x, fail_on_error=False):
807807
elif key in _deprecated_ignore_map:
808808
version, alt_key = _deprecated_ignore_map[key]
809809
cbook.warn_deprecated(
810-
version, name=key, alternative=alt_key,
810+
version, name=key, alternative=alt_key, obj_type='rcparam',
811811
addendum="Please update your matplotlibrc.")
812812
else:
813813
version = 'master' if '.post' in __version__ else f'v{__version__}'

0 commit comments

Comments
 (0)