☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Is legend.location available when used with legend.orientation?

Community Support
e5k
e5k

Hi again,

Following @Patrick_Wright answer here, I am trying to make a 2-line legend, with two individual legends that use a horizontal orientation. With a vertical orientation, tweaking the position with location=(x,y) works, but as soon as I use a horizontal orientation the location argument is ignored.

Is that a known issue?

Thanks

⌁   Link to post
p-himik
p-himik

If you use any place other than 'center', the location is not ignored but is not as useful either. 'left' and other panels are either a VStack or an HStack and they stack their items whether you want it or not. The location value will be taken into account, but the stack will also apply its own logic.
Maybe you could try using negative values, I don’t know how robust it is.

⌁   Link to post

End of archived discussion · Replies are disabled