Plotly in Colab -> Data in charts gets blank after some time

When initially showed it looks like this:

After some time it looks like this:

When using code like this (this is one of charts showed):

    import plotly.express as px
    
    from plotly.offline import iplot
    
    for col in char_cols[5:]:
    
        fig = px.scatter(TRAIN[TRAIN['pojemność dysku (gb)'] < 5000].fillna(value='NaN'), 
                        x='taktowanie bazowe procesora (ghz)', 
                        y='pojemność dysku (gb)', 
                        color=col,
                        size='buynow_price')
        
        iplot(fig)

My version:4.4.1

Also, my understanding was that OFFLINE plot should be downableable to offline jupyter notebook. But then everything is blank: