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 'pixel' as unit? #12

Closed
huangziwei opened this issue Nov 29, 2017 · 3 comments
Closed

add 'pixel' as unit? #12

huangziwei opened this issue Nov 29, 2017 · 3 comments

Comments

@huangziwei
Copy link

Hi,

Sometimes I don't really know the unit of the picture and the axis is turned off for aesthetic reason. It would be nice to have a scale bar just for showing how many pixels a certain length of the picture spanned.

@ppinard
Copy link
Owner

ppinard commented Nov 29, 2017

That's a very good idea. One question about whether to allow prefixes (e.g. npx, mpx, kpx, Mpx)? I guess maybe kpx (kilo-pixel) and Mpx (mega-pixel) make sense for large maps, but prefixes for less than 1 (e.g. micro, nano) would never arise?

@huangziwei
Copy link
Author

I guess px, kpx, Mpx will cover most of the use scenarios, while the others can be added by future requests? Actually I never see mpx and npx in real life...

ppinard added a commit that referenced this issue Jul 8, 2018
@ppinard
Copy link
Owner

ppinard commented Jul 8, 2018

Sorry the delay. I completely forgot about this issue. The code is in and I will create a new release soon.

ppinard added a commit that referenced this issue Jul 8, 2018
@ppinard ppinard closed this as completed Jul 8, 2018
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