code: def axes_style(style="darkgrid", rc=None):
      """
      Create pyfolio default axes style context.
  
      Under the hood, calls and returns seaborn.axes_style() with
      some custom settings. Usually you would use in a with-context.
  
      Parameters
      ----------
      style : str, optional
          Name of seaborn style.
      rc : dict, optional
          Config flags.
  
      Returns
      -------
      seaborn plotting context
  
      Example
      -------
      >>> with pyfolio.plotting.axes_style(style='whitegrid'):
      >>>    pyfolio.create_full_tear_sheet(..., set_context=False)
  
      See also
      --------
      For more information, see seaborn.plotting_context().
  
      """
      if rc is None:
          rc = {}
  
      rc_default = {}
  
      # Add defaults if they do not exist
      for name, val in rc_default.items():
          rc.setdefault(name, val)
  
      return sns.axes_style(style=style, rc=rc)
  
imports: from __future__ import division
  import datetime
  from collections import OrderedDict
  from functools import wraps
  import empyrical
  import matplotlib
  import matplotlib.patches
  import matplotlib.pyplot
  import numpy
  import pandas
  import pytz
  import scipy
  from matplotlib import figure
  from matplotlib.backends.backend_agg import FigureCanvasAgg
  from matplotlib.ticker import FuncFormatter
  from .None import _seaborn
  from .None import capacity
  from .None import pos
  from .None import timeseries
  from .None import txn
  from .None import utils
  from .utils import APPROX_BDAYS_PER_MONTH, MM_DISPLAY_UNIT
label_desc: Use image node_id 3 for calling a global function with example usage: axes_style(style, rc) and returns: sns