sst.plot¶
Plotting utilities for SST and ENSO trend visualizations.
make_corr_plot(joined)
¶
Visualize rolling SST and ENSO relationship from a joined dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
joined
|
DataFrame
|
Output of :func: |
required |
Returns:
| Type | Description |
|---|---|
Figure
|
Scatter plot figure showing the correlation between rolling SST and ENSO values. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Source code in src/sst/plot.py
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
make_trend_plot(df)
¶
Create a dual-axis plot for rolling SST and ENSO series.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
df
|
DataFrame
|
Joined data containing |
required |
Returns:
| Type | Description |
|---|---|
Figure
|
Figure object with SST on the primary axis and ENSO on a secondary axis. |
Source code in src/sst/plot.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | |