x_range, y_range and z_range do not work generally for the representation of skewed grids in 3D.
If one of the lattice vectors of the cell is parallel to a cartesian axis, then for that particular axis it works. E.g.:
cell = [
[ 0, 2, 0]
[ 0.5, 0, 1]
[ 2, 0, -1]
]
Then y_range works because [0,2,0] is a lattice vector of the cell.
For now, the advise is to just adjust the axes ranges in the plot display (e.g. with plotly update_layout(yaxis_range=[0, 3]).
x_range,y_rangeandz_rangedo not work generally for the representation of skewed grids in 3D.If one of the lattice vectors of the cell is parallel to a cartesian axis, then for that particular axis it works. E.g.:
Then
y_rangeworks because[0,2,0]is a lattice vector of the cell.For now, the advise is to just adjust the axes ranges in the plot display (e.g. with plotly
update_layout(yaxis_range=[0, 3]).