"Edit Chart" doesn't show in interactive graphs

Hello all,

I’m plotting with plotly in PyCharm like this (not in a notebook, just a .py file):

from plotly.offline import plot    
import plotly.express as px


It nicely opens the figure in web browser. However, I don’t see any “Edit in Chart Studio” link on the bottom right. How can I make it show that?