Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 800 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 800 Bytes

Matplotlib style for 4Subsea

Official 4Subsea colors in Python - Matplotlib.

How to use it?

import matplotlib.pyplot as plt


# Default style - suitable for notebooks and reports
plt.style.use("https://github.com/4Subsea/mplstyle-4ss/blob/main/4subsea.mplstyle?raw=True")

# Presentation style - suitable for notebooks and reports
plt.style.use("https://github.com/4Subsea/mplstyle-4ss/blob/main/4subsea_presentation.mplstyle?raw=True")

# Presentation style w/more colors- suitable for notebooks and reports
plt.style.use("https://github.com/4Subsea/mplstyle-4ss/blob/main/4subsea_presentation_additional_colors.mplstyle?raw=True")

After applying the style, your matplotlib plots will have the 4Subsea colors :)

Tip: Change style to update all your plots for e.g. presentations.