I am trying to use Seaborn objects and combine it with Matplotlib functionality to create a plot where I can add annotations etc.
But the beginnings are hard. Normally one uses ax=ax to tie a Seaborn plot to a figure, but hard to figure that out in Seaborn Objects.
Any help?
import matplotlib.pyplot as plt
import seaborn.objects as so
fig, ax = plt.subplots(figsize=(24, 8))
fig.suptitle('1 row x 2 columns axes with no data')
# Here Seaborn object - maybe add ax=ax:
(so.Plot(df, x="Year", y="Temperature").add(so.Bar(), so.Agg(), so.Dodge()))