title: How Do I Remove an Attribute from the Legend of a Scatter plot
body: <p>I did a scatter <code>plot</code> using <code>seaborn</code> from three columns <code>['Category','Installs' and 'Gross Income']</code> and a hue map using the category column from my dataset. However in the legend, other than the category column which I want to appear, there is a big smug at the end showing one of the columns used in the scatter plot, Installs. I'll like to remove this element, but from searching through other questions hear and the documentation of <code>seaborn</code> and <code>matplotlib</code> I'm at a loss on how to proceed. </p>
  
  <p>Here is a snippet of the code I'm working with:</p>
  
  <pre><code>fig, ax = pyplot.subplots(figsize=(12,6))
  
  ax=sns.scatterplot( x="Installs", y="Gross Income", data=comp_income_inst, hue='Category', 
                     palette=sns.color_palette("cubehelix",len(comp_income_inst)), 
                     size='Installs', sizes=(100,5000), legend='brief', ax=ax) 
  
  ax.set(xscale="log", yscale="log")
  ax.set(ylabel="Average Income") 
  ax.set_title("Distribution showing the Earnings of Apps in Various Categories\n", fontsize=18)
  plt.rcParams["axes.labelsize"] = 15
  
  
  
  # Move the legend to an empty part of the plot
  plt.legend(loc='upper left', bbox_to_anchor=(-0.2, -0.06),fancybox=True, shadow=True, ncol=5)
  #plt.legend(loc='upper left')
  
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/PXn7E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PXn7E.png" alt="This is the result of the code above, notice the smug in the Legend on the lower right corner"></a></p>