Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
471 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
An introduction to using matplotlib in Python to create charts Part four of a six-part series of blogs |
---|
If you want to create charts in Python, the chances are that you'll do it using the matplotlib module. This blog will get you started and explain some of its foibles!
|
In this blog
There are a bewildering number of chart types in matplotlib: far more than in Excel or Power BI Desktop, for example. This page shows the easiest way to learn how to use them.
The easiest way to reach the main matplotlib examples page is with a simple search:
This is the page you want!
You can then see examples of all of the chart types that you can create in matplotlib:
The first few line charts - you have a lot of scrolling to go!
The easiest way to see how to work with any chart is to hover your mouse over it:
First find the chart you want (I've gone for the Barcode chart, because it sounds so intriguing!).
Now hover over your chart:
You'll see a description of this chart.
Click on the image to see a fuller explanation, with an example:
Many charts including self-standing programs, which yoiu can run in isolation.
I tried copying this example code, having never created (or seen) a barcode chart in my life before, and the code worked immediatley, producing this:
Now I've established the principle I can look into customising this chart.
This page of examples is the best thing about matplotlib!
Parts of this blog |
---|
|
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2025. All Rights Reserved.