Customisation Options
stratapy offers a vast range of customisation options to suit needs of users from different fields, and of different level of coding familiarity. This section is split into multiple sections, to help you find what you are looking for quickly, including but not limited to:
Figure layout and sizing: Adjusting the overall figure dimensions, quality, and more
Legends and labels: Customising the appearance and content of legends and axes labels
Grain size: Customising the appearance of grain size logs, including brackets, labels, and values
Additional elements: Adding features such as chronostratigraphy, sample locations, and more to your logs
Customising graphics: Adjusting the appearance of lithological patterns, minerals, and features, and adding your own custom images
Advanced plotting: Creating multi-log figures, correlated logs, and bespoke figure layouts
Tip
Examples of all these customisation examples can be explored interactively in the accompanying Jupyter notebooks. The Gallery also includes a range of example logs and figures which can be copied and adapted.
Click on any of the cards below to access the relevant section of examples and explanations.
Control over legends
Customising axes labels
Customise grain size values, labels, and brackets
Figure dimensions, sizing, resolution, and more
For users wanting to create multiple logs within one figure, the Advanced Plotting section provides a comprehensive guide on the sp.correlated_logs() and sp.multi_log() functions which automate multi-figure graphics, with examples to help you get started.
Additionally, for those experienced using matplotlib, this section also includes guidance on how to create completely bespoke figure layouts, and how to integrate stratapy’s logs and functions to your own figure designs.
Quickly add advanced features like chronostratigraphy or sample locations to your logs
How to customise lithologies, minerals, and features in stratapy
Create multi-log figures, correlated logs, and bespoke layouts
Full details of all functions and their parameters
Note
Looking for a list of available lithologies, minerals, or features in stratapy? Available Assets