Skip to content

Commit

Permalink
Merge pull request #974 from mantidproject/release-next
Browse files Browse the repository at this point in the history
Merge release-next into main
  • Loading branch information
SilkeSchomann committed Feb 19, 2024
2 parents bb0de1f + be452d0 commit 7017434
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/mslice/models/intensity_correction_algs.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,11 @@ def _reduce_bins_along_int_axis(slice_gdos, algorithm, cut_axis, int_axis, cut_a
units = f"{x_dim.getUnits()},{y_dim.getUnits()}"

new_ws = CreateMDHistoWorkspace(Dimensionality=2, Extents=extents, SignalInput=signal, ErrorInput=error, NumberOfBins=no_of_bins,
Names=names, Units=units, StoreInADS=False, OutputWorkspace=output_name)
Names=names, Units=units)

int_axis.step = 0
new_ws.axes = (cut_axis, int_axis)
new_ws.name = output_name
return new_ws


Expand Down
2 changes: 1 addition & 1 deletion src/mslice/plotting/plot_window/overplot_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def cif_file_powder_line(plot_handler, plotter_presenter, checked):


def remove_line(line):
plt.gca().lines.remove(line)
line.remove()


def plot_overplot_line(x, y, key, recoil, cache, **kwargs):
Expand Down

0 comments on commit 7017434

Please sign in to comment.