---
id: texthero.visualization.scatterplot
title: visualization.scatterplot
hide_title: true
---

<div>
<div class="section" id="texthero-visualization-scatterplot">
<h1>texthero.visualization.scatterplot<a class="headerlink" href="#texthero-visualization-scatterplot" title="Permalink to this headline">¶</a></h1>
<dl class="py function">
<dt id="texthero.visualization.scatterplot">
<code class="sig-name descname">scatterplot</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">df</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span></em>, <em class="sig-param"><span class="n">col</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.8)">str</a></span></em>, <em class="sig-param"><span class="n">color</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.8)">str</a></span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">hover_data</span><span class="p">:</span> <span class="n"><span class="p">]</span></span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">title</span><span class="o">=</span><span class="default_value">''</span></em>, <em class="sig-param"><span class="n">return_figure</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#texthero.visualization.scatterplot" title="Permalink to this definition">¶</a></dt>
<dd><p>Show scatterplot using python plotly scatter.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><dl class="simple">
<dt><strong>df</strong></dt><dd></dd>
<dt><strong>col</strong></dt><dd><p>The name of the column of the DataFrame used for x and y axis.</p>
</dd>
</dl>
</dd>
</dl>
</dd></dl>
</div>
</div>