Skip to content
Python Pool
  • Blog
  • About Python Pool
  • Contact Us
  • Online Python Compiler
Python Pool
  • Blog
  • About Python Pool
  • Contact Us
  • Online Python Compiler

Matplotlib

Learn Matplotlib with tutorials for plots, labels, grids, colors, figures, legends, annotations, exports, and visualization examples in Python.

Matplotlib pcolormesh: X, Y, C Shapes and Shading

July 13, 2026January 13, 2021
Matplotlib pcolormesh QuadMesh grid with shading auto and colorbar

Use Matplotlib pcolormesh for 2D grids with correct X, Y, C dimensions, shading modes, colorbars, and uneven coordinate spacing.

Matplotlib tight_layout(): Fix Clipped Labels and Spacing

July 13, 2026December 19, 2020
Matplotlib tight_layout example fixing clipped labels and subplot spacing

Make Matplotlib subplot spacing deliberate with tight_layout(), then inspect the saved figure for labels, legends, titles, and annotations.

Clear a Matplotlib Plot: cla(), clf(), clear(), and close()

July 13, 2026December 18, 2020
clear plot matplotlib

Clear Matplotlib axes and figures with ax.clear(), fig.clear(), plt.cla(), plt.clf(), and plt.close() without leaking plot resources.

Matplotlib Grid Lines: Major, Minor, Styling, and axisbelow

July 13, 2026December 16, 2020
Matplotlib grid lines in Python using ax.grid major minor and axis options

Use Matplotlib grid lines to support reading values, with deliberate major or minor ticks, axis selection, styling, and layering.

Matplotlib Pie Chart: Percentages, Labels, Donuts, and Alternatives

July 13, 2026December 14, 2020
Matplotlib pie chart with labels percentages donut chart and nested pie options

Create readable Matplotlib pie charts with labels, percentages, explode, donut wedges, legends, equal aspect, and better chart alternatives.

Matplotlib Linestyle: Solid, Dashed, Dotted, and Custom Lines

July 13, 2026December 14, 2020
Matplotlib linestyle guide showing solid dashed dash-dot and dotted line styles

Use Matplotlib line patterns, weight, transparency, color, and markers together so plotted series remain clear after export and printing.

Matplotlib Boxplot: Customize Box and Whisker Plots

July 13, 2026December 14, 2020
Matplotlib boxplot guide showing box whisker plot customization with median outliers and colored boxes

Learn Matplotlib boxplot customization in Python, including labels, colors, notches, horizontal plots, whiskers, outliers, means, and figure sizing.

Matplotlib ylim(): Set and Read Y-Axis Limits

July 13, 2026December 11, 2020
Matplotlib ylim set_ylim get_ylim y-axis limits example

Use Matplotlib ylim to set y-axis limits, inspect current bounds, preserve automatic scaling, and avoid hiding data with restrictive chart ranges.

Matplotlib Log Scale: log, symlog, Ticks, and Positive Data

July 13, 2026December 9, 2020
Matplotlib log scale axes guide

Make Matplotlib log charts honest by matching the transform to the data domain and labeling the base, limits, ticks, and invalid values.

Matplotlib xticks: Set X-Axis Tick Positions

July 13, 2026December 9, 2020
Matplotlib xticks set x-axis labels rotation and tick frequency

Control Matplotlib x-axis tick positions, labels, rotation, intervals, date ticks, and locator behavior with clear Axes examples.

Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Page5 Next →

About us

Python Pool is a platform where you can learn and become an expert in every aspect of Python programming language as well as in AI, ML, and Data Science.

Quick Links

  • AI
  • Algorithm
  • Career
  • Comparison
  • Data Science
  • Error
  • How to
  • Learning
  • Machine Learning
  • Matplotlib
  • Module
  • News
  • Numpy
  • OpenCV
  • Pandas
  • Programs
  • Project
  • Questions
  • Review
  • Software
  • Tensorflow
  • Tutorials

Pages

  • About Python Pool
  • Contact Us
  • Cookies Policy
  • DMCA
  • Privacy Policy
© 2026 Python Pool
Next Page »