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

Adaptive defaults #28

Open
ocramz opened this issue Dec 17, 2016 · 1 comment
Open

Adaptive defaults #28

ocramz opened this issue Dec 17, 2016 · 1 comment

Comments

@ocramz
Copy link

ocramz commented Dec 17, 2016

I've started using this library and I quite like it! But I feel some things could be smoothened out for a beginner: e.g. would sensible defaults that somehow match the input be possible?

I am tweaking a legend and the first thing I noticed is that it doesn't match the text width. Tweaking this by hand requires 1. importing Plots.Legend, 2. using some lensy trickery, 3. hardcoding the legend text length, which is a pain for throwaway analysis.

Thanks!

@cchalmers
Copy link
Owner

Thanks for the feedback.

I agree, it is a pain. I'd like to have this feature but implement it would be difficult.

Most backends do have a way of calculating the text width of a bit of text and I'd like to use this for calculating the legend box width but it's not easy to implement it for multiple backends. I expect it'll take a while to do.

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