MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / ImageFile

Class ImageFile

lib/matplotlib/sphinxext/plot_directive.py:513–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511
512
513class ImageFile:
514 def __init__(self, basename, dirname):
515 self.basename = basename
516 self.dirname = dirname
517 self.formats = []
518
519 def filename(self, format):
520 return os.path.join(self.dirname, f"{self.basename}.{format}")
521
522 def filenames(self):
523 return [self.filename(fmt) for fmt in self.formats]
524
525
526def out_of_date(original, derived, includes=None):

Callers 1

render_figuresFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…