r/learnpython • • 18m ago

Any advice for plotting an Atomic orbital energy diagram?

The subreddit doesn't let me attach an image so this is a vague rendition of what it looks like.

|
|---- -√2 β
|
|
|--↑-- 0 β
|
|-↑--↓- √2 β

My current idea is using horizontal bar charts with matplotlib.pyplot, but it doesn't have an x-axis and I'm struggling to create the y axis.

2 Upvotes

0 comments sorted by