CrystalMapPlot#

class orix.plot.CrystalMapPlot(fig, *args, facecolor=None, frameon=True, sharex=None, sharey=None, label='', xscale=None, yscale=None, box_aspect=None, **kwargs)[source]#

Bases: Axes

Plotting of a CrystalMap.

Attributes

CrystalMapPlot.colorbar

CrystalMapPlot.name

CrystalMapPlot.scalebar

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.

CrystalMapPlot.remove_padding()

Remove all white padding outside of the figure.

CrystalMapPlot.set(*[, adjustable, ...])

Set multiple properties at once.

Examples using CrystalMapPlot#