(data: Field, color, alpha: float)
| 696 | alpha: Tensor, |
| 697 | err: Tensor): |
| 698 | def plot_single_material(data: Field, color, alpha: float): |
| 699 | with math.NUMPY: |
| 700 | surf_mesh = geom.surface_mesh(data.geometry) |
| 701 | mesh_data = Field(surf_mesh, math.NAN, 0) |
| 702 | SurfaceMesh3D().plot(mesh_data, figure, subplot, space, min_val, max_val, show_color_bar, color, alpha, err) |
| 703 | math.map(plot_single_material, data, color, alpha, dims=channel(data.geometry) - 'vector', unwrap_scalars=False) |
| 704 | |
| 705 |
nothing calls this directly
no test coverage detected