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

GR: Draw all gridlines before axis (v2) #4960

Merged
merged 2 commits into from
Jul 13, 2024

Conversation

dd0
Copy link
Contributor

@dd0 dd0 commented Jul 12, 2024

Same as #4945, except for Plots.jl v2.

Separates grid drawing from the remainder of gr_draw_axis, so that all gridlines are drawn below the axis. Previously, y-axis gridlines were drawn after the x-axis and could overlap it.

Fixes #4202 for GR.

Description

Attribution

Things to consider

  • Does it work on log scales?
  • Does it work in layouts?
  • Does it work in recipes?
  • Does it work with multiple series in one call?
  • PR includes or updates tests?
  • PR includes or updates documentation?

dd0 added 2 commits July 13, 2024 00:12
Separates grid drawing from the remainder of gr_draw_axis, so that all
gridlines are drawn below the axis. Previously, y-axis gridlines were
drawn after the x-axis and could overlap it.

Fixes issue JuliaPlots#4202 for GR.
Copy link

codecov bot commented Jul 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.06%. Comparing base (f32247a) to head (89595ff).

Additional details and impacted files
@@           Coverage Diff           @@
##               v2    #4960   +/-   ##
=======================================
  Coverage   87.06%   87.06%           
=======================================
  Files          51       51           
  Lines        5999     5999           
=======================================
  Hits         5223     5223           
  Misses        776      776           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BeastyBlacksmith BeastyBlacksmith merged commit 617b8aa into JuliaPlots:v2 Jul 13, 2024
10 of 14 checks passed
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.

[BUG] Grid covering axes
2 participants