class_docstr: Test ResidualPlot visualizer
class_docstr_tok: ["Test","ResidualPlot","visualizer"]
docstr: Image similarity test when hist=False
docstr_tok: ["Image","similarity","test","when","hist=False"]
code: def test_residuals_plot_no_histogram(self):
      """
      Image similarity test when hist=False
      """
      _, ax = plt.subplots()
  
      model = MLPRegressor(random_state=19)
      visualizer = ResidualsPlot(model, ax=ax, hist=False)
  
      visualizer.fit(self.data.X.train, self.data.y.train)
      visualizer.score(self.data.X.test, self.data.y.test)
      visualizer.finalize()
  
      self.assert_images_similar(visualizer, tol=1, remove_legend=True)
  
imports: import sys
  import pytest
  import matplotlib
  import matplotlib.pyplot
  from yellowbrick.datasets import load_energy
  from yellowbrick.exceptions import YellowbrickValueError
  from yellowbrick.regressor.residuals import ResidualsPlot, residuals_plot
  from unittest import mock
  from tests.fixtures import Dataset, Split
  from tests.base import IS_WINDOWS_OR_CONDA, VisualTestCase
  from sklearn.datasets import make_regression
  from sklearn.linear_model import Ridge, Lasso
  from sklearn.neural_network import MLPRegressor
  from sklearn.linear_model import LinearRegression
  from sklearn.model_selection import train_test_split
  from sklearn.pipeline import Pipeline
  from sklearn.preprocessing import MinMaxScaler
label_desc: Use image node_id 4 for calling the TestResidualsPlot obj's underlying member method code with example usage: obj.test_residuals_plot_no_histogram() without return types