Closed pshriwise closed 1 year ago
btw this is a fantastic addition and will be very useful!
If I understand this correctly, the plot view files have to be generated from the GUI (ie saved?) and then they can be used when reopening? They can't be manually made and then passed in right? Maybe add some info to the README about how these files are created as well. Right now it just has info on how to use them assuming they exist.
That's correct, yep. I'll add a link in the README in the new section on batch mode to the section on saving and exporting.
Just wanted to let you know I did not forget about this PR. I just want to test it locally before approving/merging, but my conda/python environments are not happy at the moment. Sorry for the delay!
Is this one ready to merge
Is this one ready to merge
Oops despite my last comment I did forget about this [face palm] - I will review today!
I tested it out and it indeed does work. Very cool! Merging, thanks @pshriwise!
These changes allow the plotter to be used in a batch mode where plot view files (
.pltvw
) files can be passed to the plotter in the command line to generate images without opening a GUI. This can be handy for figure regeneration of pre-determined model views when the model is still being iterated upon.I've added a couple of tests to make sure this feature works as expected and did a little housekeeping there otherwise as well.