Drills tagged with this skill, unpassed first. Pass them all to mark the skill ready for scenarios.
make_grid(revenue, orders) that creates a 1×2 grid with plt.subplots(1, 2), plots revenue as a line in the left panel and orders as a line in the right panel, and returns both fig, axes.
Example. fig, axes = plt.subplots(1, 2) — then axes[0] is the left panel, axes[1] the right.
Notes. Return the pair: return fig, axes. One line per panel.make_dashboard(months, revenue, regions, region_sales) — a 1×2 grid with a revenue line in the left panel and one bar per region in the right panel. Return fig, axes.
Example. axes[0].plot(...) for the trend, axes[1].bar(...) for the regions.
Notes. Each panel has its own plotting methods — nothing is shared between them.make_titled_grid(revenue, orders) — a 1×2 grid, revenue line left titled exactly "Revenue", orders line right titled exactly "Orders". Return fig, axes.
Example. axes[0].set_title("Revenue") titles just the left panel.
Notes. Panel titles are set on each axes, not on the figure. Exact spelling matters here.