Subsurface Syntax

Subsurface Syntax

How To Create Cyberpunk-Styled Seaborn Violin Plots with Minimal Python Code

A simple tutorial on how to enhance your Seaborn violin plots with ease

Andy McDonald's avatar
Andy McDonald
Jun 26, 2023
∙ Paid

A simple tutorial on how to enhance your Seaborn violin plots with ease

Cyberpunked seaborn violin plots showing density variations for different lithologies encountered within a well. Image by the author.

Violin plots are a common data visualisation that combines the power of a boxplot and a density plot into a single plot. This allows us to visualise more information within a single figure. For example, we can view the basic statistics from the boxplot, identify possible outliers, and view the distribution of that data. This can help us understand if the data is skewed or contains multi-modal distributions.

Within my latest series of articles, I have been exploring ways to improve and enhance basic matplotlib figures using various themes, including a cyberpunk style. This style provides a futuristic neon-like appearance to the plots and only requires a couple of lines of code to apply to matplotlib and seaborn figures.

If you want to learn more, you can see how I applied it to matplotli…

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