flatspin.plotting#

flatspin.plotting.quadrilaterals(X)#
flatspin.plotting.format_label(label, format_spec='{:g}')#
flatspin.plotting.format_labels(labels, format_spec='{:g}')#
flatspin.plotting.heatmap2(X, Y, Z, xlabel='x', ylabel='y', zlabel='z', xlabels=None, ylabels=None, **kwargs)#
flatspin.plotting.heatmap(X, Y, Z, xlabel='x', ylabel='y', zlabel='z', xlim=None, ylim=None, zlim=None, nticks=10, xlabel_format='{:g}', ylabel_format='{:g}', ax=None, **kwargs)#
flatspin.plotting.vector_colors(U, V)#
flatspin.plotting.mask_zero_vectors(UV)#
flatspin.plotting.plot_vectors(XY, UV, C=None, arrows=True, mask_zero=True, replace=False, normalize=False, ax=None, **kwargs)#
flatspin.plotting.plot_vector_image(XY, UV, mask_zero=True, replace=False, cmap='flatspin', ax=None)#
flatspin.plotting.montage_fig(n_axes, title=False)#

Create a figure with n_axes subplots on a grid

flatspin.plotting.vector_montage(axes, positions, vectors, labels=None, arrows=False, **kwargs)#
flatspin.plotting.save_animation(ani, outfile, fps=30, dpi=100)#
flatspin.plotting.plot_h_ext(h_ext)#
flatspin.plotting.gridless_crop(x, crop_percent)#

Return the indices of x that are inside the crop

flatspin.plotting.rotate_points(x, y, theta)#
flatspin.plotting.plot_astroid(b=1, c=1, beta=3, gamma=3, hc=1, rotation=0, resolution=361, angle_range=(0, 6.283185307179586), ax=None, **kwargs)#