Returns ------- dict Mapping of spine names to `.Line2D` or `.Patch` instances that are used to draw Axes spines. In the standard Axes, spines are single line segments, but in other projections they may not be. Notes
(self, locations=None, offset=0.0, units='inches')
| 1271 | return mpatches.Rectangle((0.0, 0.0), 1.0, 1.0) |
| 1272 | |
| 1273 | def _gen_axes_spines(self, locations=None, offset=0.0, units='inches'): |
| 1274 | """ |
| 1275 | Returns |
| 1276 | ------- |
| 1277 | dict |
| 1278 | Mapping of spine names to `.Line2D` or `.Patch` instances that are |
| 1279 | used to draw Axes spines. |
| 1280 | |
| 1281 | In the standard Axes, spines are single line segments, but in other |
| 1282 | projections they may not be. |
| 1283 | |
| 1284 | Notes |
| 1285 | ----- |
| 1286 | Intended to be overridden by new projection types. |
| 1287 | """ |
| 1288 | return {side: mspines.Spine.linear_spine(self, side) |
| 1289 | for side in ['left', 'right', 'bottom', 'top']} |
| 1290 | |
| 1291 | def sharex(self, other): |
| 1292 | """ |