aerosandbox.visualization.plotly#

Module Contents#

Functions#

spy(matrix[, show])

Plots the sparsity pattern of a matrix.

plot_point_cloud(p)

Plots an Nx3 point cloud with Plotly

aerosandbox.visualization.plotly.spy(matrix, show=True)[source]#

Plots the sparsity pattern of a matrix. :param matrix: The matrix to plot the sparsity pattern of. [2D ndarray or CasADi array] :param show: Whether or not to show the sparsity plot. [boolean] :return: The figure to be plotted [go.Figure]

aerosandbox.visualization.plotly.plot_point_cloud(p)[source]#

Plots an Nx3 point cloud with Plotly :param p: An Nx3 array of points to be plotted. :return: None

Parameters:

p (aerosandbox.numpy.ndarray) –