r""" Set the hatching pattern. *hatch* can be one of:: / - diagonal hatching \ - back diagonal | - vertical - - horizontal + - crossed x - crossed diagonal o - small circle O - large cir
(self, hatch)
| 617 | return self._joinstyle.name |
| 618 | |
| 619 | def set_hatch(self, hatch): |
| 620 | r""" |
| 621 | Set the hatching pattern. |
| 622 | |
| 623 | *hatch* can be one of:: |
| 624 | |
| 625 | / - diagonal hatching |
| 626 | \ - back diagonal |
| 627 | | - vertical |
| 628 | - - horizontal |
| 629 | + - crossed |
| 630 | x - crossed diagonal |
| 631 | o - small circle |
| 632 | O - large circle |
| 633 | . - dots |
| 634 | * - stars |
| 635 | |
| 636 | Letters can be combined, in which case all the specified |
| 637 | hatchings are done. If same letter repeats, it increases the |
| 638 | density of hatching of that pattern. |
| 639 | |
| 640 | Parameters |
| 641 | ---------- |
| 642 | hatch : {'/', '\\', '|', '-', '+', 'x', 'o', 'O', '.', '*'} |
| 643 | """ |
| 644 | # Use validate_hatch(list) after deprecation. |
| 645 | mhatch._validate_hatch_pattern(hatch) |
| 646 | self._hatch = hatch |
| 647 | self.stale = True |
| 648 | |
| 649 | def get_hatch(self): |
| 650 | """Return the hatching pattern.""" |
no outgoing calls