code: def test_binary_balance(target_analysis_binary):
      """
      Test binary classification in balance mode
      """
  
      _, _, y_train, y_test = target_analysis_binary
      plot.target_analysis(y_train)
  
file_path: sklearn-evaluation/tests/test_target_analysis.py
imports: import pytest
  import numpy
  import pandas
  from sklearn import datasets
  from matplotlib.testing.decorators import image_comparison
  from sklearn.model_selection import train_test_split
  from sklearn_evaluation import plot
label_desc: Use image node_id 3 for calling a global function with example usage: test_binary_balance(target_analysis_binary) without return types