Closed Gabriel-p closed 1 year ago
I'm not totally clear what you mean by 'session parameters' here. Do you mean specific plot types of specific configurations of those plots (or both)? Or subset definitions?
The .glu session file is human-readable. If you data sets are really almost-exactly the same you could try saving a session file and then editing it to use a different data file path (I recommend saving the session file with the "relative paths" option).
Otherwise, I think your best approach is probably to write a script that sets up the plots the way you need them and then run the script for each dataset. See the documentation here for help on starting glue with a Python script. Again, you can get the value of parameters from a save session file. Then you might just need to figure out the API for how to define plots and subsets from a script.
Thank you @jfoster17 , I'll try your suggestions
Is your feature request related to a problem? Please describe it: I have a repetitive check that I need to perform on lots of different datasets which means I'm always repeating tasks to produce the same plots. The datasets have the same columns but obviously different data.
Describe the solution you'd like: I'd like to be able to store the session parameters used to generate these plots so that I can apply them to a new dataset.
Describe alternatives you've considered: The only alternative so far is re-doing all the plots for each new imported dataset.
If it is not related to a problem--please describe the feature: Time saving
Additional context: Add any other context or screenshots about the feature request here.