class_docstr: Base for all Viz classes.
class_docstr_tok: ["Base","for","all","Viz","classes","."]
docstr: Return a list that is a combination of the `original` and `default`
  values.
  
  Args:
      original: Original values that is placed first in the return list.
      default: Default values in return list if `original` values is not specified.
      exclude: Values that should not be in the return list.
      fill: Values that should be added to return list to meet list `size` requirement.
      size: Max size of the return list. Default value is the length of `default`.
docstr_tok: ["Return","a","list","that","is","a","combination","of","the","`","original","`","and","`","default","`","values",".","Args",":","original",":","Original","values","that","is","placed","first","in","the","return","list",".","default",":","Default","values","in","return","list","if","`","original","`","values","is","not","specified",".","exclude",":","Values","that","should","not","be","in","the","return","list",".","fill",":","Values","that","should","be","added","to","return","list","to","meet","list","`","size","`","requirement",".","size",":","Max","size","of","the","return","list",".","Default","value","is","the","length","of","`","default","`","."]
code: def _pfix(
      original: Any,
      default: Any,
      exclude: Any = None,
      fill: Any = None,
      size: Optional[int] = None,
  ) -> Any:
      """Return a list that is a combination of the `original` and `default`
      values.
  
      Args:
          original: Original values that is placed first in the return list.
          default: Default values in return list if `original` values is not specified.
          exclude: Values that should not be in the return list.
          fill: Values that should be added to return list to meet list `size` requirement.
          size: Max size of the return list. Default value is the length of `default`.
      """
      exclude = exclude or {}
      dsize = size or len(default)
      original = VizBase._listw(original)
      if not original:
          for cdef in default:
              if cdef not in exclude:
                  original.append(cdef)
              if len(original) >= dsize:
                  break
      if fill:
          original += fill[len(original) :]
          original = original[: len(fill)]
      if size:
          original *= size
          original = original[:size]
      return original
  
file_path: tslumen/tslumen/plot/interactive/base.py
imports: from typing import Optional, Any, Type
  from collections.abc import Mapping
  from abc import ABC, abstractmethod
  from copy import deepcopy
  import inspect
label_desc: Use image node_id 4 for calling the VizBase obj's underlying member method code with example usage: obj._pfix(original, default, exclude, fill, size) and returns: original