Skip to content

4 add gridlines to format2d#6

Merged
TalbotKnighton merged 7 commits into
mainfrom
4-add-gridlines-to-format2d
Jul 28, 2025
Merged

4 add gridlines to format2d#6
TalbotKnighton merged 7 commits into
mainfrom
4-add-gridlines-to-format2d

Conversation

@Hydrowelder
Copy link
Copy Markdown
Collaborator

@Hydrowelder Hydrowelder commented Jul 27, 2025

Refactored trendify API for future growth (closes #5). Decided not to fix type hints since trendify 2.0 is coming soonish.

Also added Grid support to Format2D using Grid and GridAxis (closes #4). Users can simply incorporate prepackaged format using enumerated GridTheme (GridTheme.MATLAB is my personal favorite). The default behavior will still be no grid.

One known issue is that the major gridlines plot in front of lines, but its not very noticeable with a very transparent grid. I think its an issue with matplotlib 3.10.3 cause I cannot figure out how to fix it. You can sort of fix it be declaring a higher zorder for the other lines you want to be on top of the gridlines.

trace_plot

@Hydrowelder Hydrowelder linked an issue Jul 27, 2025 that may be closed by this pull request
@TalbotKnighton TalbotKnighton merged commit b9b5547 into main Jul 28, 2025
3 of 4 checks passed
@Hydrowelder Hydrowelder added the enhancement New feature or request label Sep 12, 2025
@Hydrowelder Hydrowelder deleted the 4-add-gridlines-to-format2d branch September 23, 2025 02:07
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.

Refactor API Add gridlines to Format2D

2 participants