10000 Fix incorrect statement regarding test images cache size. · dstansby/matplotlib@06a76a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 06a76a3

Browse files
committed
Fix incorrect statement regarding test images cache size.
1 parent 195030b commit 06a76a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/testing/compare.py

Lines 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