Yes, you can use the nbagg backend [1].<p>[1] <a href="http:&#x2F;&#x2F;matplotlib.org&#x2F;users&#x2F;whats_new.html#the-nbagg-backend" rel="nofollow">http:&#x2F;&#x2F;matplotlib.org&#x2F;users&#x2F;whats_new.html#the-nbagg-backend</a>