class_docstr: Test the JointPlot visualizer without histograms
class_docstr_tok: ["Test","the","JointPlot","visualizer","without","histograms"]
docstr: Assert invalid hist arguments raise exception
docstr_tok: ["Assert","invalid","hist","arguments","raise","exception"]
code: def test_invalid_hist_values(self):
      """
      Assert invalid hist arguments raise exception
      """
      for bad_hist in ("foo", 123):
          with pytest.raises(
              YellowbrickValueError, match="invalid argument for hist"
          ):
              JointPlot(hist=bad_hist)
  
imports: import sys
  import pytest
  import numpy
  from functools import partial
  from unittest.mock import patch, MagicMock
  from sklearn.datasets import make_classification, make_regression
  from tests.base import IS_WINDOWS_OR_CONDA, VisualTestCase
  from yellowbrick.exceptions import YellowbrickValueError
  from yellowbrick.features.jointplot import *
  from ..fixtures import Dataset
label_desc: Use image node_id 4 for calling the TestJointPlotNoHistogram obj's underlying member method code with example usage: obj.test_invalid_hist_values() without return types