code: def test_mixed_type_exception(self, plotter, xdata):
      ax = plt.figure().subplots()
      with pytest.raises(TypeError):
          plotter(ax, xdata, [1, 2])
  
imports: import warnings
  import pytest
  import numpy
  import matplotlib
  from matplotlib.axes import Axes
  import matplotlib.pyplot
  import matplotlib.category
  from matplotlib.testing.decorators import check_figures_equal
label_desc: Use image node_id 7 for calling the TestPlotTypes obj's underlying member method code with example usage: obj.test_mixed_type_exception(plotter, xdata) without return types