The solution of @jylls will work but not with svg. The right way to do it if you want to save as svg is this :
fig = plt.figure() s = plt.scatter([1, 2, 3], [4, 5, 6]) s.set_urls(['https://www.bbc.com/news', 'https://www.google.com/', None])