dotools_py.settings.session_settings#
- dotools_py.settings.session_settings(verbosity=2, interactive=True, dpi=90, dpi_save=300, facecolor='white', colormap='Reds', frameon=True, transparent=False, fontsize=13, axes_fontsize=16, axes_fontweight='bold', title_fontsize=18, title_fontweight='bold', ticks_fontsize=12, figsize=(4, 5), top_spine=False, right_spine=False, grid=False, random_state=0)[source]#
Set general settings.
- Parameters:
- verbosity
int(default:2) set verbosity level. 0 for silent, 1 for Info/Warnings, 2 for Info/Warnings + Scanpy Info/Warnings and 3 for debug mode.
- interactive
bool(default:True) if set to true, activate interactive plotting.
- dpi
int(default:90) dpi for showing plots.
- dpi_save
int(default:300) dpi for saving plots.
- facecolor
str(default:'white') Sets backgrounds via rcParams[‘figure.facecolor’] = facecolor and rcParams[‘axes.facecolor’] = facecolor.
- colormap
str(default:'Reds') Convenience method for setting the default color map.
- frameon
bool(default:True) Add frames and axes labels to scatter plots.
- transparent
bool(default:False) Save figures with transparent background.
- fontsize
int(default:13) Set the fontsize.
- axes_fontsize
int(default:16) Set the fontsize for the x and y labels.
- axes_fontweight
str(default:'bold') Set the font-weight for the x and y labels.
- title_fontsize
int(default:18) Set the fontsize for the title.
- title_fontweight
str(default:'bold') Set the font-weight for the title.
- ticks_fontsize
int(default:12) Set the fontsize for the x and y ticks.
- figsize
tuple(default:(4, 5)) Set the figsize.
- top_spine
bool(default:False) remove the top spine.
- right_spine
bool(default:False) remove the right spine.
- grid
bool(default:False) show the grid lines.
- random_state
int(default:0) seed for random number generator.
- verbosity
- Return type:
- Returns: