---
title: "Palette Swatch Plot"
---

### Description

Interfacing the main [swatchplot](colorspace.swatchplot.swatchplot.qmd)
function. Plotting the spectrum of the current color palette.

### Usage

<pre><code class='language-python'>hclpalettes.plot(n=5)</code></pre>

### Arguments

<dl class="pyp-list param-list">
  <dt style = "white-space: nowrap; font-family: monospace; vertical-align: top">
   <code id="colorspace.palettes.hclpalettes.plot:n">n</code><code class="argument-class">int</code>
  </dt>
 <dd>Number of colors, defaults to 7.</dd>
</dl>
