Skip to content

Commit

Permalink
pass kwd arguments to convert_image in the crop tool
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Apr 18, 2024
1 parent 88c8891 commit 7577346
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions specsanalyzer/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ def crop_tool(
- ek_range_max
- ang_range_min
- ang_range_max
Other parameters are passed to ``convert_image()``.
"""
data_array = self.convert_image(
raw_img=raw_img,
Expand All @@ -390,6 +392,7 @@ def crop_tool(
pass_energy=pass_energy,
work_function=work_function,
crop=False,
**kwds,
)

matplotlib.use("module://ipympl.backend_nbagg")
Expand Down

0 comments on commit 7577346

Please sign in to comment.