Subsurface Syntax

Subsurface Syntax

From Dull to Stunning: How Matplotx Can Improve Your Matplotlib Charts

Simplifying the process of creating stunning charts with Matplotx

Andy McDonald's avatar
Andy McDonald
Apr 03, 2023
∙ Paid

Simplifying the process of creating stunning charts with Matplotx

Example of a matplotlib scatter plot with the matplotx theming applied. Image by the author.

Matplotib is one of the most popular data visualisation libraries available within the Python world. However, over the years, it has gained a reputation for creating boring figures and being awkward to use.

As seen in my latest articles, converting the basic matplotlib charts to something visually appealing does require several lines of code. Don’t get me wrong; I enjoy using matplotlib due to it being highly customisable, but there are times when I just want a stylish plot without too much hassle.

This is where the matplox library comes in. Using two lines of code — an import statement and a with statement — we can instantly transform our basic matplotlib figure into something much more visually appealing.

The matplotx library provides an easy way to instantly stylise your matplotlib figures. The library has been around for a while.…

Keep reading with a 7-day free trial

Subscribe to Subsurface Syntax to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2026 Andy McDonald · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture