qiskit/visualization/text.py
def label_for_box(instruction):
        """ Creates the label for a box."""
        label = instruction.name.capitalize()
        params = TextDrawing.params_for_label(instruction)
        if params:
            label += "(%s)" % ','.join(params)
        return label
def label_for_box(instruction):
        label = instruction.name.capitalize()
        params = TextDrawing.params_for_label(instruction)
        if params:
            label += "(%s)" % ','.join(params)
        return label
def label_for_box ( instruction ) : label = instruction . name . capitalize ( ) params = TextDrawing . params_for_label ( instruction ) if params : label += "(%s)" % ',' . join ( params ) return label
Creates the label for a box.
Creates the label for a box .