Commit d072fc2
committed
Generate rasterized hatching at correct DPI.
The hatch buffer was created at 72 pixels, with the assumption that that
is the "unit square" (1in*1in). However, with default DPI increased to
100, that buffer is actually too small, causing hatching to be denser
than it should be. On test images where the DPI was set really low, the
hatching was less dense than it should be.
Fixes #4108.1 parent a3d7af4 commit d072fc2
12 files changed
Lines changed: 12 additions & 4 deletions
File tree
- doc/users
- lib/matplotlib/tests/baseline_images
- test_artist
- test_axes
- test_colorbar
- test_cycles
- test_patheffects
- test_simplification
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
628 | 633 | | |
629 | 634 | | |
630 | 635 | | |
| |||
0 commit comments