def plot_macbeth()

in src/open_vp_cal/widgets/colourspaces_widget.py [0:0]


    def plot_macbeth(self, selected_data, display_filters):
        """ Plots the macbeth data for the selected data

        Args:
            selected_data: The selected data we want to plot the macbeth data for
            display_filters: The display filters we want to plot the macbeth data for
        """
        if not self.macbeth_checkbox.isChecked():
            return

        plot_colour = [0, 0, 0]
        for item in selected_data:
            if constants.DisplayFilters.MACBETH in item:
                macbeth_data = item[constants.DisplayFilters.MACBETH]
                for display_filter in display_filters:
                    if display_filter in macbeth_data:
                        xy_data = macbeth_data[display_filter]
                        for xy_position in xy_data:
                            self.plot_white_point(
                                plot_colour, "", xy_position
                            )