✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Legend under chart

how do i put legend under chart? having chart like this, i want the legend to be as one line under graph

You can accomplish this using the orientation property under layout.legend.
See here for more details: layout.legend properties for Python