old_contents: from .profile import Profiler, ResourceProfiler
  from .progress import ProgressBar
  
new_contents: from .profile import Profiler, ResourceProfiler
  from .progress import ProgressBar
  try:
      from .profile_visualize import visualize
  except ImportError:
      pass
  
subject: Add visualize to diagnostics import