Skip to content

Conversation

@ThomasParistech
Copy link
Owner

Description

Built upon idea of @JulesL2 to handle tracks with flat elevation profiles.
Instead of modifying at drawing time, I update the bot_ratio and ele_ratio accordingly right before downloading the background data. That way we end up with a perflectly centered background, instead of leaving some kind of empty space above the flattened elevation profile.

Corresponding Github Issues / Pull Requests

PR #97
Issue #93

Proof of Functionality

Provide evidence that the changes work as intended. Include screenshots, logs, or other relevant output.
Left: Current main branch. The elevation profile is excessively large compared to the low total uphill
Right: Proposed solution. The background has been slightly shifted towards the bottom
image

Warning

@github-actions github-actions bot added the enhancement New feature or request label Jul 16, 2025
@ThomasParistech ThomasParistech merged commit 9e522d0 into main Jul 16, 2025
1 of 2 checks passed
@ThomasParistech ThomasParistech deleted the handle_flat_profiles branch July 16, 2025 16:42
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.

3 participants