Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59e550b + bfede46 commit 7e09c00Copy full SHA for 7e09c00
1 file changed
lib/matplotlib/cbook/__init__.py
@@ -1925,7 +1925,12 @@ def _lock_path(path):
1925
except FileExistsError:
1926
time.sleep(sleeptime)
1927
else:
1928
- raise TimeoutError(_lockstr.format(lock_path))
+ raise TimeoutError("""\
1929
+Lock error: Matplotlib failed to acquire the following lock file:
1930
+ {}
1931
+This maybe due to another process holding this lock file. If you are sure no
1932
+other Matplotlib process is running, remove this file and try again.""".format(
1933
+ lock_path))
1934
try:
1935
yield
1936
finally:
0 commit comments