uvisbox.Modules.SquidGlyphs.squid_glyphs_vis ============================================ .. py:module:: uvisbox.Modules.SquidGlyphs.squid_glyphs_vis Module Contents --------------- .. py:function:: visualize_squid_glyphs_2d(mesh_2d, ax=None) Render 2D squid glyph mesh with matplotlib. :param mesh_2d: From squid_glyphs_2d_mesh() :type mesh_2d: dict :param ax: Existing axis to draw on :type ax: matplotlib.Axes, optional :returns: **ax** -- The axis with drawn glyphs :rtype: matplotlib.Axes .. py:function:: visualize_squid_glyphs_3d(mesh_3d, point_values=None, show_edges=True, glyph_color='lightblue', cmap='RdBu_r', ax=None) Render 3D squid glyph mesh with pyvista. :param mesh_3d: From squid_glyphs_3d_mesh() :type mesh_3d: dict :param point_values: Override mesh point_values for coloring :type point_values: numpy.ndarray, optional :param show_edges: Show glyph edges (default: True) :type show_edges: bool :param glyph_color: Solid color when no point_values (default: 'lightblue') :type glyph_color: str :param cmap: Colormap for scalar coloring (default: 'RdBu_r') :type cmap: str :param ax: Existing plotter to use :type ax: pyvista.Plotter, optional :returns: **plotter** -- The plotter with drawn glyphs :rtype: pyvista.Plotter