code: def test_random_force_plot_negative_sign():
      np.random.seed(0)
      base = 100
      contribution = np.r_[-np.random.rand(5)]
      names = [f"minus_{i}" for i in range(5)]
  
      shap.force_plot(
          base,
          contribution,
          names,
          matplotlib=True,
          show=False,
      )
      return plt.gcf()
  
file_path: shap/tests/plots/test_force.py
imports: from contextlib import nullcontext
  import matplotlib
  import matplotlib.pyplot
  import numpy
  import pytest
  from pytest import param
  import shap
label_desc: Use image node_id 4 for calling a global function with example usage: test_random_force_plot_negative_sign() and returns: plt