The first of the promised series of PR.. this one is an example of how I've been re-writing the plot objects. Once this one is merged, I can send PRs for the rest of the plots then start adding some new features to the UI (excite!).
I've mostly just broken up lots of the larger functions into smaller private methods. Note: JS has no true private methods, but it's convention to use the _ suffix for any method to be treated as private. (same as Python, right?)
The first of the promised series of PR.. this one is an example of how I've been re-writing the plot objects. Once this one is merged, I can send PRs for the rest of the plots then start adding some new features to the UI (excite!).
I've mostly just broken up lots of the larger functions into smaller private methods. Note: JS has no true private methods, but it's convention to use the
_
suffix for any method to be treated as private. (same as Python, right?)