Skip to content

Commit

Permalink
fix plot_dos()
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Dec 25, 2023
1 parent 8fc89a0 commit e8c16df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atomistics/workflows/phonons/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ def plot_band_structure(

def plot_dos(self, *args, axis=None, **kwargs):
return plot_dos(
dos_energies=self._phonopy_dict["dos_dict"]["frequency_points"],
dos_total=self._phonopy_dict["dos_dict"]["total_dos"],
dos_energies=self._phonopy_dict["total_dos_dict"]["frequency_points"],
dos_total=self._phonopy_dict["total_dos_dict"]["total_dos"],
*args,
axis=axis,
**kwargs,
Expand Down

0 comments on commit e8c16df

Please sign in to comment.