If you delete the graph from the Sleep app and it comes back later, check if the graph has icon. Those graphs are synced from external service - either Samsung Health of Google Fit.
This is a companion discussion topic for the original entry at https://docs.sleep.urbandroid.org//faqs/deleted_files_appear.html