code: def test_fontsize():
      """Test default fontsize set with keyword argument."""
  
      _, ax = tape_mpl(tape1, fontsize=20)
      for t in ax.texts:
          assert t.get_fontsize() == 20
      plt.close()
  
imports: import pytest
  import pennylane
  from pennylane.drawer import tape_mpl
  from pennylane.tape import QuantumScript
label_desc: Use image node_id 2 for calling a global function with example usage: test_fontsize() without return types