“Plotting the HR Diagram with Python” by Shi Ye and Bonnie Weiberg

Edited by Kyle Thompson

This activity is intended to demonstrate to the students how to use an interactive Python program to plot the HR diagram (also known as the Hertzsprung–Russell, the temperature-luminosity diagram of stellar evolution), and also deepen their understandings of stellar evolution. The main tools of this activity are Python and Jupyter Notebook that allow students to interactively run a program and plot the animation of the Sun’s evolution and add their own stars to the plot.

This lesson is free to download for use in your classroom.
Click to download the lesson plan as a printable PDF or an editable Word Document.

Grade Level: 9-12
Difficulty Level: Intermediate
Skills and Topics: Astronomy, Computational Thinking, Modeling, Python, HR Diagram
Technical Needs: Computer, Python, Powerpoint