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 5e366f0 + 06a76a3 commit f2c5b37Copy full SHA for f2c5b37
1 file changed
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