9-Pygal-1

Sat 17 May 2025
import pyutil as pyu
pyu.get_local_pyinfo()
'conda env: ml312-2024; pyv: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct  4 2024, 13:27:36) [GCC 11.2.0]'

#!pip install pygal
!pip show pygal | grep "Version:"
Version: 3.0.5
import pygal

line_chart = pygal.Line()
line_chart.title = "Simple Line Chart"
line_chart.add("Line 1", [1, 3, 5])
line_chart.render_in_browser()
file:///tmp/tmpvx58mc0i.html


Score: 5

Category: plot-compare