scanpy.api.set_figure_params = <bound method ScanpyConfig.set_figure_params of <scanpy._settings.ScanpyConfig object>>

Set resolution/size, styling and format of figures.

scanpy : bool, optional (default: True)

Init default values for matplotlib.rcParams suited for Scanpy.

dpi : int, optional (default: 80)

Resolution of rendered figures - this influences the size of figures in notebooks.

dpi_save : int, optional (default: 150)

Resolution of saved figures. This should typically be higher to achieve publication quality.

frameon : bool, optional (default: True)

Add frames and axes labels to scatter plots.

vector_friendly : bool, optional (default: True)

Plot scatter plots using png backend even when exporting as pdf or svg.

fontsize : int, optional (default: 14)

Set the fontsize for several rcParams entries. Ignored if scanpy=False.

color_map : str, optional (default: None)

Convenience method for setting the default color map. Ignored if scanpy=False.

format : {'png', 'pdf', 'svg', etc.}, optional (default: 'pdf')

This sets the default format for saving figures: file_format_figs.

transparent : bool, optional (default: True)

Save figures with transparent back ground. Sets rcParams['savefig.transparent'].

ipython_format : list of str, optional (default: ‘png2x’)

Only concerns the notebook/IPython environment; see IPython.core.display.set_matplotlib_formats for more details.