J'essaie de tracer quelque chose avec un grand nombre de points de données (2mm-3mm) en utilisant l'intrigue.plotly: énorme nombre de points de données
Quand je lance
py.iplot(fig, filename='test plot')
Je reçois l'erreur suivante:
Woah there! Look at all those points! Due to browser limitations, the Plotly SVG drawing functions have a hard time graphing more than 500k data points for line charts, or 40k points for other types of charts. Here are some suggestions:
(1) Use the `plotly.graph_objs.Scattergl` trace object to generate a WebGl graph.
(2) Trying using the image API to return an image instead of a graph URL
(3) Use matplotlib
(4) See if you can create your visualization with fewer data points
If the visualization you're using aggregates points (e.g., box plot, histogram, etc.) you can disregard this warning.
Alors j'essaie de le sauver avec ceci:
py.image.save_as(fig, 'my_plot.png')
Mais je reçois cette erreur :
PlotlyRequestError: Unknown Image Server Error
Comment procéder correctement? Je me fiche que ce soit une image fixe ou un affichage interactif dans mon cahier.
Quel type d'intrigue produisez-vous? Pour les diagrammes de dispersion, essayez d'utiliser 'scattergl'. –
En ce moment, en essayant de faire un tracé de densité. –