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

Enhance functionality of scale_by argument #1729

Merged
merged 5 commits into from
Jun 22, 2024
Merged

Conversation

rich-iannone
Copy link
Member

To allow for temperature conversions through unit_conversion() (commonly called in a scale_by argument for several formatters) we need to enhance scale_by such that it will accept functions in addition to single values. This PR makes that possible and makes the necessary improvements to unit_conversion() (to recognize and handle the temperature conversions). The table produced by info_unit_conversions() has been updated to show the valid keywords for temperature conversion).

@rich-iannone rich-iannone merged commit 1d6702a into master Jun 22, 2024
12 checks passed
@rich-iannone rich-iannone deleted the enhance-scale-by branch June 22, 2024 21:35
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 this pull request may close these issues.

1 participant