플롯을 사용하여 엄청난 수의 데이터 포인트 (2mm-3mm)로 무언가를 그려보고 있습니다.플롯 : 엄청난 수의 데이터 포인트
나는 다음과 같은 오류 얻을
py.iplot(fig, filename='test plot')
실행하면 : 그럼
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.
내가이 그것을 저장하려고 :
py.image.save_as(fig, 'my_plot.png')
을하지만 나는이 오류 :
PlotlyRequestError: Unknown Image Server Error
어떻게하면 제대로 할 수 있습니까? 노트북의 정지 이미지 또는 대화 형 디스플레이인지는 중요하지 않습니다. 당신이 그것을 원한다면
어떤 종류의 플롯을 생성합니까? 분산 형 플롯의 경우 'scattergl'을 사용해보십시오. –
지금 바로 밀도 플롯을 수행하려고합니다. –