              opts_frame = self.optsframe.subframe
              if is_master:
                  group_frame = ttk.Frame(opts_frame)
              else:
                  group_frame = ttk.LabelFrame(opts_frame, text="" if is_master else group.title())
  
              group_frame.pack(side=tk.TOP, fill=tk.X, padx=5, pady=5, anchor=tk.NW)
  
              self.group_frames[group] = dict(frame=group_frame,
                                              chkbtns=self.checkbuttons_frame(group_frame))
 
</s> remove             self.group_frames[group] = dict(frame=group_frame,
                                            chkbtns=self.checkbuttons_frame(group_frame))
 </s> add             self.group_frames[group] = dict(frame=retval,
                                            chkbtns=self.checkbuttons_frame(retval)) </s> remove                       variable=self.option.tk_var)
 </s> add                       variable=self.option.tk_var,
                      style=style) </s> remove         """ Return a new group frame """
 </s> add         """ Return a group frame.

        If a group frame has already been created for the given group, then it will be returned,
        otherwise it will be created and returned.

        Parameters
        ----------
        group: str
            The name of the group to obtain the group frame for

        Returns
        -------
        :class:`ttk.Frame` or :class:`ToggledFrame`
            If this is a 'master' group frame then returns a standard frame. If this is any
            other group, then will return the ToggledFrame for that group
        """
                group_frame = ToggledFrame(opts_frame, text=group.title())
                retval = group_frame.sub_frame
                retval.config(highlightbackground="#176087",
                              highlightcolor="#176087",
                              background="#FFFFFF")
              opts_frame = self.optsframe.subframe
              if is_master:
                  group_frame = ttk.Frame(opts_frame)
              else:
                group_frame = ToggledFrame(opts_frame, text=group.title())
                retval = group_frame.sub_frame
                retval.config(highlightbackground="#176087",
                              highlightcolor="#176087",
                              background="#FFFFFF")
  
              group_frame.pack(side=tk.TOP, fill=tk.X, padx=5, pady=5, anchor=tk.NW)
  
              self.group_frames[group] = dict(frame=group_frame,
                                              chkbtns=self.checkbuttons_frame(group_frame))
keep keep keep keep replace keep keep keep keep keep
 GUI - Make groups collapsible 
lib/gui/control_helper.py