code: def test_no_added_with_scalar_bar(sphere):
      point_data_name = "data"
      sphere[point_data_name] = np.random.default_rng().random(
          sphere.n_points
      )
      pl = pv.Plotter()
      pl.add_mesh(sphere, scalar_bar_args={"title": "some_title"})
      assert sphere.n_arrays == 1
  
imports: import os
  import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista.core.errors import MissingDataError, PyVistaDeprecationWarning
  from pyvista.plotting import _plotting
  from pyvista.plotting.errors import RenderWindowUnavailable
  from pyvista.plotting.utilities.gl_checks import uses_egl
label_desc: Use image node_id 16 for calling a global function with example usage: test_no_added_with_scalar_bar(sphere) without return types