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

Allow users to provide label transformation functions #7

Closed
svenstaro opened this issue Jan 4, 2018 · 1 comment
Closed

Allow users to provide label transformation functions #7

svenstaro opened this issue Jan 4, 2018 · 1 comment

Comments

@svenstaro
Copy link

svenstaro commented Jan 4, 2018

Imagine we have a plot and have x values that look like this: 100000000011000013551 or like this 130141414.0001401212401. We don't want to print them like this but we do want to provide these values to our graph. It would be cool to be able to pass in a transformation function that would be executed for each label to transform these values to, for instance, 1E20 + 13551 or maybe even more human readable formats such as "2h ago", "1h ago".

Currently, graphing big values with plotille will lead to completely unreadable labels next to the plot.

@tammoippen
Copy link
Owner

Fixed with #10. Closing.

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

Successfully merging a pull request may close this issue.

2 participants