Good day.
I can’t figure out ipywidgets.
It doesn’t work on pyspark cores (using sparkmagic==0.20.0).

In the browser logs I see the following message:
Uncaught (in promise) Language pyspark not supported yet!
What could be the reason?

I’m confused. Your post title and post text says ipywidgets. I just see matplotlib-related code in your image.

If indeed you are asking about getting plots to show up with pyspark…
I ran across a couple of posts about how the pyspark kernel needs some different incantations than python kernels for plots. See here and here.

Thanks a lot! It looks like the %%local construct solves the problem of displaying graphs in sparkmagics kernels with livy.
I’ll try to see if it suits me.

1 Like