I am using the PySpark kernel installed through the Apache Toree in a Jupyter Notebook using Anaconda v4.0.0 ( Python 2.7.11 ). After retrieving the table from Hive use matplotlib/panda to plot in the Jupyter block, following the guide below:
%matplotlib inline import pandas as pd import numpy as np import matplotlib.pyplot as plt
I got stuck in the first link when trying to use% matplotlib inline which shows
Name: Error parsing magics! Message: Magics [matplotlib] do not exist! StackTrace:
Looking at Toree Magic and MagicManager , I realized that %matplotlib calls MagicManager instead of the iPython built-in magic command.
Is it possible for Apache Toree - PySpark use the iPython in-build magic command?
source share