我有一张seaborn.regplot图,显示城市分数和城市热岛强度,显示散点图中的每个单独点,回归线显示95%置信区间。无论如何在95%置信区间的上限和下限获得UHI强度的数组或列表?
import pandas as pd
import seaborn as sns
import numpy as np
figure, ax = plt.subplots()
ax.set(xlim=(0, 100))
ax.text(70, 2.3, "r = %s"%(np.round(correlation, decimals=2)))
ax.text(70, 2.15, "p = %s"%(np.round(p_value, decimals=2)))
x, y = pd.Series(urban_fraction, name="Urban Fraction (%)"), pd.Series(Spring_Max, name='UHI Intensity ($^\circ$C)')
ax = sns.regplot(x=x, y=y, ci=95, marker="+")