best-practice-and-impact/afcharts-py

Matplotlib two-line chart is too wide

Open

#191 opened on Jul 16, 2026

 (0 comments) (0 reactions) (0 assignees)Python (3 forks)auto 404
bugdocumentationgood first issue

Repository metrics

Stars
 (12 stars)
PR merge metrics
 (PR metrics pending)

Description

Bug description

Currently, the Line chart with duo palette Matplotlib chart in the cookbook is wider than the content panel. This means the "United Kingdom" line label is cut off even when the browser window is full screen.

Proposed solution

Reduce the figure width to fit the content panel. Adjust the height accordingly to maintain a similar aspect ratio.

Contributor guide