CrystalMapPlot#
- class orix.plot.CrystalMapPlot(fig, *args, facecolor=None, frameon=True, sharex=None, sharey=None, label='', xscale=None, yscale=None, box_aspect=None, forward_navigation_events='auto', **kwargs)[source]#
Bases:
Axes
Plotting of a
CrystalMap
.Methods
CrystalMapPlot.add_colorbar
([label])Add an opinionated colorbar to the figure and return it.
CrystalMapPlot.add_overlay
(crystal_map, item)Use a crystal map property as gray scale values of a phase map.
CrystalMapPlot.add_scalebar
(crystal_map, ...)Add a scalebar to the axes instance and return it.
CrystalMapPlot.plot_map
(crystal_map[, ...])Plot a 2D map with any CrystalMap attribute as map values.
Remove all white padding outside of the figure.