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
annotateflag.- 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
Noneto 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=Truerequires Python >= 3.10. The project’srequires-pythonfloor should not be lowered below that without removing this argument.