def METHOD_NAME(self):
    """
    Creates the GUI containing the ArtistToggleWidget and the matplotlib figure axes.
    """
    # Create widgets
    self._widget, self._toggle, self._window = main('data')
    # Create plotting function
    def graph():
        settings = self._toggle.settings()
        ax = self._window.axes()[settings.pop('axis')]
        self._window.clear()
        if self._toggle.isValid():
            ax.plot([0,1,2,4], [0,1,4,16], **settings)
        self._window.draw()
    self._toggle.clicked.connect(graph)