pyvista_wasm.examples.download_masonry_texture#
- pyvista_wasm.examples.download_masonry_texture() Texture#
Download the masonry texture dataset.
Downloads a brick masonry image from the PyVista data repository and returns it as a
Textureobject.- Returns:
Texture wrapping the masonry image URL.
- Return type:
Examples
>>> import pyvista_wasm as pv >>> from pyvista_wasm import examples >>> texture = examples.download_masonry_texture() >>> surf = pv.Cylinder() >>> plotter = pv.Plotter() >>> _ = plotter.add_mesh(surf, texture=texture) >>> plotter.show()