code: def build_histogram_inputs(inputs, df, group_options):
      show_inputs = inputs.get("chart_type") == "histogram"
      col, histogram_type, bins, group = (
          inputs.get("histogram_{}".format(prop))
          for prop in ["col", "type", "bins", "group"]
      )
      col_options = get_num_cols(df)
  
      return html.Div(
          [
              build_input(
                  text("Col"),
                  dcc.Dropdown(
                      id="histogram-col-dropdown",
                      options=col_options,
                      value=col,
                      style=dict(width="inherit"),
                  ),
              ),
              dcc.Tabs(
                  id="histogram-type-tabs",
                  value=histogram_type or "bins",
                  children=[
                      build_tab(text("Bins"), "bins"),
                      build_tab(text("Density"), "density"),
                  ],
                  style=dict(height="36px", width="10em"),
              ),
              build_input(
                  text("Bins"),
                  dcc.Input(
                      id="histogram-bins-input",
                      type="number",
                      placeholder=text("Enter Bins"),
                      className="form-control text-center",
                      style={"lineHeight": "inherit"},
                      value=bins or 5,
                  ),
                  id="histogram-bins-div",
                  className="col-md-1 pr-0",
                  style={}
                  if histogram_type == "bins"
                  else {"display": "none"},
              ),
              build_input(
                  text("Group"),
                  dcc.Dropdown(
                      id="histogram-group-dropdown",
                      options=group_options,
                      multi=True,
                      placeholder=text("Select Group(s)"),
                      value=group,
                      style=dict(width="inherit"),
                  ),
                  className="col",
                  id="histogram-group-input",
              ),
          ],
          id="histogram-inputs",
          style={} if show_inputs else {"display": "none"},
          className="row p-0 charts-filters",
      )
  
imports: import json
  import dash_bootstrap_components
  import dash_colorscales
  import dash_daq
  import os
  import plotly
  from pkg_resources import parse_version
  from six import PY3
  from dtale.dash_application import dcc, html
  import dtale.dash_application.custom_geojson
  import dtale.dash_application.extended_aggregations
  import dtale.global_state
  from dtale.charts.utils import AGGS, ANIMATION_CHARTS, ANIMATE_BY_CHARTS, YAXIS_CHARTS, ZAXIS_CHARTS, NON_EXT_AGGREGATION, build_final_cols, find_group_vals
  from dtale.column_builders import get_cleaner_configs
  from dtale.constants import CHART_JOINER_CHAR
  from dtale.dash_application.layout.utils import build_input, build_option, build_tab, build_cols, build_hoverable, build_selections, show_style, FREQS, FREQ_LABELS
  from dtale.translations import text
  from dtale.query import build_query, handle_predefined, inner_build_query, run_query
  from dtale.utils import ChartBuildingError, classify_type, coord_type, get_dtypes, is_app_root_defined, make_list
label_desc: Use image node_id 32 for calling a global function with example usage: build_histogram_inputs(inputs, df, group_options) and returns: html