Skip to content

Commit

Permalink
adding missing returnfig arg
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rakowski committed Dec 11, 2023
1 parent b3e90e2 commit 31fb037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py4DSTEM/braggvectors/braggvectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def plot(
from py4DSTEM.process.diffraction import plot_diffraction_pattern

if returnfig:
return plot_diffraction_pattern(self, **kwargs)
return plot_diffraction_pattern(self, returnfig=returnfig, **kwargs)
else:
plot_diffraction_pattern(self, **kwargs)

Expand Down

0 comments on commit 31fb037

Please sign in to comment.