mobiusklein / glypy

Glycan Analysis and Glycoinformatics Library for Python
Apache License 2.0
31 stars 14 forks source link

Feature Suggestion: Pad as a controllable parameter in plot #23

Closed michaelmarty closed 2 years ago

michaelmarty commented 2 years ago

Great library! One feature suggestion, on the plots, it would be helpful to have a controllable parameter for the padding. I thought the defaults had too much padding around the edge, so I added in a controllable parameter for the pad and pad factor. If you'd be interested in posting it, I'm happy to create a pull request or send you the py file to upload. Thanks, MTM

mobiusklein commented 2 years ago

If you want to open a PR, I'd be happy to review and merge it.

michaelmarty commented 2 years ago

Awesome! It's open now. You might need to edit the doc string. I did my best with the units but wasn't 100% sure.

mobiusklein commented 2 years ago

Thank you for submitting the PR. It looked right, and I've merged it now. I'll set up a new release on PyPI shortly.