import_artifact_path#

scikitplot.cython.import_artifact_path(artifact_path, *, module_name=None)[source]#

Import a compiled extension artifact from a path.

Parameters:
artifact_pathpath-like

Artifact path.

module_namestr or None, default=None

Module name used at compilation time. If None, attempts to read meta.json near the artifact.

Returns:
types.ModuleType

Imported module.

Parameters:
Return type:

ModuleType