Plotly
Plotly is an interactive graphing library. Azure Databricks supports Plotly 2.0.7. To use Plotly, install the Plotly PyPI package and attach it to your cluster.
Note
Inside Azure Databricks notebooks we recommend using Plotly Offline. Plotly Offline may not perform well when handling large datasets. If you notice performance issues, you should reduce the size of your dataset.
To display a Plotly plot:
- Specify
output_type='div'
as an argument to the Plotlyplot()
function. - Pass the output of the
plot()
function to DatabricksdisplayHTML()
function.
Notebook example: Plotly
The following notebook shows a Plotly example.
Plotly Python notebook
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應