본문 바로가기

Language/python

[ Python backtrader ] plot option

반응형

System-wide plotting options

def plot(self, plotter=None, numfigs=1, iplot=True, **kwargs):

 

  • plotter: an object/class containing as attributes the options controlling the system wide plotting
  • If None is passed a default PlotScheme object (see below) will be instantiated
  • numfigs: in how many independent charts a plot has to be broken
  • Sometimes a chart contains too many bars and will not be easily readable if packed in a single figure. This breaks it down in as many pieces as requested
  • iplot: automatically plot inline if running inside a Jupyter Notebook
  • **kwargs: the args will be used to change the values of the attributes of plotter or the default PlotScheme object created if no plotter is passed.

# numfigs : 한개의 그래프를 몇개로 쪼개어 보여줄지 결정하는 옵션

 

반응형