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

Improve default BarbPlot zorder #2752

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Conversation

dopplershift
Copy link
Member

Description Of Changes

Previously, the barbs would end up "lower" in the draw stack than the lakes map overlay, as well as behind contour lines. This sets a zorder of 2, which is enough to address both of these.

I hadn't noticed barbs went behind contours before. I don't think that's what we want?

Checklist

  • Closes #xxxx
  • Tests added

@dopplershift dopplershift added Type: Bug Something is not working like it should Area: Plots Pertains to producing plots labels Oct 20, 2022
@dopplershift dopplershift added this to the October 2022 milestone Oct 20, 2022
@dopplershift dopplershift requested review from a team and kgoebber as code owners October 20, 2022 19:11
@dopplershift dopplershift requested review from dcamron and removed request for a team October 20, 2022 19:11
@kgoebber
Copy link
Collaborator

I also hadn't noticed the barbs behind contours and that is likely because I do barbs in black and height contours in black, which then one can't really tell which is on top or bottom!

This seems like a sensible solution.

Previously, the barbs would end up "lower" in the draw stack than
the lakes map overlay, as well as behind contour lines. This sets a
zorder of 2, which is enough to address both of these.
Copy link
Collaborator

@kgoebber kgoebber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@dcamron dcamron merged commit 9724554 into Unidata:main Oct 20, 2022
@dopplershift dopplershift deleted the barb-zorder branch October 21, 2022 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Plots Pertains to producing plots Type: Bug Something is not working like it should
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants