cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

VS code 2023

jamescw
New Contributor II

Do I need to save the data locally and run the plotting locally as well or does anyone have a smart solution to this

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @jamescw , 

- Databricks provides various ways to save and display charts generated with Plotly.
- One way is to save the chart as a JPG or PNG file on the driver node and display it in a notebook using the displayHTML() method.
- To do this, the Plotly chart is saved to the /databricks/driver/ directory on the driver node, and then the file is copied to DBFS.
- Another way is to use the Databricks extension to run a local Python file on a cluster in a remote workspace or run a local file or notebook as a job in a remote workspace.
- This involves sending the file to the remote workspace, running the code on the associated cluster, and sending the results to an editor in Visual Studio Code.
- The graphs generated by show() can also be saved as image or HTML files in the /FileStore of Databricks, which can be downloaded and opened in a browser.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group