def setup(self, check_all=None, exclude_private=None, exclude_uppercase=None, exclude_capitalized=None, exclude_unsupported=None, excluded_names=None, truncate=None, minmax=None, remote_editing=None, autorefresh=None):
    'Setup the namespace browser'
    assert (self.shellwidget is not None)
    self.check_all = check_all
    self.exclude_private = exclude_private
    self.exclude_uppercase = exclude_uppercase
    self.exclude_capitalized = exclude_capitalized
    self.exclude_unsupported = exclude_unsupported
    self.excluded_names = excluded_names
    self.truncate = truncate
    self.minmax = minmax
    self.remote_editing = remote_editing
    self.autorefresh = autorefresh
    if (self.editor is not None):
        self.editor.setup_menu(truncate, minmax)
        self.exclude_private_action.setChecked(exclude_private)
        self.exclude_uppercase_action.setChecked(exclude_uppercase)
        self.exclude_capitalized_action.setChecked(exclude_capitalized)
        self.exclude_unsupported_action.setChecked(exclude_unsupported)
        if (not self.is_ipykernel):
            self.auto_refresh_button.setChecked(autorefresh)
        self.refresh_table()
        return
    if self.is_internal_shell:
        self.editor = DictEditorTableView(self, None, truncate=truncate, minmax=minmax)
    else:
        self.editor = RemoteDictEditorTableView(self, None, truncate=truncate, minmax=minmax, remote_editing=remote_editing, get_value_func=self.get_value, set_value_func=self.set_value, new_value_func=self.set_value, remove_values_func=self.remove_values, copy_value_func=self.copy_value, is_list_func=self.is_list, get_len_func=self.get_len, is_array_func=self.is_array, is_image_func=self.is_image, is_dict_func=self.is_dict, is_data_frame_func=self.is_data_frame, is_time_series_func=self.is_time_series, get_array_shape_func=self.get_array_shape, get_array_ndim_func=self.get_array_ndim, oedit_func=self.oedit, plot_func=self.plot, imshow_func=self.imshow, show_image_func=self.show_image)
    self.editor.sig_option_changed.connect(self.sig_option_changed.emit)
    self.editor.sig_files_dropped.connect(self.import_data)
    hlayout = QHBoxLayout()
    vlayout = QVBoxLayout()
    toolbar = self.setup_toolbar(exclude_private, exclude_uppercase, exclude_capitalized, exclude_unsupported, autorefresh)
    vlayout.setAlignment(Qt.AlignTop)
    for widget in toolbar:
        vlayout.addWidget(widget)
    hlayout.addWidget(self.editor)
    hlayout.addLayout(vlayout)
    self.setLayout(hlayout)
    hlayout.setContentsMargins(0, 0, 0, 0)
    self.sig_option_changed.connect(self.option_changed)
Setup the namespace browser
def setup(self, check_all=None, exclude_private=None, exclude_uppercase=None, exclude_capitalized=None, exclude_unsupported=None, excluded_names=None, truncate=None, minmax=None, remote_editing=None, autorefresh=None):
    
    assert (self.shellwidget is not None)
    self.check_all = check_all
    self.exclude_private = exclude_private
    self.exclude_uppercase = exclude_uppercase
    self.exclude_capitalized = exclude_capitalized
    self.exclude_unsupported = exclude_unsupported
    self.excluded_names = excluded_names
    self.truncate = truncate
    self.minmax = minmax
    self.remote_editing = remote_editing
    self.autorefresh = autorefresh
    if (self.editor is not None):
        self.editor.setup_menu(truncate, minmax)
        self.exclude_private_action.setChecked(exclude_private)
        self.exclude_uppercase_action.setChecked(exclude_uppercase)
        self.exclude_capitalized_action.setChecked(exclude_capitalized)
        self.exclude_unsupported_action.setChecked(exclude_unsupported)
        if (not self.is_ipykernel):
            self.auto_refresh_button.setChecked(autorefresh)
        self.refresh_table()
        return
    if self.is_internal_shell:
        self.editor = DictEditorTableView(self, None, truncate=truncate, minmax=minmax)
    else:
        self.editor = RemoteDictEditorTableView(self, None, truncate=truncate, minmax=minmax, remote_editing=remote_editing, get_value_func=self.get_value, set_value_func=self.set_value, new_value_func=self.set_value, remove_values_func=self.remove_values, copy_value_func=self.copy_value, is_list_func=self.is_list, get_len_func=self.get_len, is_array_func=self.is_array, is_image_func=self.is_image, is_dict_func=self.is_dict, is_data_frame_func=self.is_data_frame, is_time_series_func=self.is_time_series, get_array_shape_func=self.get_array_shape, get_array_ndim_func=self.get_array_ndim, oedit_func=self.oedit, plot_func=self.plot, imshow_func=self.imshow, show_image_func=self.show_image)
    self.editor.sig_option_changed.connect(self.sig_option_changed.emit)
    self.editor.sig_files_dropped.connect(self.import_data)
    hlayout = QHBoxLayout()
    vlayout = QVBoxLayout()
    toolbar = self.setup_toolbar(exclude_private, exclude_uppercase, exclude_capitalized, exclude_unsupported, autorefresh)
    vlayout.setAlignment(Qt.AlignTop)
    for widget in toolbar:
        vlayout.addWidget(widget)
    hlayout.addWidget(self.editor)
    hlayout.addLayout(vlayout)
    self.setLayout(hlayout)
    hlayout.setContentsMargins(0, 0, 0, 0)
    self.sig_option_changed.connect(self.option_changed)