Ticket #8236 (assigned)
[Indirect] Plotting in python scripts.
Reported by: | Samuel Jackson | Owned by: | Dan Nixon |
---|---|---|---|
Priority: | minor | Milestone: | Release 3.5 |
Component: | Indirect Inelastic | Keywords: | |
Cc: | Blocked By: | #8827, #10757 | |
Blocking: | Tester: |
Description (last modified by Samuel Jackson) (diff)
A lot python scripts in the Indirect section use mp.plotSpectrum to display plots when they've finished running. However, if a very large number of spectra are going to be displayed the user is asked to confirm their choice to plot them all. If they click cancel they'll get an error.
Similar to the bug fixed in ticket #8188 for Elwin, we can handle plotting using a try catch.
We're have a couple of more generic plotting functions in IndirectCommon. It would be good to swap the routines to use these where possible, or add new ones/modify the existing ones.
Change History
comment:1 Changed 7 years ago by Samuel Jackson
- Summary changed from [Indirect] Plotting python scripts. to [Indirect] Plotting in python scripts.
comment:3 Changed 7 years ago by Samuel Jackson
- Blocked By 8827 added
I added some useful functions into IndirectCommon in ticket #8827 that should make this ticket easier.
comment:4 Changed 7 years ago by Nick Draper
- Status changed from new to assigned
Bulk move of tickets out of triage (new) to assigned at the introduction of the triage state
comment:5 Changed 6 years ago by Samuel Jackson
- Milestone changed from Release 3.2 to Release 3.3
Will not have time for this release. Good candidate for a maintenance ticket.
comment:8 Changed 6 years ago by Dan Nixon
I think that if #10257 is fixed this ticket will likely become invalid, as even if the processing is still done in Python (as in IDA and Bayes) plotting could easily be moved to the UI code.
comment:9 Changed 6 years ago by Dan Nixon
- Milestone changed from Release 3.3 to Backlog
Likely not going to get round to this in this release.
comment:11 Changed 6 years ago by Dan Nixon
- Blocked By 10757 added
comment:14 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 9081