docstr: Add an annotation to the QuantFigure. 
  
  Parameters:
          annotations : dict or list(dict,)
                  Annotations can be on the form form of 
                          {'date' : 'text'}
                          and the text will automatically be placed at the 
                          right level on the chart 
                  or
                          A Plotly fully defined annotation
  
  kwargs : 
          fontcolor : str
                  Text color for annotations
          fontsize : int
                  Text size for annotations
          textangle : int
                  Textt angle 
          See https://plot.ly/python/reference/#layout-annotations 
          for a complete list of valid parameters.
docstr_tok: ["Add","an","annotation","to","the","QuantFigure",".","Parameters",":","annotations",":","dict","or","list","(","dict",",",")","Annotations","can","be","on","the","form","form","of","{","'date","'",":","'text","'","}","and","the","text","will","automatically","be","placed","at","the","right","level","on","the","chart","or","A","Plotly","fully","defined","annotation","kwargs",":","fontcolor",":","str","Text","color","for","annotations","fontsize",":","int","Text","size","for","annotations","textangle",":","int","Textt","angle","See","https",":","\/\/plot.ly\/python\/reference\/","#","layout-annotations","for","a","complete","list","of","valid","parameters","."]
code: def add_annotations(self, annotations, **kwargs):
      """
      Add an annotation to the QuantFigure.
  
      Parameters:
              annotations : dict or list(dict,)
                      Annotations can be on the form form of
                              {'date' : 'text'}
                              and the text will automatically be placed at the
                              right level on the chart
                      or
                              A Plotly fully defined annotation
  
      kwargs :
              fontcolor : str
                      Text color for annotations
              fontsize : int
                      Text size for annotations
              textangle : int
                      Textt angle
              See https://plot.ly/python/reference/#layout-annotations
              for a complete list of valid parameters.
  
      """
      ann_kwargs = utils.check_kwargs(
          kwargs, get_annotation_kwargs(), {}, clean_origin=True
      )
      if type(annotations) == list:
          self.layout["annotations"]["values"].extend(annotations)
      else:
          self.layout["annotations"]["values"].append(annotations)
      if ann_kwargs:
          self.layout["annotations"]["params"].update(**ann_kwargs)
  
imports: from __future__ import absolute_import
  import plotly.graph_objs
  import json
  import copy
  import pandas
  from .plotlytools import iplot
  from .None import tools
  from .None import ta
  from .None import utils
  from .None import colors
  from .None import auth
  from .None import date_tools
label_desc: Use image node_id 13 for calling the QuantFig obj's underlying member method code with example usage: obj.add_annotations(annotations) without return types