Initialize the *line* artist that is responsible to draw the axis line.
(self)
| 859 | return self._axisline_style |
| 860 | |
| 861 | def _init_line(self): |
| 862 | """ |
| 863 | Initialize the *line* artist that is responsible to draw the axis line. |
| 864 | """ |
| 865 | tran = (self._axis_artist_helper.get_line_transform(self.axes) |
| 866 | + self.offset_transform) |
| 867 | |
| 868 | axisline_style = self.get_axisline_style() |
| 869 | if axisline_style is None: |
| 870 | self.line = PathPatch( |
| 871 | self._axis_artist_helper.get_line(self.axes), |
| 872 | color=mpl.rcParams['axes.edgecolor'], |
| 873 | fill=False, |
| 874 | linewidth=mpl.rcParams['axes.linewidth'], |
| 875 | capstyle=mpl.rcParams['lines.solid_capstyle'], |
| 876 | joinstyle=mpl.rcParams['lines.solid_joinstyle'], |
| 877 | transform=tran) |
| 878 | else: |
| 879 | self.line = axisline_style(self, transform=tran) |
| 880 | |
| 881 | def _draw_line(self, renderer): |
| 882 | self.line.set_path(self._axis_artist_helper.get_line(self.axes)) |
no test coverage detected