# Legend missing from top of histogram

**URL:** <https://forum.biobakery.org/t/legend-missing-from-top-of-histogram/1752>\
**Category:** LEfSe\
**Created:** [March 5, 2021, 7:20pm UTC](https://forum.biobakery.org/t/legend-missing-from-top-of-histogram/1752 "2021-03-05T19:20:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nstrom1](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/nstrom1/32/661_2.png) [@nstrom1](https://forum.biobakery.org/u/nstrom1)\
**Post date:** [March 5, 2021, 7:20pm UTC](https://forum.biobakery.org/t/legend-missing-from-top-of-histogram/1752/1 "2021-03-05T19:20:40Z")

</div>

I am running into a problem with the legend in the lefse histograms. If I have a relatively small number of discriminant features, the legend will appear at the top of the plot. However, for one analysis, I had several hundred discriminant features, and the legend did not appear. I have been using the python code from the Segata lab ([GitHub - SegataLab/lefse](https://github.com/SegataLab/lefse)) in Docker.

I cut out the taxa from the images to preserve the privacy of the data. Is there a solution for making the legend appear at the top of the larger plot?

![lefse_histogram_good](https://canada1.discourse-cdn.com/flex027/uploads/biobakery/original/1X/affad99833002b655c266cfbfaed99fdecdd226b.jpeg) ![lefse_histogram_bad](https://canada1.discourse-cdn.com/flex027/uploads/biobakery/original/1X/cf2d3b9aa8345c831d76e2e647501d16a607d312.jpeg)
