'Generate a palette of colors or from the Viridis palette.
The full Viridis palette that serves as input for deriving new palettes
has 256 colors, and looks like:
:bokeh-palette:`viridis(256)`
Args:
n (int) : size of the palette to generate
Returns:
list[str] : a list of hex RGB color strings
Raises:
``ValueError`` if n is greater than the base palette length of 256
Examples:
.. code-block:: python
>>> viridis(6)
[\'#440154\', \'#404387\', \'#29788E\', \'#22A784\', \'#79D151\', \'#FDE724\']
The resulting palette looks like: :bokeh-palette:`viridis(6)`'

def viridis(self, n):

    return self.linear_palette(self.Viridis256, n)
