def set_accent_values()

in chartify/_core/style.py [0:0]


    def set_accent_values(self, accent_values):
        """Set values that should be accented.

        Args:
        - accent_values (list or dict): List of values that
        should be accented or dictionary of 'value': 'color' pairs.
        """
        if isinstance(accent_values, dict):
            self._accent_color_map = {value: colors.Color(color).get_hex_l() for value, color in accent_values.items()}
        else:
            self._accent_color_map = dict(list(zip(accent_values, cycle(self._colors))))
        return self._chart