logger.trace("Loading graph")
self.display_item = session
if self.trace_var is None:
self.trace_var = smooth_amount_var.trace("w", self.smooth_amount_callback)
else:
self.display_item = None
if self.trace_var is not None:
smooth_amount_var.trace_vdelete("w", self.trace_var)
After Change
self.set_info("Graph is disabled as "no-logs" has been selected")
self.display_item = None
self._clear_trace_variables()
elif Session.is_training and self.display_item is None:
logger.trace("Loading graph")
self.display_item = Session
self._add_trace_variables()