Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0236644

Browse files
committed
Changing Path -> pathlib.Path in comments
1 parent a22e16c commit 0236644

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ def rc_params_from_file(fname, fail_on_error=False, use_default_template=True):
948948
949949
Parameters
950950
----------
951-
fname : str, Path
951+
fname : str, pathlib.Path
952952
Name of file parsed for Matplotlib settings.
953953
fail_on_error : bool
954954
If True, raise an error when the parser fails to convert a parameter.

lib/matplotlib/style/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def use(style):
7272
7373
Parameters
7474
----------
75-
style : str, dict, Path or list object
75+
style : str, dict, pathlib.Path or list
7676
A style specification. Valid options are:
7777
7878
+------+-------------------------------------------------------------+

0 commit comments

Comments
 (0)