Run Matplotlib in Your Browser
Create Charts & Plots in Your Browser
Run Matplotlib code online and see plots rendered instantly. Create line charts, bar charts, histograms, scatter plots, and more — no installation needed.
main.py
Ln 1, Col 1Spaces: 4
Python 3.13 (Pyodide)Hit Run to see output here.
What You Get
Plots render inline
Subplots support
Multiple chart types
Export as PNG
Matplotlib Examples
Histogram
import matplotlib.pyplot as plt
import numpy as np
data = np.random.randn(1000)
plt.hist(data, bins=30, color='steelblue', edgecolor='white')
plt.title('Normal Distribution')
plt.xlabel('Value')
plt.ylabel('Frequency')
plt.show()