class_docstr: For classifier models displays a drop down menu with labels to be selected
  as the positive class.
class_docstr_tok: ["For","classifier","models","displays","a","drop","down","menu","with","labels","to","be","selected","as","the","positive","class","."]
code: def layout(self):
      if self.explainer.is_classifier:
          return html.Div(
              [
                  html.Div(
                      [
                          dbc.Label(
                              "Positive class:",
                              html_for="pos-label-" + self.name,
                              id="pos-label-label-" + self.name,
                              style={"font-size": "16"},
                          ),
                          dbc.Tooltip(
                              "Select the label to be set as the positive class",
                              target="pos-label-label-" + self.name,
                          ),
                      ]
                  ),
                  html.Div(
                      [
                          dcc.Dropdown(
                              id="pos-label-" + self.name,
                              options=[
                                  {"label": label, "value": i}
                                  for i, label in enumerate(
                                      self.explainer.labels
                                  )
                              ],
                              value=self.pos_label,
                              optionHeight=24,
                              clearable=False,
                              style={
                                  "height": "24",
                                  "font-size": "24",
                              },
                          )
                      ]
                  ),
              ]
          )
      else:
          return html.Div(
              [dcc.Input(id="pos-label-" + self.name)],
              style=dict(display="none"),
          )
  
imports: import sys
  from abc import ABC
  import inspect
  import types
  from typing import Union, List, Tuple
  from pathlib import Path
  from importlib import import_module
  import socket
  import dash
  from dash import html, dcc, Input, Output, State
  from dash.exceptions import PreventUpdate
  import dash_bootstrap_components
  from .None import to_html
label_desc: Use image node_id 2 for calling the PosLabelSelector obj's underlying member method code with example usage: obj.layout() and returns: html, html