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

Fix grid lines not aligned to origin #8767

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yw4z
Copy link
Contributor

@yw4z yw4z commented Mar 8, 2025

previous code starts drawing gridlines from minimum points of printable area that causes misalignment with origin

this solution draws gridlines relative to origin. negative side and positive side of axes
let me know if i missed something

code draw line to 0 on axes 2 times. not sure its a problem since primary line not using opacity

i can delete old code if necessary

BEFORE

Screenshot-20250308140957
Screenshot-20250308141636

AFTER

Screenshot-20250308171133

@SoftFever SoftFever added the 2.3.1 label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants