remove_padding#
- CrystalMapPlot.remove_padding()[source]#
Remove all white padding outside of the figure.
Examples
>>> from orix import data, plot >>> xmap = data.sdss_ferrite_austenite()
Remove all figure and axes padding of a phase map
>>> fig = plt.figure() >>> ax = fig.add_subplot(projection="plot_map") >>> _ = ax.plot_map(xmap) >>> ax.remove_padding()