Commit 813e41a
Boxplot fix median line extending past box boundaries (matplotlib#26462)
Closes matplotlib#19409.
- Set the default capstyles (solid and dashed) for median and mean lines in boxplots to "butt".
I also modieifed the behaviror for setting the capstyle for median lines to obey the user's preference
instead of overriding it.
- The boxplot PDFs were using the wrong capstyle, so I modified the references to use the butt captyle.
- Fixed a small typo in `bxp()`
- Added a new test for the median line (from PR matplotlib#23335)
Co-authored-by: Elliott Sales de Andrade <[email protected]>1 parent db533bf commit 813e41a
File tree
37 files changed
+21
-1
lines changed- lib/matplotlib
- axes
- tests
- baseline_images/test_axes
37 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4095 | 4095 | | |
4096 | 4096 | | |
4097 | 4097 | | |
4098 | | - | |
| 4098 | + | |
4099 | 4099 | | |
4100 | 4100 | | |
4101 | 4101 | | |
| |||
4147 | 4147 | | |
4148 | 4148 | | |
4149 | 4149 | | |
| 4150 | + | |
| 4151 | + | |
| 4152 | + | |
| 4153 | + | |
| 4154 | + | |
| 4155 | + | |
| 4156 | + | |
| 4157 | + | |
| 4158 | + | |
| 4159 | + | |
| 4160 | + | |
4150 | 4161 | | |
4151 | 4162 | | |
4152 | 4163 | | |
| |||
Binary file not shown.
Binary file not shown.
0 commit comments