You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example uses the following:
fermiHandler.plot_fermi_cross_section(
slice_normal=slice_normal,
slice_origin=slice_origin,
cross_section_slice_linewidth=line_width,
mode="spin_texture",
spin_texture=True,
arrow_size=0.5,
save_2d_slice=save_2d_slice,
show=True,)
But if I change mode to plain, and delete the spin_texture and arrow_size, or other arguments, an error always shows up: AttributeError: 'NoneType' object has no attribute 'ndim'
So I can't plot fermi surface cross section without spin texture?
The text was updated successfully, but these errors were encountered:
I've managed to replicate the error you're encountering. It originates from the custom slicer I developed using pyvista, which was specifically tailored to support spin textures and parametric modes. I've verified that these modes are functioning correctly.
Unfortunately, I won't be able to address this issue tonight, but I will look into it either tomorrow afternoon or on Thursday. I'll keep you updated!
Here's the relevant code snippet for your reference.
The example uses the following:
fermiHandler.plot_fermi_cross_section(
slice_normal=slice_normal,
slice_origin=slice_origin,
cross_section_slice_linewidth=line_width,
mode="spin_texture",
spin_texture=True,
arrow_size=0.5,
save_2d_slice=save_2d_slice,
show=True,)
But if I change mode to plain, and delete the spin_texture and arrow_size, or other arguments, an error always shows up: AttributeError: 'NoneType' object has no attribute 'ndim'
So I can't plot fermi surface cross section without spin texture?
The text was updated successfully, but these errors were encountered: