orix 0.10.1
orix 0.10.1 is a patch release of orix, an open-source Python library for handling orientations, rotations and crystal symmetry.
This release includes some deprecations, but most importantly it fixes a bug when indexing or slicing into an already indexed/sliced CrystalMap
.
See below, the changelog or the GitHub changelog for all updates from the previous release.
Deprecated
- Parameter
z
when creating aCrystalMap
and thez
anddz
attributes of the class are deprecated and will be removed in 0.11.0. Support for 3D crystal maps is minimal and brittle, and it was therefore decided to remove it altogether. - Passing
shape
orstep_sizes
with three values tocreate_coordinate_arrays()
is depreacted and will raise an error in 0.11.0. See the previous point for the reason. - Parameter
depth
inCrystalMapPlot.plot_map()
is depreacted and will be removed in 0.11.0. See the top point for the reason.
Fixed
StereographicPlot.scatter()
now accepts bothc
/color
ands
/sizes
to set the color and sizes of scatter points, in line withmatplotlib.axes.Axes.scatter()
.- Indexing/slicing into an already indexed/sliced
CrystalMap
now correctly returns the index/slice according toCrystalMap.shape
and not the original shape of the un-sliced map.