Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add_layout function query #28

Closed
aeroflux opened this issue Jul 31, 2023 · 1 comment
Closed

add_layout function query #28

aeroflux opened this issue Jul 31, 2023 · 1 comment

Comments

@aeroflux
Copy link

Hi Cj, thank you so much for writing this library, it has been a pleasure to use.

I have a query though. I have been wanting to add colorbars and multiple axes to a plot but can't seem to find a way to add a layout.

p.add_layout(..)

Couldn't find a reference of it in your source code. Am I missing something or is there the option to add this call?
Many thanks

@cjdoris
Copy link
Owner

cjdoris commented Aug 31, 2023

The plot! function is actually for adding any visible element to a plot, not just glyphs (scatters, lines, etc) but also axes, legends, titles, etc.

(Sorry for the slow response, this got lost in my inbox.)

@cjdoris cjdoris closed this as completed Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants