Skip to content

Change ylabel from 'speed' to 'accel'#942

Open
yvonne0006 wants to merge 1 commit intoneuroinformatics-unit:mainfrom
yvonne0006:yvonne0006-patch-1
Open

Change ylabel from 'speed' to 'accel'#942
yvonne0006 wants to merge 1 commit intoneuroinformatics-unit:mainfrom
yvonne0006:yvonne0006-patch-1

Conversation

@yvonne0006
Copy link
Copy Markdown

Fix y-axis label in acceleration components plot

Before submitting a pull request (PR), please read the contributing guide.

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?

The y-axis label on the acceleration plot was wrong—it said “speed (px/s2)” even though the graph is showing acceleration. It should be labeled “accel (px/s2)” to match what’s actually being plotted.

What does this PR do?

Changes the y-axis label in examples/compute_kinematics.py from "speed (px/s**2)" to "accel (px/s**2)" to match the label used in the acceleration norm plot.

References

Fixes #848

How has this PR been tested?

The change is a one-line label fix with no logic changes. Verified visually by inspecting the diff.

Is this a breaking change?

No.

Does this PR require an update to the documentation?

No.

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

Fix y-axis label in acceleration components plot
@sonarqubecloud
Copy link
Copy Markdown

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.

Fix y-axis label in acceleration plot

1 participant