Seaborn is a wrapper library for Matplitlib. Therefore, Matplotlib can erase the previous graph.
from matplotlib import pyplot as plt #Do this before drawing the graph and reset plt.clf()
Just add the above plt.clf ().
plt.clf ()
Recommended Posts