Set the linewidth(s) for the collection. *lw* can be a scalar or a sequence; if it is a sequence the patches will cycle through the sequence Parameters ---------- lw : float or list of floats
(self, lw)
| 650 | return mpl.rcParams['patch.linewidth'] # validated as float |
| 651 | |
| 652 | def set_linewidth(self, lw): |
| 653 | """ |
| 654 | Set the linewidth(s) for the collection. *lw* can be a scalar |
| 655 | or a sequence; if it is a sequence the patches will cycle |
| 656 | through the sequence |
| 657 | |
| 658 | Parameters |
| 659 | ---------- |
| 660 | lw : float or list of floats |
| 661 | """ |
| 662 | if lw is None: |
| 663 | lw = self._get_default_linewidth() |
| 664 | # get the un-scaled/broadcast lw |
| 665 | self._us_lw = np.atleast_1d(lw) |
| 666 | |
| 667 | # scale all of the dash patterns. |
| 668 | self._linewidths, self._linestyles = self._bcast_lwls( |
| 669 | self._us_lw, self._us_linestyles) |
| 670 | self.stale = True |
| 671 | |
| 672 | def set_linestyle(self, ls): |
| 673 | """ |
no test coverage detected