anndata.settings#
- anndata.settings = <anndata._settings.SettingsManager object>[source]#
This manager allows users to customize settings for the anndata package. Settings here will generally be for advanced use-cases and should be used with caution.
The following options are available:
- remove_unused_categories: bool
Whether or not to remove unused categories with
Categorical
. Default value of True.
For setting an option please use
override()
(local) or set the above attributes directly (global) i.e.,anndata.settings.my_setting = foo
. For assignment by environment variable, use the variable name in all caps withANNDATA_
as the prefix before import ofanndata
. For boolean environment variable setting, use 1 forTrue
and 0 forFalse
.