add parastell tool, overhaul text wrapping, allow more generalized text in plot #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
plot_parastell_build.py
plot_parastell_build takes a parastell build dict, and phi and theta value, along with the usual plot_radial_build inputs and extracts/formats the data how plot_radial_build likes it, then calls plot_radial_build to make the image and yml file.
plot_radial_build.py
Speaking of, plot_radial_build can now write the yml representation of the plot, and does so by default, along with the usual png.
Additionally, I overhauled how text gets formatted and put into the rectangles, to allow for more flexibility and introduced a 'description' element to the layer dict that allows arbitrary text to be added to each rectangle.
Each layer in the plot_radial_build dict can now have any combination of the three keys, and can also be empty.
General Updates
I added a couple examples as well and updated the readme to indicate they exist, and describe calling plot_radial_build from the command line
Demonstration
Here is the plot generated by the example
And here is the plot generated by the parastell tool example
closes #10
closes #8 (not notebooks, but I can change that if desired)