def set_figure_params(style='<STR_LIT>', figsize=None, dpi=None, dpi_save=None, frameon=None, vector_friendly=True,<EOL>color_map=None, format='<STR_LIT>', transparent=False, ipython_format='<STR_LIT>'):
try:<EOL><INDENT>import IPython<EOL>IPython.core.display.set_matplotlib_formats(ipython_format)<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>from matplotlib import rcParams<EOL>global _rcParams_style<EOL>_rcParams_style = style<EOL>global _vector_friendly<EOL>_vector_friendly = vector_friendly<EOL>global file_format_figs<EOL>file_format_figs = format<EOL>if transparent is not None:<EOL><INDENT>rcParams['<STR_LIT>'] = transparent<EOL><DEDENT>if style is '<STR_LIT>':<EOL><INDENT>set_rcParams_scvelo(color_map=color_map, frameon=frameon)<EOL><DEDENT>elif style is '<STR_LIT>':<EOL><INDENT>set_rcParams_scanpy(color_map=color_map, frameon=frameon)<EOL><DEDENT>if figsize is not None:<EOL><INDENT>rcParams['<STR_LIT>'] = figsize<EOL><DEDENT>if dpi is not None:<EOL><INDENT>rcParams['<STR_LIT>'] = dpi<EOL><DEDENT>if dpi_save is not None:<EOL><INDENT>rcParams['<STR_LIT>'] = dpi_save<EOL><DEDENT>
Set resolution/size, styling and format of figures.

    Arguments
    ---------
    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.