Skip to content

Commit 5f28c79

Browse files
committed
Merge pull request #2219 from mdboom/xdg-message
matplotlibrc and the XDG base directory standard
2 parents accab43 + c6ca417 commit 5f28c79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -718,11 +718,11 @@ def matplotlib_fname():
718718
fname == os.path.join(
719719
get_home(), '.matplotlib', 'matplotlibrc')):
720720
warnings.warn(
721-
"Found matplotlib configuration in ~/.matplotlib. "
721+
"Found matplotlib configuration in ~/.matplotlib/. "
722722
"To conform with the XDG base directory standard, "
723723
"this configuration location has been deprecated "
724-
"on Linux, and the new location is now %r. Please "
725-
"move your configuration there to ensure that "
724+
"on Linux, and the new location is now %r/matplotlib/. "
725+
"Please move your configuration there to ensure that "
726726
"matplotlib will continue to find it in the future." %
727727
_get_xdg_config_dir())
728728
return fname

0 commit comments

Comments
 (0)