docstr: Sets the maximum number of points to keep on the plots from an
  incoming stream. If `maxpoints` is set to 50, only the newest
  50 points will be displayed on the plot.
  
  The 'maxpoints' property is a number and may be specified as:
    - An int or float in the interval [0, 10000]
  
  Returns
  -------
  int|float
code: def maxpoints(self):
      """
      Sets the maximum number of points to keep on the plots from an
      incoming stream. If `maxpoints` is set to 50, only the newest
      50 points will be displayed on the plot.
  
      The 'maxpoints' property is a number and may be specified as:
        - An int or float in the interval [0, 10000]
  
      Returns
      -------
      int|float
      """
      return self["maxpoints"]
  
file_path: catboost/contrib/python/plotly/py3/plotly/graph_objs/scattergeo/_stream.py
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 1 for calling the Stream obj's underlying member method code with example usage: obj.maxpoints() and returns: self