code: def all_combinations(lst):
      return itertools.chain.from_iterable(
          itertools.combinations(lst, i + 1) for i in range(2, len(lst))
      )
  
imports: from __future__ import annotations
  import pytest
  import itertools
  from bokeh.core.properties import field, value
  from bokeh.models import ColumnDataSource, GlyphRenderer, Legend, LegendItem
  from bokeh.plotting import figure
  import bokeh.plotting._legends
label_desc: Use image node_id 1 for calling a global function with example usage: all_combinations(lst) and returns: itertools