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
2.0 beta: Boxplot patches zorder differs from lines #6510
Comments
@Tillsten would you like to submit a PR? I think there are two possible ways to address it: either make the default grid lines zorder below patches and then explicitly set the zorder for filled contours (patch collections) and probably others to be above, or leave the default grid lines zorder where it is and elevate the boxplot patches. My preference is for the second option because I suspect that there will be common cases in addition to filled contours (bar plots? Histograms? Step-filled plots?) where having the patches above the grid will not be what users intend. |
Add a small delta to the mean and median lines to ensure that they are on top. closes matplotlib#6510
fixed by #6766 |
attn @Tillsten do you agree that this is fixed? |
Yes, would have totally do the same, set eqaul zorder with small delta! |
Add a small delta to the mean and median lines to ensure that they are on top. closes matplotlib#6510
See the example from the devdocs:
http://matplotlib.org/devdocs/examples/statistics/boxplot_color_demo.html
The patches are behind the grid while the lines are in front of it.
Maybe patches should be in front of grid by default also, which i
think is the more common case.
The text was updated successfully, but these errors were encountered: