(coord, axis)
| 139 | symlog, etc.) for 3D projection. Preserves masked arrays. |
| 140 | """ |
| 141 | def transform_coord(coord, axis): |
| 142 | coord = np.asanyarray(coord) |
| 143 | data = np.ma.getdata(coord).ravel() |
| 144 | return axis.get_transform().transform(data).reshape(coord.shape) |
| 145 | |
| 146 | xs_scaled = transform_coord(xs, axes.xaxis) |
| 147 | ys_scaled = transform_coord(ys, axes.yaxis) |
no test coverage detected
searching dependent graphs…