bundles / papyri 0.0.10 / papyri / gen / PapyriDocTestRunner / _figure_name
function
papyri.gen:PapyriDocTestRunner._figure_name
source: /papyri/gen.py :656
Signature
def _figure_name ( self , data : bytes ) → str Summary
Content-addressed asset filename. Identical figure bytes — across examples, qualnames, or rebuilds — collapse to the same key, so the blob store dedupes naturally and the version diff doesn't churn on non-deterministic matplotlib output. The qualname is dropped from the name on purpose: it would only desync from content.
Aliases
-
papyri.gen.PapyriDocTestRunner._figure_name