python可视化设置图片大小报错

/opt/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:5: UserWarning: Matplotlib is currently using module://ipykernel.pylab.backend_inline, which is a non-GUI backend, so cannot show the figure.
上面是报错信息

fig, ax = plt.subplots(1,2)
plt.figure(figsize=(20, 16))
sns.countplot(x = French_movie_genre_count, color = 'blue', ax = ax[0])
sns.countplot(x = non_French_movies_genre_count, color = 'green', ax=ax[1])
fig.show()

上面是代码
求解

好像没有引用tk库