def _next_color_new(self):
        """Get the next color in the rotation."""
        self.current_color += 1
        if self.current_color >= len(self.colors):
            self.current_color = 0
        return self.colors[self.current_color]['color']
dataset/ETHPy150Open cgarrard/osgeopy-code/ospybook/ospybook/simplevectorplotter.py/SimpleVectorPlotter._next_color_new/original