Figure size for publication
📖 Scenario: You are preparing a graph to include in a scientific paper. The journal requires figures to be exactly 6 inches wide and 4 inches tall for consistent formatting.
🎯 Goal: Create a matplotlib plot with the exact figure size required by the journal, then display a simple line plot.
📋 What You'll Learn
Create a figure with size 6 inches wide and 4 inches tall using matplotlib
Plot a simple line graph with points (1, 1), (2, 4), (3, 9)
Display the plot
💡 Why This Matters
🌍 Real World
Researchers and scientists often need to prepare figures that fit exact size requirements for journals or presentations.
💼 Career
Knowing how to control figure size and create clear plots is essential for data scientists and analysts who share visual results.
Progress0 / 4 steps