ENH: Implemented display visibility for ruler