old_contents: from galaxy import get, put, get_galaxy_connection, _get_history_id
  HISTORY_ID = _get_history_id()
  
new_contents: %matplotlib inline
  from galaxy import get, put, get_galaxy_connection, _get_history_id
  HISTORY_ID = _get_history_id()
  
subject: add %matplotlib inline to the profile