code: def test_max_nuique_smaller_than_unique_cats(plot_type):
      profile = generate_report(dummy_cat_data)
      profile.config.plot.cat_freq.max_unique = (
          2  # smaller than the number of categories
      )
      profile.config.plot.cat_freq.type = plot_type
      html_report = profile.to_html()
      assert "Common Values (Plot)" not in html_report
  
file_path: ydata-profiling/tests/unit/test_report_options.py
imports: import pandas
  import pytest
  from ydata_profiling import ProfileReport
label_desc: Use image node_id 6 for calling a global function with example usage: test_max_nuique_smaller_than_unique_cats(plot_type) without return types