Note
Go to the end to download the full example code.
Introduction to the plotting librairie
import spectrochempy as scp
The location of the spectrochempy_data can be found in preferences
Let’s read on of the dataset (in spg Omnnic format)
dataset = scp.read_omnic(datadir / "irdata" / "nh4y-activation.spg")
First we do a generic plot (with the default style):

plot generic style

check that style reinit to default should be identical to the first one

Multiple plots

plot multiple with style

check that style reinit to default

This ends the example ! The following line can be uncommented if no plot shows when running the .py script with python
# scp.show()
Total running time of the script: (0 minutes 1.033 seconds)