ProfileDefaults#

class scikitplot.cython.ProfileDefaults(annotate=False, compiler_directives=<factory>, extra_compile_args=<factory>, extra_link_args=<factory>, language=None)[source]#

Normalized defaults produced by resolving a profile.

The instance is frozen and slotted: it is immutable and rejects attribute injection, so a resolved profile cannot be tampered with after creation.

Parameters:
annotatebool, default=False

Default for the Cython annotate flag.

compiler_directivesMapping[str, Any]

Default Cython compiler directives merged on top of the baseline.

extra_compile_argstuple of str

Default compiler flags for the C/C++ compiler. Always a tuple.

extra_link_argstuple of str

Default linker flags. Always a tuple.

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

Optional default language, or None to leave unspecified.

Parameters:

Notes

Defaults exist only to satisfy documentation tooling that expects class attributes to be defaulted. The public API always returns fully-filled values produced by resolve_profile.

Note

slots=True requires Python >= 3.10. The project’s requires-python floor should not be lowered below that without removing this argument.

annotate: bool#

!! processed by numpydoc !!

compiler_directives: Mapping[str, Any]#

!! processed by numpydoc !!

extra_compile_args: tuple[str, ...]#

!! processed by numpydoc !!

!! processed by numpydoc !!

language: str | None#

!! processed by numpydoc !!