(self)
| 146 | property(lambda self: self.axis_name)) |
| 147 | |
| 148 | def _init3d(self): |
| 149 | self.line = mlines.Line2D( |
| 150 | xdata=(0, 0), ydata=(0, 0), |
| 151 | linewidth=self._axinfo['axisline']['linewidth'], |
| 152 | color=self._axinfo['axisline']['color'], |
| 153 | antialiased=True) |
| 154 | |
| 155 | # Store dummy data in Polygon object |
| 156 | self.pane = mpatches.Polygon([[0, 0], [0, 1]], closed=False) |
| 157 | self.set_pane_color(self._axinfo['color']) |
| 158 | |
| 159 | self.axes._set_artist_props(self.line) |
| 160 | self.axes._set_artist_props(self.pane) |
| 161 | self.gridlines = art3d.Line3DCollection([]) |
| 162 | self.axes._set_artist_props(self.gridlines) |
| 163 | self.axes._set_artist_props(self.label) |
| 164 | self.axes._set_artist_props(self.offsetText) |
| 165 | # Need to be able to place the label at the correct location |
| 166 | self.label._transform = self.axes.transData |
| 167 | self.offsetText._transform = self.axes.transData |
| 168 | |
| 169 | @_api.deprecated("3.6", pending=True) |
| 170 | def init3d(self): # After deprecation elapses, inline _init3d to __init__. |
no test coverage detected