code: def __init__(self, orientation=Qt.Horizontal):
      super().__init__()
      self.orientation = orientation
      self.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
      self.setWordWrap(False)
      self.setSpacing(0)
      self.setWrapping(False)
      self.setUniformItemSizes(True)
      if self.orientation == Qt.Vertical:
          self.setFlow(QtWidgets.QListView.TopToBottom)
          self.setSizePolicy(
              QtWidgets.QSizePolicy.Minimum,
              QtWidgets.QSizePolicy.Minimum,
          )
      else:
          self.setFlow(QtWidgets.QListView.LeftToRight)
          self.setSizePolicy(
              QtWidgets.QSizePolicy.Minimum,
              QtWidgets.QSizePolicy.Minimum,
          )
      self.setIconSize(QtCore.QSize(50, 50))
  
imports: import sys
  from PyQt5.QtWidgets import QStyleOptionViewItem
  import pandasgui
  import os
  import plotly
  from PyQt5 import QtCore, QtGui, QtWidgets
  from PyQt5.QtCore import Qt
  from pandasgui.jotly import generate_title
  from pandasgui.store import PandasGuiDataFrameStore
  from pandasgui.widgets.collapsible_panel import CollapsiblePanel
  from pandasgui.widgets.figure_viewer import FigureViewer
  from pandasgui.widgets.func_ui import FuncUi, Schema
  import logging
  from pandasgui import jotly
label_desc: Use image node_id 1 to create a new TypePicker object from inherited base classes: QtWidgets with example: obj = TypePicker(orientation)