class_docstr: Test various keywords arguments that can be passed to modify graphic.
class_docstr_tok: ["Test","various","keywords","arguments","that","can","be","passed","to","modify","graphic","."]
docstr: Test fontsize set by keyword argument.
docstr_tok: ["Test","fontsize","set","by","keyword","argument","."]
code: def test_fontsize(self):
      """Test fontsize set by keyword argument."""
  
      _, ax = qml.draw_mpl(circuit1, fontsize=20)(1.234, 1.234)
      for t in ax.texts:
          assert t.get_fontsize() == 20
      plt.close()
  
imports: import pytest
  import pennylane
label_desc: Use image node_id 1 for calling the TestKwargs obj's underlying member method code with example usage: obj.test_fontsize() without return types