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.
1 parent 1456f05 commit 9bba573Copy full SHA for 9bba573
lib/matplotlib/testing/compare.py
@@ -174,8 +174,13 @@ def comparable_formats():
174
175
def convert(filename, cache):
176
'''
177
- Convert the named file into a png file.
178
- Returns the name of the created file.
+ Convert the named file into a png file. Returns the name of the
+ created file.
179
+
180
+ If *cache* is True, the result of the conversion is cached in
181
+ `~/.matplotlib/test_cache/`. The caching is based on a hash of the
182
+ exact contents of the input file. The is no limit on the size of
183
+ the cache, so it may need to be manually cleared periodically.
184
185
base, extension = filename.rsplit('.', 1)
186
if extension not in converter:
0 commit comments