This PR provides a number of improvements, primarily for producing plots.
Changes not related to plots:
_ArrayHolder now has magic methods to handle addition, subtraction, etc. Thus, it is easier to index data from an ExperimentArray and then modify those data in some way for all keys. List comprehensions no longer required.
Function added to Process for cropping stacks down to an arbitrary area.
PeakHelper can now do a basic peak width calculation. Returns nan if the trace does not pass the desired target height. No estimation included.
Plotting changes:
Subplots are now supported. The figure with subplots must be made first (i.e. go.Figure().set_subplots) and passed to the plotting function.
bootstrap_estimator can now use an arbitrary function.
Heatmap plots can be sorted on an arbitrary distance metric (e.g. euclidean, cosine, etc.)
Fixed a bug where certain colors weren't rendering properly.
Option to set axis label and tick label size directly in the plotting function.
Margins are handled directly in the plotting function. Makes it easier to consistently set the size of the plotting area.
This PR provides a number of improvements, primarily for producing plots. Changes not related to plots:
_ArrayHolder
now has magic methods to handle addition, subtraction, etc. Thus, it is easier to index data from anExperimentArray
and then modify those data in some way for all keys. List comprehensions no longer required.Process
for cropping stacks down to an arbitrary area.PeakHelper
can now do a basic peak width calculation. Returnsnan
if the trace does not pass the desired target height. No estimation included.Plotting changes:
go.Figure().set_subplots
) and passed to the plotting function.bootstrap_estimator
can now use an arbitrary function.