class_docstr: Test ClassBalance visualizer
class_docstr_tok: ["Test","ClassBalance","visualizer"]
docstr: Test the quick method works with train and test splits
docstr_tok: ["Test","the","quick","method","works","with","train","and","test","splits"]
code: def test_quick_method_with_splits(self):
      """
      Test the quick method works with train and test splits
      """
      dataset = make_fixture(binary=False, split=True)
  
      viz = class_balance(dataset.y.train, dataset.y.test, show=False)
  
      assert isinstance(viz, ClassBalance)
      self.assert_images_similar(viz)
  
imports: import pytest
  from yellowbrick.target.class_balance import *
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.exceptions import YellowbrickValueError
  from tests.fixtures import Dataset, Split
  from tests.base import VisualTestCase
  from sklearn.datasets import make_classification
  from sklearn.model_selection import train_test_split
label_desc: Use image node_id 13 for calling the TestClassBalance obj's underlying member method code with example usage: obj.test_quick_method_with_splits() without return types