|
From: Jody K. <jk...@uv...> - 2013-09-24 16:19:34
|
On Sep 24, 2013, at 9:12 AM, Benjamin Root <ben...@ou...> wrote: > ne thing I try to do with my projects is to separate the graph production from the data processing. I would have the data processing save the relevant data, and then have separate scripts that would generate graphs from that data. Second this - if it takes longer than 30s to run the processing, then I save the output and reload it to do the plotting. If you want the processing and plotting in the same file (or ipython Notebook, like I do) then consider putting an "if 0:" statement in front of the processing. If you want to run it again later, you just change to an "if 1:". This approach lets you play with plots w/o reprocessing all the time. Cheers, Jody -- Jody Klymak http://web.uvic.ca/~jklymak/ |