Thanks Marius! This ended up working in python:
kernel.display().html(³some html²) On 11/2/16, 7:46 PM, "Marius van Niekerk" <[email protected]> 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 integration) sadly won't work. > >You can do it by calling the kernel.display methods afaik. >On Wed, Nov 2, 2016 at 15:22 <[email protected]> wrote: > >> 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: Process exited with an error: >>134 >> (Exit value: 134) >> 16/11/02 14:12:15 WARN MagicManager: Magic pyspark failed to execute >>with >> error: >> null was reset! >> res12: >> >>Either[org.apache.toree.magic.CellMagicOutput,org.apache.toree.magic.Line >>MagicOutput] >> = >> Left(Map(text/plain -> Magic pyspark failed to execute with error: >> null was reset!)) >> >> Is there a fix for this or some kind of work around? Otherwise, if you >>let >> me know what issue type, I can create an issue in Jira. >> >> Thanks, >> >> Ian >> >-- >regards >Marius van Niekerk
