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 possibility to convert between units for plot #215

Open
pineapple-cat opened this issue Oct 5, 2023 · 0 comments
Open

Add possibility to convert between units for plot #215

pineapple-cat opened this issue Oct 5, 2023 · 0 comments
Labels
enhancement New feature or request postprocessing

Comments

@pineapple-cat
Copy link
Collaborator

Units for each axis in a graph are specified within a config, and one of the specification options is to enter a column name to extract units from. Currently, if all the rows in the dataframe to be plotted do not have the same unit, an error will be thrown.

This is not a pressing matter, but it could be useful to allow unit conversions at some point. For example, if all units share the same base unit (such as flops/s) but differ in magnitude (Mflops/s, Gflops/s, Tflops/s, etc.), they could all be converted to one magnitude. Or, if a custom unit label is specified alongside a column name, the plotted data could be converted to the custom unit.

See libraries such as pint or units.

@ilectra ilectra added the enhancement New feature or request label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request postprocessing
Projects
None yet
Development

No branches or pull requests

2 participants