Commit 65412973 authored by Valentin Valls's avatar Valentin Valls
Browse files

edit_roi_counters now set the focus on the plot

parent 2eef4d33
......@@ -910,6 +910,7 @@ def edit_roi_counters(detector: Lima, acq_time: Optional[float] = None):
raise RuntimeError(
"Internal error. A plot from this detector was expected but it is not available. Or Flint was closed in between."
roi_counters = detector.roi_counters
roi_profiles = detector.roi_profiles
......@@ -341,3 +341,4 @@ def test_edit_roi_counters(
assert "roi1" in cam.roi_counters
assert "roi2" in cam.roi_profiles
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment