code: def test_legend_at_bottom(Chart):
      """Test legend at bottom option"""
      chart = Chart(legend_at_bottom=True)
      chart.add("1", [4, -5, 123, 59, 38])
      chart.add("2", [89, 0, 8, 0.12, 8])
      lab = chart.render()
      chart.legend_at_bottom = False
      assert lab != chart.render()
  
imports: from tempfile import NamedTemporaryFile
  from pygal import XY, Bar, Box, Config, DateLine, DateTimeLine, Dot, Funnel, Gauge, Histogram, HorizontalBar, HorizontalLine, HorizontalStackedBar, HorizontalStackedLine, Line, Pie, Pyramid, Radar, SolidGauge, TimeDeltaLine, TimeLine, Treemap, formatters
  from pygal.graph.dual import Dual
  from pygal.graph.horizontal import HorizontalGraph
  from pygal.graph.map import BaseMap
  from pygal.test.utils import texts
label_desc: Use image node_id 22 for calling a global function with example usage: test_legend_at_bottom(Chart) without return types