class_docstr: PosTag (Part of Speech Tagging Visualizer) Tests
docstr: Assert no errors occur when using the quick method
docstr_tok: ["Assert","no","errors","occur","when","using","the","quick","method"]
code: def test_quick_method(self):
      """
      Assert no errors occur when using the quick method
      """
      # Fail if data hasn't been downloaded
      check_nltk_data()
  
      _, ax = plt.subplots()
      tagged_docs = list(get_tagged_docs(sonnets))
  
      viz = postag(tagged_docs, ax=ax, show=False)
      viz.ax.grid(False)
  
      # Fails on Miniconda/Appveyor with images not close (RMS 5.157)
      tol = 5.5 if IS_WINDOWS_OR_CONDA else 0.25
      self.assert_images_similar(viz, tol=tol)
  
imports: import pytest
  import matplotlib.pyplot
  from tests.base import VisualTestCase
  from tests.base import IS_WINDOWS_OR_CONDA
  from yellowbrick.text.postag import *
  from yellowbrick.exceptions import YellowbrickValueError
label_desc: Use image node_id 1 for calling the TestPosTag obj's underlying member method code with example usage: obj.test_quick_method() without return types