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

Charts (Output) functionality #209

fostermeijer opened this issue Mar 3, 2016 · 1 comment

Charts (Output) functionality #209

fostermeijer opened this issue Mar 3, 2016 · 1 comment


Copy link

Currently it appears the chart functionality is rather limited.
One issue is that bar graphs are not always comparable because the axes changes depending on the range of data. I have not been able to adjust the axes range and it does not appear to be integrated into the code yet. Is this an easy change?

Copy link

It is limited indeed. I always planned to revisit it, but never had time to do so...

Adding the following lines to liam2/ seems to do the trick.

        plt.xlim(xmin=kwargs.pop('xmin', None), xmax=kwargs.pop('xmax', None))
        plt.ylim(ymin=kwargs.pop('ymin', None), ymax=kwargs.pop('ymax', None))

then using it like:

- bar(byage, ymax=100, fname='bar1.png')

If you could make a pull request with this change and the corresponding documentation, that would make it easier for me to include it in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants