-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plots in the processing choppers notebook don't show all data #597
Labels
documentation
Improvements or additions to documentation
Comments
In that notebook, can't we use import plopp as pp
pp.plot({'a': a, 'b': b}) instead of going through MPL? |
Ot just use a DataGroup? def plot_plateaus(raw_data: sc.DataArray, plateaus: sc.DataArray) -> None:
to_plot = sc.DataGroup({'raw_data': raw_data})
for plateau in plateaus:
i = plateau.coords['plateau'].value
to_plot[str(i)] = sc.DataArray(
plateau.data.broadcast(dims=['time'], shape=[2]),
coords={'time': plateau.coords['time']},
name=f'Plateau {i}')
return to_plot.plot() |
We can. But that makes handling markers, colors, etc more awkward. |
We can either let |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The plateau plots in https://scipp.github.io/scippneutron/user-guide/chopper/processing-nexus-choppers.html don't show the data properly. This is because of scipp/plopp#407
The text was updated successfully, but these errors were encountered: