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 an option for title positioning and/or alignment [feature request] #812

Closed
salim-b opened this issue Nov 23, 2016 · 4 comments
Closed

Comments

@salim-b
Copy link
Contributor

salim-b commented Nov 23, 2016

Right now there's no proper way to set the spacing between the title and the plot area.

It is possible to set a top margin via margin = list(t = ...). But there's no way to set the title position between that top margin and the plot area, it just gets auto-positioned in a way far from perfect.

If you wanna add more space, currently the only way to do that is to increase that top margin which actually increases the space between the title and the plot area – but only by a fraction of the additional top margin value. This results in ridiculously large spacings between the top of the frame and the title. This is especially true for multiline titles (using <br> tags) where the the top margin needs to be quite large for all of the title lines to be visible.

@cpsievert
Copy link
Collaborator

This, as well as #812, seems better suited for issues over at https://github.com/plotly/plotly.js

@salim-b
Copy link
Contributor Author

salim-b commented Nov 24, 2016

This, as well as #812 ...

This actually is #812 so I guess you mean another issue?

This (...) seems better suited for issues over at https://github.com/plotly/plotly.js

Ok, I see. What @etpinard proposes in plotly/plotly.js#882 seems to include what I've requested above 👍

@cpsievert
Copy link
Collaborator

Whoops, yea, I meant #811

@salim-b
Copy link
Contributor Author

salim-b commented Nov 25, 2016

ok, also reported over at plotly.js

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