scvelo.settings.set_figure_params(style='scvelo', figsize=None, dpi=None, dpi_save=None, frameon=None, vector_friendly=True, color_map=None, format='pdf', transparent=False, ipython_format='png2x')

Set resolution/size, styling and format of figures.

style : str (default: None)

Init default values for matplotlib.rcParams suited for scvelo or scanpy. Use None for the default matplotlib values.

figsize : [float, float] (default: None)

Width and height for default figure size.

dpi : int (default: None)

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

dpi_save : int (default: None)

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

frameon : bool (default: None)

Add frames and axes labels to scatter plots.

vector_friendly : bool (default: True)

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

color_map : str (default: None)

Convenience method for setting the default color map.

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

This sets the default format for saving figures: file_format_figs.

transparent : bool (default: True)

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

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

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