load_template_metadata#

scikitplot.cython.load_template_metadata(template_id, *, kind=None)[source]#

Load template metadata from an adjacent *.meta.json file.

Parameters:
template_idstr

Template ID.

kind{‘cython’, ‘python’} or None, default=None

Optional kind constraint.

Returns:
dict[str, Any]

Metadata dictionary. If no metadata file exists, a minimal metadata dictionary is returned.

Parameters:
  • template_id (str)

  • kind (str | None)

Return type:

dict[str, Any]