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

Skip to content

Commit b85a0ed

Browse files
committed
Comments according to path-like
1 parent 0236644 commit b85a0ed

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/matplotlib/style/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def use(style):
7272
7373
Parameters
7474
----------
75-
style : str, dict, pathlib.Path or list
75+
style : str, dict, Path or list
7676
A style specification. Valid options are:
7777
7878
+------+-------------------------------------------------------------+
@@ -82,7 +82,7 @@ def use(style):
8282
| dict | Dictionary with valid key/value pairs for |
8383
| | `matplotlib.rcParams`. |
8484
+------+-------------------------------------------------------------+
85-
| Path | A Path object which is a path to a style file. |
85+
| Path | A path-like object which is a path to a style file. |
8686
+------+-------------------------------------------------------------+
8787
| list | A list of style specifiers (str, Path or dict) applied from |
8888
| | first to last in the list. |
@@ -136,7 +136,7 @@ def context(style, after_reset=False):
136136
| dict | Dictionary with valid key/value pairs for |
137137
| | `matplotlib.rcParams`. |
138138
+------+-------------------------------------------------------------+
139-
| Path | A Path object which is a path to a style file. |
139+
| Path | A path-like object which is a path to a style file. |
140140
+------+-------------------------------------------------------------+
141141
| list | A list of style specifiers (str, Path or dict) applied from |
142142
| | first to last in the list. |

0 commit comments

Comments
 (0)