code: def test_plot_residuals_vs_feature(
      precalculated_rf_regression_explainer,
  ):
      fig = precalculated_rf_regression_explainer.plot_residuals_vs_feature(
          "Age"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_regression_explainer.plot_residuals_vs_feature(
          "Age", residuals="log-ratio"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_regression_explainer.plot_residuals_vs_feature(
          "Age", dropna=True
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_regression_explainer.plot_residuals_vs_feature(
          "Gender", points=False
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_regression_explainer.plot_residuals_vs_feature(
          "Gender", winsor=10
      )
      assert isinstance(fig, go.Figure)
  
file_path: explainerdashboard/tests/test_regression_explainer.py
imports: import pandas
  import plotly.graph_objects
label_desc: Use image node_id 5 for calling a global function with example usage: test_plot_residuals_vs_feature(precalculated_rf_regression_explainer) without return types