|
========================= Plot Options ==========================
1. PBAND Only
2. PBAND + PDOS
------------>>
1
Traceback (most recent call last):
File "/public/home/wangdg/.whomhsepws", line 116, in <module>
colorline_plot_binary(ax,kpt,eng,data[:,2],data[:,3],linewidth=lw,alpha=1.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/public/home/wangdg/.whomhsepws", line 95, in colorline_plot_binary
a = np.ones(nseg, np.float) * alpha
^^^^^^^^
File "/public/home/wangdg/anaconda/ENTER/lib/python3.11/site-packages/numpy/__init__.py", line 324, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
-->> (09) Written PBAND_ELEMENTS_UP.jpg File!
Traceback (most recent call last):
File "/public/home/wangdg/.whomhsepws", line 116, in <module>
colorline_plot_binary(ax,kpt,eng,data[:,2],data[:,3],linewidth=lw,alpha=1.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/public/home/wangdg/.whomhsepws", line 95, in colorline_plot_binary
a = np.ones(nseg, np.float) * alpha
^^^^^^^^
File "/public/home/wangdg/anaconda/ENTER/lib/python3.11/site-packages/numpy/__init__.py", line 324, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
-->> (10) Written PBAND_ELEMENTS_DW.jpg File!
|
|