Re: matplotlib in Toree

2016-11-07 Thread Ian.Maloney
I¹ve been having some issues with this logic. Once I get to sizable datasets (~ 40,000), it no longer works, while with smaller ones ~1000 it works. I¹m thinking the HTML becomes too much, since this works fine using seaborn/matplotlib alone: %%pyspark # seaborn stuff sns.set(style='darkgrid') s

Re: matplotlib in Toree

2016-11-07 Thread Ian.Maloney
Thanks Marius! This ended up working in python: kernel.display().html(³some html²) On 11/2/16, 7:46 PM, "Marius van Niekerk" wrote: >So matplotlib isn't very well supported at the moment. Toree's pyspark >kernel is not ipykernel -- so the magics that work with that (and >matplotlib int

Re: matplotlib in Toree

2016-11-02 Thread Marius van Niekerk
So matplotlib isn't very well supported at the moment. Toree's pyspark kernel is not ipykernel -- so the magics that work with that (and matplotlib integration) sadly won't work. You can do it by calling the kernel.display methods afaik. On Wed, Nov 2, 2016 at 15:22 wrote: > Hi, > > I just notic

matplotlib in Toree

2016-11-02 Thread Ian.Maloney
Hi, I just noticed that simple plots with matplotlib do not work in Toree. I get this error in the UI: Magic pyspark failed to execute with error: null was reset! In the logs I see: 16/11/02 14:12:15 ERROR PySparkProcessHandler: null process failed: org.apache.commons.exec.ExecuteException: