qiskit/visualization/text.py
def connect(self, wire_char, where, label=None):
        """
        Connects boxes and elements using wire_char and setting proper connectors.
        Args:
            wire_char (char): For example '║' or '│'.
            where (list["top", "bot"]): Where the connector should be set.
            label (string): Some connectors have a label (see cu1, for example).
        """

        if 'top' in where and self.top_connector:
            self.top_connect = self.top_connector[wire_char]

        if 'bot' in where and self.bot_connector:
            self.bot_connect = self.bot_connector[wire_char]

        if label:
            self.top_format = self.top_format[:-1] + (label if label else "")
def connect(self, wire_char, where, label=None):
        """
        Connects boxes and elements using wire_char and setting proper connectors.
        Args:
            wire_char (char): For example '║' or '│'.
            where (list["top", "bot"]): Where the connector should be set.
            label (string): Some connectors have a label (see cu1, for example).
        """

        if 'top' in where and self.top_connector:
            self.top_connect = self.top_connector[wire_char]

        if 'bot' in where and self.bot_connector:
            self.bot_connect = self.bot_connector[wire_char]

        if label:
            self.top_format = self.top_format[:-1] + (label if label else "")
def connect ( self , wire_char , where , label = None ) : if 'top' in where and self . top_connector : self . top_connect = self . top_connector [ wire_char ] if 'bot' in where and self . bot_connector : self . bot_connect = self . bot_connector [ wire_char ] if label : self . top_format = self . top_format [ : - 1 ] + ( label if label else "" )
Connects boxes and elements using wire_char and setting proper connectors.
        Args:
            wire_char (char): For example '║' or '│'.
            where (list["top", "bot"]): Where the connector should be set.
            label (string): Some connectors have a label (see cu1, for example).
Connects boxes and elements using wire_char and setting proper connectors . Args : wire_char ( char ) : For example ║ or │ . where ( list [ top bot ] ) : Where the connector should be set . label ( string ) : Some connectors have a label ( see cu1 for example ) .