docstr: Convert ``stop_seq`` to a list of openpyxl v2 Color objects,
  suitable for initializing the ``GradientFill`` ``stop`` parameter.
  
  Parameters
  ----------
  stop_seq : iterable
      An iterable that yields objects suitable for consumption by
      ``_convert_to_color``.
  
  Returns
  -------
  stop : list of openpyxl.styles.Color
docstr_tok: ["Convert","``","stop_seq","``","to","a","list","of","openpyxl","v2","Color","objects",",","suitable","for","initializing","the","``","GradientFill","``","``","stop","``","parameter",".","Parameters","--","--","--","--","--","stop_seq",":","iterable","An","iterable","that","yields","objects","suitable","for","consumption","by","``","_convert_to_color","``",".","Returns","--","--","--","-","stop",":","list","of","openpyxl.styles.Color"]
code: def _convert_to_stop(cls, stop_seq):
      """
      Convert ``stop_seq`` to a list of openpyxl v2 Color objects,
      suitable for initializing the ``GradientFill`` ``stop`` parameter.
  
      Parameters
      ----------
      stop_seq : iterable
          An iterable that yields objects suitable for consumption by
          ``_convert_to_color``.
  
      Returns
      -------
      stop : list of openpyxl.styles.Color
      """
      return map(cls._convert_to_color, stop_seq)
  
imports: from __future__ import annotations
  import mmap
  from typing import TYPE_CHECKING, Any, cast
  import numpy
  from pandas.compat._optional import import_optional_dependency
  from pandas.util._decorators import doc
  from pandas.core.shared_docs import _shared_docs
  from pandas.io.excel._base import BaseExcelReader, ExcelWriter
  from pandas.io.excel._util import combine_kwargs, validate_freeze_panes
label_desc: Use image node_id 8 for calling the OpenpyxlWriter obj's underlying member method code with example usage: obj._convert_to_stop(cls, stop_seq) and returns: map