- 13282 Views
- 8 replies
- 8 kudos
I want to make a matplolib interactive (I can zoom in/out, etc.) in databricks. This is achieved in Jupyter notebook by the following code: %matplotlib notebookHow to achieve this in databricks?Thank you
- 13282 Views
- 8 replies
- 8 kudos
Latest Reply
Hi there, while facing a similar issue we switched to Altair python library and it works great with Databricks. (other options can be Bokeh or Plotly).
7 More Replies
by
Hunter
• New Contributor III
- 20361 Views
- 7 replies
- 6 kudos
I am creating plots in databricks using python and matplotlib. These look great in notebook and I can save them to the dbfs usingplt.savefig("/dbfs/FileStore/tables/[plot_name].png")I can then download the png files to my computer individually by pas...
- 20361 Views
- 7 replies
- 6 kudos
Latest Reply
Thanks everyone! I am already at a place where I can download a png to FileStore and use a url to download that file locally. What I was wondering was if there is some databricks function I can use to launch the url that references the png file and d...
6 More Replies
- 3598 Views
- 1 replies
- 3 kudos
How to execute matplotlib animations in a Databricks notebook?
- 3598 Views
- 1 replies
- 3 kudos
Latest Reply
Please refer to the below example code and , use displayHTML(ani.to_jshtml()) to execute matplotlib animations in a databricks notebookimport matplotlib.pyplot as plt
import matplotlib.animation
import numpy as np
t = np.linspace(0,2*np.pi)
x = np.si...
by
Rb29
• New Contributor
- 816 Views
- 0 replies
- 0 kudos
I am using a docker recipe for configuring my databricks cluster. It is working fine for everything else however when I tried to display any image data using any python utility such as matplotlib, PIL or Opencv etc. the image does not get displayed o...
- 816 Views
- 0 replies
- 0 kudos
- 11146 Views
- 4 replies
- 0 kudos
I am using Seaborn version 0.7.1 and matplotlib version 1.5.3
The following code does not display a graph in the end. Any idea how to resolve ? (works in Python CLI on my local computer)
import seaborn as sns
sns.set(style="darkgrid")
tips = sns.lo...
- 11146 Views
- 4 replies
- 0 kudos
Latest Reply
I found that you create a similar comparison plot as what you get from seaborn by using the display(sparkdf) and adding multiple columns to the 'Values' section while creating a 'Scatter plot'. You get to the 'Customize Plot' by clicking on the icon ...
3 More Replies