Floating figure should be referenced somewhere in the text. A figure environment is a floating environment. The figure is placed somewhere in the document, apart from the main text flow. Reference the figure to make it part of the main text. This ensures the figure is noticed by readers.