Lineplots and unit handling
- Unit Handling
Previously we defined spatial and temporal units as attributes of the MeshSeries. This was troublesome to convey this information to the plot functions for individual meshes. We now leave it to the user to properly scale their meshseries spatially and temporally in the beginning with the newly implemented MeshSeries.scale function either with scalar factors or with units paris for conversion (input_unit, output_unit). In ot.plot.setup the spatial_unit and time_unit are adde for labeling the plots. If the MeshSeries is scaled with unit pairs the latter unit is also applied in plot.setup.
- line plotting
We had a quite convoluted functions and an exampled to plot linesamples. This MR reduces the releveant code to one function which should provide the means to all use cases. The examples is updated accordingly and should give a comprehensive overview.
-
Feature description was added to the changelog -
Tests covering your feature were added? -
Any new feature or behaviour change was documented? -
API-breaking changes documented here
Merge request reports
Activity
assigned to @FZill
added API BugFix Feature Refactoring labels
requested review from @felikskiszkurno and @TobiasMeisel
added workflowplease review label
- Resolved by Florian Zill
reset approvals from @felikskiszkurno by pushing to the branch
added 1 commit
- a3af3b45 - [docs] use correct RST formatting for inline code
marked the checklist item API-breaking changes documented here as completed
- Resolved by Florian Zill