Subsurface Syntax

Subsurface Syntax

Seaborn Relplot in Python: Visualising Relationships in Data

Visualising Well Log Data Using Seaborn’s relplot

Andy McDonald's avatar
Andy McDonald
Jun 19, 2022
∙ Paid

Visualising Well Log Data Using Seaborn’s relplot

Photo by Shahadat Rahman on Unsplash

The Seaborn Relational Plot (relplot) allows us to visualise how variables within a dataset relate to each other. Data visualisation is an essential part of any data analysis or machine learning workflow. It allows to gain insights about our data. As the famous saying suggests, ‘a picture is worth a thousand words’.

Within this short tutorial we will see how to use the relplot function from Seaborn to visualise well log data on scatter plots and line plots.

Data Source

The data for this tutorial is sourced from the following GitHub repository and formed part of a Machine Learning competition aimed at predicting lithology from well log measurements.

Bormann P., Aursand P., Dilib F., Dischington P., Manral S. 2020. FORCE Machine Learning Competition. https://github.com/bolgebrygg/Force-2020-Machine-Learning-competition

Follow Along by Video

There is also a video version of this article on my YouTube channel, …

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