-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't plot in plain mode of plot_fermi_cross_section #150
Comments
Hey good-mood-everyday! 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. fermiHandler.plot_fermi_cross_section(
slice_normal=slice_normal,
slice_origin=slice_origin,
cross_section_slice_linewidth=line_width,
mode="plain",
spin_texture=False,
arrow_size=0.5,
show=True,) AttributeError: 'NoneType' object has no attribute 'ndim' Best Regards, Logan Lang |
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: