← All apps · Matplotlib tutorial

Matplotlib

Python editor with matplotlib already loaded. Press Ctrl+Enter to run, then plt.show() so the figure appears. New to matplotlib? Follow the tutorial and paste each exercise here.

Loading matplotlib…

Runs in your browser (Pyodide) — np and plt are preloaded. Always call plt.show(). Uploads persist after refresh. plt.savefig("fig.png") shows up on the file chips — click ↓ to download.

Python

Saved

Console

Plot

Matplotlib figures appear here after plt.show().