'Generate a palette of colors or from the Inferno palette.
The full Inferno palette that serves as input for deriving new palettes
has 256 colors, and looks like:
:bokeh-palette:`inferno(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
>>> inferno(6)
[\'#000003\', \'#410967\', \'#932567\', \'#DC5039\', \'#FBA40A\', \'#FCFEA4\']
The resulting palette looks like: :bokeh-palette:`inferno(6)`'

def inferno(self, n):

    return self.linear_palette(self.Inferno256, n)
