Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f2c5b37

Browse filesBrowse files
authored
Merge pull request matplotlib#19200 from anntzer/cachedoc
Fix incorrect statement regarding test images cache size.
2 parents 5e366f0 + 06a76a3 commit f2c5b37
Copy full SHA for f2c5b37

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

‎lib/matplotlib/testing/compare.py

Copy file name to clipboardExpand all lines: lib/matplotlib/testing/compare.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,9 @@ def convert(filename, cache):
276276
277277
If *cache* is True, the result of the conversion is cached in
278278
`matplotlib.get_cachedir() + '/test_cache/'`. The caching is based on a
279-
hash of the exact contents of the input file. There is no limit on the
280-
size of the cache, so it may need to be manually cleared periodically.
279+
hash of the exact contents of the input file. Old cache entries are
280+
automatically deleted as needed to keep the size of the cache capped to
281+
twice the size of all baseline images.
281282
"""
282283
path = Path(filename)
283284
if not path.exists():

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.