class_docstr: Tests general operations.
class_docstr_tok: ["Tests","general","operations","."]
docstr: Test notches are included when non-active wires exist.
code: def test_notches(self, wires, n):
      """Test notches are included when non-active wires exist."""
  
      with qml.queuing.AnnotatedQueue() as q_tape:
          qml.QFT(wires=wires)
  
      tape = QuantumScript.from_queue(q_tape)
      _, ax = tape_mpl(tape, show_all_wires=True, wire_order=[0, 1, 2])
      assert len(ax.patches) == (n + 1)
      plt.close()
  
imports: import pytest
  import pennylane
  from pennylane.drawer import tape_mpl
  from pennylane.tape import QuantumScript
label_desc: Use image node_id 4 for calling the TestGeneralOperations obj's underlying member method code with example usage: obj.test_notches(wires, n) without return types