Plotly Express not rendering in Firefox but fine in Safari

Geophph
New Contributor III

Using a basic example of plotly express i see no output in firefox but is fine in Safari. Any ideas why this may occur?

 

 

import plotly.express as px
import pandas as pd

# Create a sample dataframe
df = pd.DataFrame({
'x': range(10),
'y': [2, 3, 5, 7, 11, 13, 17, 19, 23, 29]
})

# Create a scatter plot
fig = px.scatter(df, x='x', y='y', title='Sample Scatter Plot')

fig.show(renderer='databricks')