Skip to content

Commit 880cf37

Browse files
fix(pygal): update area-basic comments for clarity
- Add reference to spec in data comment - Clarify that area chart uses Line with fill=True This change ONLY modifies the area/ implementation without deleting the duplicate in line/ to avoid CI issues with deleted files being tested.
1 parent 6571a9f commit 880cf37

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plots/pygal/area/area-basic/default.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pygal.style import Style
88

99

10-
# Data
10+
# Data - monthly sales example from spec
1111
months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"]
1212
sales = [100, 150, 130, 180, 200, 220]
1313

@@ -29,7 +29,7 @@
2929
opacity_hover=0.7,
3030
)
3131

32-
# Create chart
32+
# Create area chart (Line chart with fill=True)
3333
chart = pygal.Line(
3434
width=4800,
3535
height=2700,

0 commit comments

Comments
 (0)