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 dimension parameter for scale bar to all plot functions #11

Merged
merged 3 commits into from
Jul 31, 2020

Conversation

SarthakJariwala
Copy link
Owner

  • dimension can now be specified in all plot functions

This was already implemented in matplotlib_scalebar. Now available in seaborn_image

For example -

import seaborn_image as isns

isns.imgplot(data, dx=1, units="ft", dimension="imperial") # default is "si"
# options include "si", "si-reciprocal", "imperial",  "angle", "pixel"

@SarthakJariwala SarthakJariwala added the enhancement New feature or request label Jul 30, 2020
@SarthakJariwala SarthakJariwala merged commit 254075d into master Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant