10000
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.
1 parent 195030b commit 06a76a3Copy full SHA for 06a76a3
lib/matplotlib/testing/compare.py
@@ -276,8 +276,9 @@ def convert(filename, cache):
276
277
If *cache* is True, the result of the conversion is cached in
278
`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.
+ hash of the exact contents of the input file. Old cache entries are
+ automatically deleted as needed to keep the size of the cache capped to
281
+ twice the size of all baseline images.
282
"""
283
path = Path(filename)
284
if not path.exists():
0 commit comments