<p dir="auto">Hey!</p>
<p dir="auto">I think I found a bug, although I'm not sure if it might be intended behavior. If it is actually a bug, I'll try find the fix and flesh out a proper minimum reproducible example.</p>
<p dir="auto">Here's an annotated plot that I generated during my day-to-day usage:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/33420535/188614232-f84ab5d2-00fc-47bd-9dde-a4474f27f2ec.png"><img width="631" alt="Screenshot 2022-09-06 at 12 30 28" src="https://user-images.githubusercontent.com/33420535/188614232-f84ab5d2-00fc-47bd-9dde-a4474f27f2ec.png" style="max-width: 100%;"></a></p>
<p dir="auto">This is a fairly standard  <code class="notranslate">g = sns.catplot(...,  kind="boxen", ...)</code>, but have a look at the colouring for the fourth boxen in red on the two axes. On the left, the "very light red" has a width of about half the main box, but on the right the "very light red" has a width of only a quarter the main box, and the "light red" has a width of half the main box.</p>
<p dir="auto">I feel like the red boxens should look something more like:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/33420535/188616018-5605b9a0-a358-446c-b2ba-7581dbbed92f.png"><img width="588" alt="Screenshot 2022-09-06 at 12 41 05" src="https://user-images.githubusercontent.com/33420535/188616018-5605b9a0-a358-446c-b2ba-7581dbbed92f.png" style="max-width: 100%;"></a></p>
<p dir="auto">So that if two boxes in a boxen plot have the same color and represent the same quantile range, they also have the same width.</p>
<p dir="auto">Once again, it's debatable if this is a bug or not, but I thought I'd raise it and offer to help out if it was actually overlooked.</p>
<p dir="auto">Hi,</p>
<p dir="auto">I've been an avid user of <code class="notranslate">boxenplot</code>, and it's a great function!</p>
<p dir="auto">I noticed that there were some improvements to <code class="notranslate">boxenplot</code> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="620790174" data-permission-text="Title is private" data-url="https://github.com/mwaskom/seaborn/issues/2086" data-hovercard-type="pull_request" data-hovercard-url="/mwaskom/seaborn/pull/2086/hovercard" href="https://github.com/mwaskom/seaborn/pull/2086">#2086</a> that were incorporated into release v0.11. Now, with the default <code class="notranslate">k_depth='tukey'</code> the boxes are "sequentially colored from the input color all the way to white". However, while this new styling also looks to be applied for 'trustworthy', the old styling is still used for 'proportion' and 'full'.</p>
<p dir="auto">Is this intended behavior? Would it be possible to either clarify in the documentation that the styling may differ depending on the <code class="notranslate">k_depth</code>, to add the option to have this sequential hue gradient for all options for <code class="notranslate">k_depth</code>, or the option to turn it on/off since it's somewhat tricky to work with the resulting <code class="notranslate">cmap</code> of the <code class="notranslate">PatchCollections</code>?</p>
<p dir="auto">With seaborn=='0.11.1' and matplotlib=='3.3.4' this is what I currently see:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tips = sns.load_dataset(&quot;tips&quot;)
k_depth_methods = [&quot;proportion&quot;, &quot;tukey&quot;, &quot;trustworthy&quot;, &quot;full&quot;]
fig, axes = plt.subplots(2,2, figsize=(12,12), sharex=True, sharey=True)
for ax, k in zip(axes.flatten(), k_depth_methods):
    sns.boxenplot(
        x=&quot;day&quot;, y=&quot;total_bill&quot;, hue=&quot;time&quot;, data=tips, linewidth=2.5, k_depth=k, ax=ax
    )
    ax.set_title(k, y=1.05)
    ax.legend(loc=&quot;upper left&quot;, bbox_to_anchor=(0,1.05))
sns.despine()"><pre class="notranslate"><code class="notranslate">tips = sns.load_dataset("tips")
k_depth_methods = ["proportion", "tukey", "trustworthy", "full"]
fig, axes = plt.subplots(2,2, figsize=(12,12), sharex=True, sharey=True)
for ax, k in zip(axes.flatten(), k_depth_methods):
    sns.boxenplot(
        x="day", y="total_bill", hue="time", data=tips, linewidth=2.5, k_depth=k, ax=ax
    )
    ax.set_title(k, y=1.05)
    ax.legend(loc="upper left", bbox_to_anchor=(0,1.05))
sns.despine()
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7407663/112195814-c0e37780-8be0-11eb-800f-9501ab8b7ffd.png"><img src="https://user-images.githubusercontent.com/7407663/112195814-c0e37780-8be0-11eb-800f-9501ab8b7ffd.png" alt="image" style="max-width: 100%;"></a></p>