code: def test_legend_transparency():
      n = 5
  
      data = pd.DataFrame(
          {
              "x": list(range(n)) * 3,
              "y": [1] * n + [2] * n + [3] * n,
              "color": ["orange"] * n + ["red"] * n + ["#0000FF44"] * n,
          }
      )
  
      p = (
          ggplot(data, aes("x", "y", color="color"))
          + geom_point(size=25, stroke=3)
          + lims(x=(-2.5, 6.5), y=(-1.5, 5.5))
          + scale_color_identity(guide="legend")
      )
      assert p == "legend_transparency"
  
file_path: plotnine/tests/test_geom_point.py
imports: import string
  import numpy
  import pandas
  from plotnine import aes, coord_equal, geom_point, ggplot, guides, lims, scale_color_identity, scale_shape_manual
label_desc: Use image node_id 3 for calling a global function with example usage: test_legend_transparency() without return types