Are these field lines closed loops or open loops?

The field lines appear to be closed loops. But we can’t conclude that lines are
closed or open loops by looking at the figure of field lines because we do not know about alignment of lines that are passing through the bar magnet.