apply_profile#

scikitplot.cython.apply_profile(*, profile, annotate, compiler_directives, extra_compile_args, extra_link_args, language)[source]#

Apply a profile with strict precedence rules.

Parameters:
profilestr or None

Profile name.

annotatebool

User-provided annotate flag.

compiler_directivesMapping[str, Any] or None

User-provided compiler directives.

extra_compile_argsSequence[str] or None

User-provided compiler args.

extra_link_argsSequence[str] or None

User-provided link args.

language{‘c’, ‘c++’} or None

User-provided language.

Returns:
tuple

(annotate, compiler_directives, extra_compile_args, extra_link_args, language) with profile defaults applied where the user did not specify a value.

Parameters:
Return type:

tuple[bool, dict[str, Any] | None, Sequence[str] | None, Sequence[str] | None, str | None]