azcam_ds9/ds9display.py
def _set_crosshair(self, clear_rois=0):
        """
        Set the ds9 pointer to a crosshair.

        :param bool clear_rois: True to clean all ROIs
        :return None:
        """

        if clear_rois:
            self.delete_all_rois()

        # set crosschair
        try:
            cmd = "mode crosshair"
            self.xpaset(cmd)
        except Exception:
            return

        return

        Set the ds9 pointer to a crosshair.

        :param bool clear_rois: True to clean all ROIs
        :return None:
        
Set the ds9 pointer to a crosshair.
Set the ds9 pointer to a crosshair .
def _set_crosshair(self, clear_rois=0):
        if clear_rois:
            self.delete_all_rois()
        try:
            cmd = "mode crosshair"
            self.xpaset(cmd)
        except Exception:
            return
        return
def _set_crosshair ( self , clear_rois = 0 ) : if clear_rois : self . delete_all_rois ( ) try : cmd = "mode crosshair" self . xpaset ( cmd ) except Exception : return return
Set the ds9 pointer to a crosshair.
Set the ds9 pointer to a crosshair .
"""
        Set the ds9 pointer to a crosshair.

        :param bool clear_rois: True to clean all ROIs
        :return None:
        """ # set crosschair
None
None
self
clear_rois
True to clean all ROIs
True to clean all ROIs