'Generate a palette of colors or from the Magma palette.
The full Magma palette that serves as input for deriving new palettes
has 256 colors, and looks like:
:bokeh-palette:`magma(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
>>> magma(6)
[\'#000003\', \'#3B0F6F\', \'#8C2980\', \'#DD4968\', \'#FD9F6C\', \'#FBFCBF\']
The resulting palette looks like: :bokeh-palette:`magma(6)`'

def magma(self, n):

    return self.linear_palette(self.Magma256, n)
