Skip to content

Scatter 3D save png produces an empty png file on Safari #4384

Closed
@EskelinenElias

Description

@EskelinenElias

Saving a scatter 3D plot as png produces a white, empty image on Safari (17.0).

Plotly.py version: 5.17.0

When viewing scatter 3d plot in Safari, the 'Download plot as a png' option produces an empty, white png file. On Chrome the feature works as expected.

Scatter 3D plot was produced using the following code:

`
import plotly.express as px
import numpy as np
import pandas as pd

datapoints = 100
x_data = np.random.uniform(0, 10, datapoints)
y_data = np.random.uniform(0, 10, datapoints)
z_data = np.random.uniform(0, 10, datapoints)
dataframe = pd.DataFrame(data = {'x':x_data, 'y':y_data, 'z': z_data})
figure = px.scatter_3d(dataframe, x='x', y='y', z='z')
figure.show()
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions