Editor

Plot Studio

Make a matplotlib chart from your numbers, then download it or copy the code.

Questions

Is the code real matplotlib?

Yes. The chart is drawn from exactly the code shown under it, so the same code gives the same chart in Jupyter, VS Code or a script.

How do I enter my own data?

Type or paste it into the Data box as comma-separated rows: the first row names the columns, the first column holds the labels (or x values) and each further column becomes a line, a set of bars or a group of points.

Can I use the chart in a report or slides?

Download it as PNG for documents and slides, or as SVG for print and design tools, where it stays sharp at any size.

How do I change something the form does not offer?

Press "Open in the editor" and change the code there: annotations, twin axes or any other matplotlib option.

Learn the library in matplotlib basics and choosing the right chart.