Welcome to our collection of tutorials on matplotlib We cover all the basics including plotting, widgets, event handling and everything else you wanted to know about matplotlib Matplotlib is a plotting library for the Python programming …


This is a collection of many, many attempts at tutorials. We have had similar on other sites, it was going to be an ebook or ebooks and it was also …

3D surface plots are valuable for visualizing threedimensional data and complex surfaces. They help to display data as a surface where the zaxis represents a third variable, while the x …

3D wireframe plots are useful for visualizing threedimensional surfaces as wire grids. Unlike surface plots, which display solid surfaces, wireframe plots show only the edges of the grid, allowing for …

3D contour plots are a powerful visualization tool to represent threedimensional data on a twodimensional surface. They show contours or “isosurfaces” that represent different levels of a variable (often a …

3D plotting is a powerful tool for visualizing threedimensional data and relationships. Matplotlib’s mplot3d toolkit provides several ways to create 3D plots, including line plots, scatter plots, surface plots, wireframe …

Violin plots are a powerful tool for visualizing the distribution of data. They are similar to box plots, but instead of displaying only summary statistics, violin plots also show the …

Box plots (or boxandwhisker plots) are useful for displaying the distribution of data based on a fivenumber summary: minimum, first quartile (Q1), median, third quartile (Q3), and maximum. They provide …

Contour plots are useful for visualizing threedimensional data on a twodimensional plane. They represent levels or “contours” that correspond to different heights or values of a variable. This makes contour …

Histograms are a powerful tool for visualizing the distribution of a dataset. They allow us to see the frequency of data points within specified ranges or bins, making them useful …

Pie charts are a common way to represent the composition of a whole divided into parts. They are useful for visualizing data in categories, showing proportions, and illustrating percentages. Matplotlib …