code: def test_plot_raw_filtered(filtorder, raw, browser_backend):
      """Test filtering of raw plots."""
      # Opening that many plots can cause a Segmentation fault
      # if multithreading is activated in Qt-backend
      pg_kwargs = {"precompute": False}
      with pytest.raises(ValueError, match="lowpass.*Nyquist"):
          raw.plot(
              lowpass=raw.info["sfreq"] / 2.0,
              filtorder=filtorder,
              **pg_kwargs,
          )
      with pytest.raises(ValueError, match="highpass must be > 0"):
          raw.plot(highpass=0, filtorder=filtorder, **pg_kwargs)
      with pytest.raises(ValueError, match="Filter order must be"):
          raw.plot(lowpass=1, filtorder=-1, **pg_kwargs)
      with pytest.raises(
          ValueError, match="Invalid value for the 'clipping'"
      ):
          raw.plot(clipping="foo", **pg_kwargs)
      raw.plot(
          lowpass=40,
          clipping="transparent",
          filtorder=filtorder,
          **pg_kwargs,
      )
      raw.plot(
          highpass=1, clipping="clamp", filtorder=filtorder, **pg_kwargs
      )
      raw.plot(
          lowpass=40, butterfly=True, filtorder=filtorder, **pg_kwargs
      )
      # shouldn't break if all shown are non-data
      RawArray(np.zeros((1, 100)), create_info(1, 20.0, "stim")).plot(
          lowpass=5
      )
  
imports: import itertools
  import os
  from copy import deepcopy
  import matplotlib.pyplot
  import numpy
  import pytest
  from matplotlib import backend_bases
  from numpy.testing import assert_allclose
  from mne import Annotations, create_info, pick_types
  from mne._fiff.pick import _DATA_CH_TYPES_ORDER_DEFAULT, _PICK_TYPES_DATA_DICT
  from mne.annotations import _sync_onset
  from mne.datasets import testing
  from mne.io import RawArray
  from mne.utils import _assert_no_instances, _dt_to_stamp, _record_warnings, check_version, get_config, set_config
  from mne.viz import plot_raw, plot_sensors
  from mne.viz.utils import _fake_click, _fake_keypress
label_desc: Use image node_id 28 for calling a global function with example usage: test_plot_raw_filtered(filtorder, raw, browser_backend) without return types