code: def generate_altair_chart():
      source = data.cars()
  
      brush = alt.selection(type="interval")
  
      points = (
          alt.Chart(source)
          .mark_point()
          .encode(
              x="Horsepower:Q",
              y="Miles_per_Gallon:Q",
              color=alt.condition(
                  brush, "Origin:N", alt.value("lightgray")
              ),
          )
          .add_selection(brush)
      )
  
      # TODO: return chart once problem with altair and JSONSchema is solved
      # https://github.com/altair-viz/altair/issues/2705
      # bars = (
      #   alt.Chart(source).mark_bar().encode(y="Origin:N", color="Origin:N", x="count(Origin):Q").transform_filter(brush)
      # )
      # chart = points & bars
      # return chart
      return points
  
file_path: neptune-client/tests/e2e/plot_utils.py
imports: import altair
  import matplotlib.pyplot
  import numpy
  import plotly.express
  import seaborn
  from bokeh import models, palettes, plotting, sampledata
  from PIL import Image
  from vega_datasets import data
label_desc: Use image node_id 3 for calling a global function with example usage: generate_altair_chart() and returns: points