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()
../../_images/orix-plot-CrystalMapPlot-remove_padding-1.png

Examples using CrystalMapPlot.remove_padding#

Subplots

Subplots