mymesh.mesh.mesh.plot#
- mesh.plot(show=True, return_fig=False, clim=None, **kwargs)[source]#
Generate a static plot of the mesh. See
mymesh.visualize.view()
for a full list of optional arguments.- Parameters:
show (bool, optional) – Display the plotted mesh, by default True. If False, the plot will be generated and can be returned, but won’t be displayed.
return_fig (bool, optional) – If True, a matplotlib figure and axis holding the plotted mesh will be returned, by default False
clim (array_like, optional) – Two-element tuple, list, or array containing the lower and upper bound for the colorscale if a scalar is displayed, by default None. If None, the minimum and maximum values will be used.
- Returns:
fig (matplotlib.figure.Figure) – matplotlib figure of the plotted mesh
ax (matplotlib.axes._axes.Axes) – matplotlib axes of the plotted mesh