[yt-dev] Swapping out a data_source in a Plot Window

Matthew Turk matthewturk at gmail.com
Sat Oct 27 15:59:04 PDT 2012


Hi all (especially Nathan),

Looking over the Plot Window code, I think this is okay, but I wanted
to make sure that there wasn't something I was missing.  Is there any
reason I can't swap out a data_source in a plot window, invalidate the
data, and then save()?  Or will there be lingering hints of the old
data source, and the old parameter file?

The context for this is that I'm adding a TimeSeriesPlotWindow, and I
want to try to retain as much as I can as I switch between datasets.
Annotations, widht (in code units), limits, etc etc.

Thanks,

Matt



More information about the yt-dev mailing list